修复URL注册BUG
This commit is contained in:
@ -10,18 +10,18 @@ package router
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
api_doc "git.zhangdeman.cn/gateway/api-doc"
|
||||
apiDoc "git.zhangdeman.cn/gateway/api-doc"
|
||||
"git.zhangdeman.cn/gateway/api-doc/define"
|
||||
)
|
||||
|
||||
func NewDoc(info *define.Info, servers []*define.ServerItem) *Doc {
|
||||
return &Doc{
|
||||
instance: api_doc.NewOpenapiDoc(info, servers),
|
||||
instance: apiDoc.NewOpenapiDoc(info, servers),
|
||||
}
|
||||
}
|
||||
|
||||
type Doc struct {
|
||||
instance *api_doc.Generate
|
||||
instance *apiDoc.Generate
|
||||
}
|
||||
|
||||
// Add 增加接口文档测试
|
||||
|
Reference in New Issue
Block a user