Using swag (from swaggo) to generating Swagger/OpenAPI documentation in your Go project

Install swag CLI tool (Only first time / Update Version) Add swag tag/annotation to your Go code There are 2 locations Note: you can use AI to help generate swag tag/annotation to your Go code. My prompt “I want you…


