baiji v0.6.0 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
Link to this section Functions
Link to this function
check_required_fields!(op, map, shapes)
Check whether all required fields in the given input are present
Link to this function
validate!(op)
Check the validity of an Operation