修复swagger无法生成文档
This commit is contained in:
1 parent
6fb7da87a3
commit
12893fc09d
31 files changed
+2032
-2442
No files matched your search
@@ -4,6 +4,18 @@ import (
|
||||
"go-admin/cmd"
|
||||
)
|
||||
|
||||
//go:generate swag init --parseDependency
|
||||
|
||||
// @title go-admin API
|
||||
// @version 1.3.1
|
||||
// @description 基于Gin + Vue + Element UI的前后端分离权限管理系统的接口文档
|
||||
// @description 添加qq群: 74520518 进入技术交流群 请备注,谢谢!
|
||||
// @license.name MIT
|
||||
// @license.url https://github.com/go-admin-team/go-admin/blob/master/LICENSE.md
|
||||
|
||||
// @securityDefinitions.apikey Bearer
|
||||
// @in header
|
||||
// @name Authorization
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
}
|
||||
Reference in new issue
Block a user