baiji v0.6.7 Baiji.Request.Validator

Validates an Operation struct by checking whether the input fields conform to the requirements of the shape specified by the Operation’s input_shape field.

Link to this section Summary

Functions

Check whether all required fields in the given input are present

Check the validity of an Operation

Validate that the form of the given input value conforms to the required shape specified

Link to this section Functions

Link to this function check_required_fields!(input, map, shapes, keys)

Check whether all required fields in the given input are present

Check the validity of an Operation

Link to this function validate!(input, shape, shapes, keys)

Validate that the form of the given input value conforms to the required shape specified