Skip to main content

redoc_html

Function redoc_html 

Source
pub fn redoc_html(spec_json: &str) -> String
Expand description

生成 Redoc HTML 页面(替代 Swagger UI 的轻量文档查看器)

§参数

  • spec_json:OpenAPI 规范 JSON 字符串