upgrade: 优化部分代码, 部分内容待配置化
This commit is contained in:
21
enums/ui_theme.go
Normal file
21
enums/ui_theme.go
Normal file
@ -0,0 +1,21 @@
|
||||
// Package enums ...
|
||||
//
|
||||
// Description : enums ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2025-08-23 01:03
|
||||
package enums
|
||||
|
||||
type SwaggerUITheme string
|
||||
|
||||
func (sut SwaggerUITheme) String() string {
|
||||
return string(sut)
|
||||
}
|
||||
|
||||
const (
|
||||
SwaggerUIThemeDefault SwaggerUITheme = "swaggerUI" // 文档默认主题
|
||||
SwaggerUIThemeKnife4go SwaggerUITheme = "knife4go" // knife4go 主题
|
||||
SwaggerUIThemeYDocLucky SwaggerUITheme = "ydoc-lucky-ui" // YDoc Lucky UI 主题: https://github.com/NoBugBoy/LuckyUI
|
||||
SwaggerUIThemeRedocFree SwaggerUITheme = "redoc-free" // redoc UI 主题, 开源免费版: https://github.com/Redocly/redoc
|
||||
)
|
Reference in New Issue
Block a user