Crate ohkami_openapi

Crate ohkami_openapi 

Source

Re-exports§

pub use schema::SchemaRef;
pub use security::SecurityScheme;
pub use request::Parameter;
pub use request::RequestBody;
pub use response::Response;
pub use response::Responses;
pub use response::Status;
pub use paths::Operation;

Modules§

document
paths
request
response
schema
security

Enums§

Inbound

Traits§

Schema
OpenAPI Schema trait

Functions§

all_of
allOf: [...{schemas}]
any_of
anyOf: [...{schemas}]
array
bool
type: boolean
component
handle the schema as a component schema named name. This is useful for reusing schemas in the OpenAPI document.
integer
type: integer
number
type: number
object
type: object
one_of
oneOf: [...{schemas}]
string
type: string