【发布时间】:2022-12-26 18:39:04
【问题描述】:
I'm trying to create my API documentation using go-swagger. The structure of my project:
In the cmd/main_api folder, I'm launching swag init. Swagger successfully pulls up the annotation from main.go, but does not pull up the annotation from internal (models, handlers). If I use swag init swag init --parseDependency=true then there is a panic:
How to make Swagger pull up an annotation from all project folders?
【问题讨论】:
标签: go swagger go-swagger