Skip to main contentCrate topcoat_openapi
Source pub use schemars;
- Document
- An OpenAPI document that describes the documented routes of a router.
- OpenApi
- The settings of an OpenAPI document, such as the API’s title and version.
- Operation
- Describes a route in the API document.
- Parameter
- A single request parameter: a path segment, a query key, a header, or a
cookie.
- SecurityScheme
- A way for clients to authenticate, such as a bearer token or an API key.
- Content
- A request or response body that an API document can describe.