swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.66k stars 266 forks source link

Update ReadMe #291

Closed fuddin95 closed 6 months ago

fuddin95 commented 7 months ago

No operations defined in spec!

About the PR

Swag cannot generate docs when main.go is located in a directory. Plainly running swag init will not parse subfolder for example ./internal or ./pkg directories

This simple update to ReadMe will resolve the following:

Related issues

73

23

64

241

ubogdan commented 6 months ago

@fuddin95 Thanks for your contribution.