Expand description
OpenAPI specification validation and transformation module
This module separates the concerns of validating and transforming OpenAPI specifications
into distinct, testable components following the Single Responsibility Principle.
Re-exports§
pub use parser::parse_openapi;pub use transformer::SpecTransformer;pub use validator::SpecValidator;
Modules§
Constants§
- MAX_
REFERENCE_ DEPTH - Maximum depth for resolving parameter references to prevent stack overflow
Functions§
- http_
methods_ iter - Creates an iterator over all HTTP methods and their operations in a
PathItem - resolve_
parameter_ reference - Resolves a parameter reference to its actual parameter definition
- resolve_
schema_ reference - Resolves a schema reference to its actual schema definition
Type Aliases§
- Http
Methods Iter - A helper type to iterate over all HTTP methods in a
PathItem