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 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/engigu/baihu-panel/cmd"
"github.com/engigu/baihu-panel/internal/bootstrap"
"github.com/engigu/baihu-panel/internal/constant"
_ "github.com/engigu/baihu-panel/docs" // This will be generated by swag init
_ "github.com/engigu/baihu-panel/openapi_docs" // This will be generated by swag init
)
// @title Baihu Panel API