feat: enable_swagger config

This commit is contained in:
tx7do
2023-10-27 18:43:52 +08:00
parent d1dd6af5d3
commit 4cc1bb658a
2 changed files with 61 additions and 49 deletions

View File

@@ -22,6 +22,7 @@ message Server {
google.protobuf.Duration timeout = 3; // 超时时间
CORS cors = 4; // 服务监听地址
Middleware middleware = 5; // 中间件
bool enable_swagger = 6; // 启用SwaggerUI
}
// gPRC