打赏
摘要: Swagger接口文档 1.安装 swag $ go get -u github.com/swaggo/swag/cmd/swag 2.验证是否安装成功 $ swag -v 3.编写API注释 以官网文档为范例 // @Summary Add a new pet to the store // @D 阅读全文
posted @ 2020-12-16 10:40 苍山落暮 阅读(1469) 评论(0) 推荐(0)