Module spec

Source
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 transformer::SpecTransformer;
pub use validator::SpecValidator;

Modules§

transformer
validator

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

Type Aliases§

HttpMethodsIter
A helper type to iterate over all HTTP methods in a PathItem