OptionalderiveStop deriving from the router and describe only what routes declares.
Off by default, because deriving is the point.
OptionaldocsWhere the explorer is served (default /docs). Set to false to serve only the JSON.
OptionaldocumentA pre-built document, when the application assembles its own.
OptionalinfoDocument metadata (title, version, description).
OptionalroutesRoutes to describe by hand.
Rarely needed: the contract derives itself from the router. Anything declared here is added on top of what was derived, for an endpoint the router does not own.
OptionalsecurityThe security scheme name a protected route requires. Default 'bearerAuth'.
OptionalserversServer URLs to advertise. Omitted, the URL of the request that asked is used.
OptionalspecWhere the JSON document is served (default /openapi.json).
OptionalswaggerSwagger UI rendering options.
Options for the
@OpenApidecorator: thestone.openapibucket, every key optional.