Expand description
OpenAPI 3.x and AsyncAPI 3.x spec parser.
Reads YAML/JSON specs, extracts paths, servers, and x-barbacane-*
vendor extensions. Auto-detects the format from root openapi or asyncapi field.
Re-exports§
pub use error::ParseError;pub use model::ApiSpec;pub use model::AsyncAction;pub use model::Channel;pub use model::ContentSchema;pub use model::DispatchConfig;pub use model::Message;pub use model::MiddlewareConfig;pub use model::Operation;pub use model::Parameter;pub use model::RequestBody;pub use model::ResponseContent;pub use model::SpecFormat;pub use parser::parse_spec;pub use parser::parse_spec_file;