Crate hypers_openapi
source ·Re-exports§
pub use rapidoc::RapiDoc;
pub use redoc::ReDoc;
pub use scalar::Scalar;
pub use status::StatusError;
pub use swagger_ui::Config;
pub use swagger_ui::OauthConfig;
pub use swagger_ui::SwaggerUi;
pub use swagger_ui::Url;
pub use hypers_openapi_macro;
pub use serde_json;
Modules§
- Implements OpenAPI Schema Object types which can be used to define field properties, enum values, array or object types.
- 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 Operation Object types.
- Implements OpenAPI Parameter Object 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§
- Implements OpenAPI Components Object which holds supported reusable objects.
- OpenAPI Contact information of the API.
- Content holds request body content or response content.
- OpenAPI Discriminator object which can be optionally used together with
OneOf
composite object. - Implements OpenAPI Example Object.
- Reference of external resource allowing extended documentation.
- Implements OpenAPI Header Object for response headers.
- OpenAPI Info object represents metadata of the API.
- OpenAPI License information of the API.
- Implements subset of OpenAPI Schema Object which allows adding other
Schema
s as properties to thisSchema
. - Root object of the OpenAPI document.
- Implements OpenAPI Operation Object object.
- Collection for save
Operation
s. - Implements OpenAPI Parameter Object for
Operation
. - Collection for OpenAPI Parameter Objects.
- Implements OpenAPI Path Item Object what describes
Operation
s available on a single path. - Implements OpenAPI Reference Object that can be used to reference reusable components such as
Schema
s orResponse
s. - Implements OpenAPI Request Body.
- Implements OpenAPI Response Object.
- Implements OpenAPI Responses Object.
- OpenAPI [security requirement][security] object.
- Represents target server object. It can be used to alter server connection for path operations.
- Implements [OpenAPI Server Variable][server_variable] used to substitute variables in
Server::url
. [server_variable]: https://spec.openapis.org/oas/latest.html#server-variable-object - Collection for
Server
objects. - Implements OpenAPI Tag Object.
- Implements OpenAPI Xml Object.
Enums§
- Value used to indicate whether reusable schema, parameter or operation is deprecated.
- Known schema format modifier property to provide fine detail of the primitive type.
- Represents available OpenAPI versions.
- In definition of
Parameter
. - Defines how
Parameter
should be serialized. - Path item operation type.
- A
Ref
or some other typeT
. - Value used to indicate whether parameter or property is required.
- Is super type for OpenAPI Schema Object. Schema is reusable resource what can be referenced from path operations and other components using
Ref
. - Additional format for
SchemaType
to fine tune the data type used. If the format is not supported by the UI it may default back toSchemaType
alone. Format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification. - Represents data type of
Schema
. - OpenAPI security scheme for path operations.
Traits§
- A trait for endpoint return type register.
- Trait for converting a type to
Array
.