Re-exports§
pub use openapi::OpenApiSpec;
Modules§
Enums§
Functions§
- parse
- Parse an OpenAPI spec from a YAML or JSON string. Swagger 2.0 specs are automatically converted to OpenAPI 3.0.
- parse_
file - Parse an OpenAPI spec from a file path, resolving cross-file
$refreferences. External$refvalues like./models.yaml#/components/schemas/Petare loaded and their schemas are merged into the main spec’scomponents.schemas.