Skip to main content

openapi_endpoint

Function openapi_endpoint 

Source
pub async fn openapi_endpoint(_request: Req) -> Response
Expand description

GET /openapi.json — the document, reading what boot rendered.

A 404 when nothing is bound, so an application with the feature off looks like one that has no such endpoint rather than one serving an empty document a client would try to use.