Skip to main content

swagger_ui_html

Function swagger_ui_html 

Source
pub fn swagger_ui_html(config: &DocsConfig, openapi_url: &str) -> String
Expand description

Generate the Swagger UI HTML page.

ยงArguments

  • config - Documentation configuration
  • openapi_url - URL to the OpenAPI JSON specification