Crate swaggapi

Source

Modules§

as_responses
The AsResponses trait, its implementations and utilises for implementing it.
handler_argument
The HandlerArgument trait, its implementations and utilises for implementing it.
internals
Code which is considered implementation details but still publicly available and documented for the curious
re_exports
Reexports for macros and implementors
utils
Collections of some utilities

Structs§

ApiContext
An ApiContext combines several SwaggapiHandler under a common path.
PageOfEverything
An implicit SwaggapiPage which will always contain your entire api
SwaggapiPageBuilder
Builder used to configure an api page
SwaggerUi
Set of endpoints serving a Swagger UI and the actual openapi files

Traits§

SwaggapiPage
A page is a collection of api endpoints

Attribute Macros§

delete
Turns a function into a documented api handler
get
Turns a function into a documented api handler
handler
Turns a function into a documented api handler
head
Turns a function into a documented api handler
options
Turns a function into a documented api handler
patch
Turns a function into a documented api handler
post
Turns a function into a documented api handler
put
Turns a function into a documented api handler
trace
Turns a function into a documented api handler

Derive Macros§

SwaggapiPage
Derives SwaggapiPage for a unit struct