feat: openapi supoort

This commit is contained in:
engigu
2026-03-05 22:22:46 +08:00
parent 9fec4ecdb5
commit 863a298609
22 changed files with 1266 additions and 227 deletions
+1 -7
View File
@@ -30,10 +30,4 @@ table_prefix = baihu_
# 如果你手动设置了此项,它将覆盖数据库中的设置。
secret =
[swagger]
# 是否开启 Swagger API 文档 (开发测试建议开启,生产环境建议关闭或设置强密码)
enabled = true
# Swagger 文档 Basic Auth 账号
user = admin
# Swagger 文档 Basic Auth 密码
password = swagger_password