From c4b7f3ce16e8b45eee1b58b0be434b462684ff72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Thu, 8 Jan 2026 12:35:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E7=B1=BB=E5=9E=8B=E6=9E=9A=E4=B8=BE=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- swagger.go | 2 ++ 1 file changed, 2 insertions(+) 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 )