feat: 整合rapi-doc文档主题
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user