pub fn generate_index_html(
ui_path: &str,
api_doc_path: &str,
options: &SwaggerUiOptions,
) -> StringExpand description
生成 Swagger UI 主页 HTML
根据是否启用 swagger-ui-embedded feature,
自动选择从本地相对路径或 CDN 加载静态资源。
pub fn generate_index_html(
ui_path: &str,
api_doc_path: &str,
options: &SwaggerUiOptions,
) -> String生成 Swagger UI 主页 HTML
根据是否启用 swagger-ui-embedded feature,
自动选择从本地相对路径或 CDN 加载静态资源。