Expand description
Rust implementation of Openapi Spec V3.
Re-exports§
pub use self::content::Content;
pub use self::content::ContentBuilder;
pub use self::external_docs::ExternalDocs;
pub use self::header::Header;
pub use self::header::HeaderBuilder;
pub use self::info::Contact;
pub use self::info::ContactBuilder;
pub use self::info::Info;
pub use self::info::InfoBuilder;
pub use self::info::License;
pub use self::info::LicenseBuilder;
pub use self::path::PathItem;
pub use self::path::PathItemType;
pub use self::path::Paths;
pub use self::path::PathsBuilder;
pub use self::response::Response;
pub use self::response::ResponseBuilder;
pub use self::response::Responses;
pub use self::response::ResponsesBuilder;
pub use self::schema::AllOf;
pub use self::schema::AllOfBuilder;
pub use self::schema::Array;
pub use self::schema::ArrayBuilder;
pub use self::schema::Components;
pub use self::schema::ComponentsBuilder;
pub use self::schema::Discriminator;
pub use self::schema::KnownFormat;
pub use self::schema::Object;
pub use self::schema::ObjectBuilder;
pub use self::schema::OneOf;
pub use self::schema::OneOfBuilder;
pub use self::schema::Ref;
pub use self::schema::Schema;
pub use self::schema::SchemaFormat;
pub use self::schema::SchemaType;
pub use self::schema::ToArray;
pub use self::security::SecurityRequirement;
pub use self::server::Server;
pub use self::server::ServerBuilder;
pub use self::server::ServerVariable;
pub use self::server::ServerVariableBuilder;
pub use self::tag::Tag;
Modules§
- Implements content object for request body and response.
- Implements encoding object for content.
- Implements OpenAPI External Docs Object types.
- Implements OpenAPI Header Object types.
- Implements OpenAPI Metadata types.
- Implements OpenAPI Path Object types.
- Implements OpenAPI Request Body types.
- Implements OpenApi Responses.
- Implements OpenAPI Schema Object types which can be used to define field properties, enum values, array or object types.
- Implements OpenAPI Security Schema types.
- Implements OpenAPI Server Object types to configure target servers.
- Implements OpenAPI Tag Object types.
- Implements OpenAPI Xml Object types.
Structs§
- Root object of the OpenAPI document.
Enums§
- Value used to indicate whether reusable schema, parameter or operation is deprecated.
- Represents available OpenAPI versions.
- A
Ref
or some other typeT
. - Value used to indicate whether parameter or property is required.