Skip to main content

Crate oa_forge_parser

Crate oa_forge_parser 

Source

Re-exports§

pub use openapi::OpenApiSpec;

Modules§

openapi
resolver

Enums§

ParseError

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 $ref references. External $ref values like ./models.yaml#/components/schemas/Pet are loaded and their schemas are merged into the main spec’s components.schemas.