Skip to main content

validate_custom_checks

Function validate_custom_checks 

Source
pub fn validate_custom_checks(
    spec: &OpenAPI,
    custom_checks_file: &Path,
    base_path: Option<&str>,
) -> Result<Vec<RequestViolation>>
Expand description

Validate custom conformance checks against an OpenAPI spec.

Returns a list of violations (empty if all checks are valid).