package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 4, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Result holds all violations from validating a response against a spec.
Format produces a readable validation report.
HasErrors returns true if any violation is an error (not just warning).
Spec holds a parsed OpenAPI 3.0 specification.
LoadSpec reads an OpenAPI spec from a YAML or JSON file.
ValidateResponse checks a response body against the schema defined for
the given method, path, and status code in the spec.
Violation represents a single schema validation failure.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.