Skip to main content

Module validator

Module validator 

Source

Functions§

validate_input
Returns Err if data doesn’t satisfy operation_id’s input schema, for the given api_version.
validate_output
Returns Err if data doesn’t satisfy operation_id’s output schema — surfaces upstream API drift as a structured error rather than silently returning a mismatched response (architecture.md’s call pipeline). Validates against the given api_version’s schema.