eddycjy / go-gin-example

An example of gin
MIT License
6.84k stars 1.59k forks source link

can not find schema type: "v1.json" #113

Open Benjamin-UnderWood opened 4 years ago

Benjamin-UnderWood commented 4 years ago

按照教程操作swag init 出现错误 2020/06/24 17:39:18 Generate swagger docs.... 2020/06/24 17:39:18 Generate general API Info, search dir:./ 2020/06/24 17:39:18 ParseComment error in file routers/api/v1/tag.go :can not find schema type: "v1.json"

不知道怎么解决,仓库代码也没有注释。

leeminkan commented 4 years ago

Just remove them :)) image

adorkkk commented 4 years ago

我也遇到这个问题, 请问你解决了吗

MikelPan commented 3 years ago

出现一个swager 问题 ParseComment error in file routers/api/v1/tag.go :cannot find type definition: file

MikelPan commented 3 years ago

body修改为formData