Function rocket_okapi::swagger_ui::make_swagger_ui
source · [−]pub fn make_swagger_ui(config: &SwaggerUIConfig) -> impl Into<Vec<Route>>
Expand description
Transform the provided SwaggerUIConfig
into a list of Route
s that serve the swagger web ui.