diff --git a/swagger.go b/swagger.go index 658df26..e4392d3 100644 --- a/swagger.go +++ b/swagger.go @@ -71,4 +71,6 @@ const ( SwaggerUIThemeRedocFree SwaggerUITheme = "redoc-free" // redoc UI 主题, 开源免费版: https://github.com/Redocly/redoc SwaggerUIThemeElements SwaggerUITheme = "elements" // elements 主题, 开源免费版: https://github.com/stoplightio/elements SwaggerUIThemeSwaggerUI SwaggerUITheme = "swagger-ui" // swagger-ui 主题, 开源免费版: https://github.com/ostranme/swagger-ui-themes?tab=readme-ov-file + SwaggerUIThemeScalar SwaggerUITheme = "scalar" // scalar 主题, 开源免费版: https://github.com/scalar/scalar + SwaggerUIThemeRapiDoc SwaggerUITheme = "rapi-doc" // RapiDoc 主题, 开源免费版: https://github.com/rapi-doc/RapiDoc )