feat: 整合rapi-doc文档主题

This commit is contained in:
2026-01-08 14:23:36 +08:00
parent 90a2d139eb
commit c002091197
6 changed files with 3951 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ func TestNewServer(t *testing.T) {
s := NewServer(9087, WithRateLimitInstance(rate_limit.MemoryClient), WithDocConfig(&DocConfig{
Enable: true,
UiTheme: consts.SwaggerUIThemeRedocFree.String(),
UiTheme: consts.SwaggerUIThemeRapiDoc.String(),
BaseUri: "",
Flag: "test-server",
ServerList: &openapi3.Servers{