Skip to main content

validate

Function validate 

Source
pub fn validate(value: &Value, schema: &Value, spec: &Value) -> Vec<Violation>
Expand description

Validate value against schema, resolving $refs through the spec’s components/schemas. Returns every violation found.