Skip to main content

serve

Function serve 

Source
pub async fn serve(request: Request) -> Response
Expand description

Serves the document at a route such as /openapi.json, for the version in ?version=, or the latest. An unknown version is a 404.