1 Star 0 Fork 0

MinKo-U / keyauth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docs.go 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
MinKo-U 提交于 2022-11-20 16:27 . 修改
package swagger
import (
"gitee.com/MinKo-U/keyauth/version"
"github.com/go-openapi/spec"
)
func Docs(swo *spec.Swagger) {
swo.Info = &spec.Info{
InfoProps: spec.InfoProps{
Title: "BookService",
Description: "Resource for managing Books",
Contact: &spec.ContactInfo{
ContactInfoProps: spec.ContactInfoProps{
Name: "john",
Email: "john@doe.rp",
URL: "http://johndoe.org",
},
},
License: &spec.License{
LicenseProps: spec.LicenseProps{
Name: "MIT",
URL: "http://mit.org",
},
},
Version: version.Short(),
},
}
swo.Tags = []spec.Tag{
{TagProps: spec.TagProps{
Name: "books",
Description: "Managing books"},
},
}
}
1
https://gitee.com/MinKo-U/keyauth.git
git@gitee.com:MinKo-U/keyauth.git
MinKo-U
keyauth
keyauth
v1.4.0

搜索帮助