Skip to main content

swagger_html

Function swagger_html 

Source
fn swagger_html(spec_route: &str) -> Html<String>
Expand description

Serve custom Swagger UI with collapsed defaults, pointed at the given OpenAPI spec route.