Skip to main content

Crate volga_open_api

Crate volga_open_api 

Source
Expand description

§Volga Open API Integration

OpenAPI 3.0 integration for the Volga web framework.

volga-open-api generates OpenAPI specifications directly from your routes, extractors, and responders - without macros, codegen, or runtime reflection.

It is fully optional and designed to stay out of your way.

Structs§

FieldConstraint
A constraint bound to the field it describes
OpenApiConfig
OpenAPI runtime configuration.
OpenApiDocument
Represents OpenAPI document.
OpenApiRegistry
OpenAPI runtime registry.
OpenApiRouteConfig
Per-route OpenAPI metadata.
OpenApiSchema
Represents OpenAPI schema.
OpenApiSpec
OpenAPI spec
UndescribedInput
A handler input an operation describes without its fields.

Enums§

ConstraintTarget
What an extractor describes, and therefore what its constraints apply to
InputKind
What a handler input is read into
SchemaConstraint
A constraint on a schema, named the way OpenAPI names it.

Traits§

IntoStatusCode
Converts a value into an HTTP status code.

Functions§

ui_html
Generates OpenAPI UI HTML.