You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run my app using go run main.go serve (i am using cobra cli framework) then the swagger.json is not update with the updated code (comments). I have to run swag init everytime.
The text was updated successfully, but these errors were encountered:
@KunalSin9h This is clearly outlined in the documentation. You could use any number of task runners to run the swagger generation before running the server.
When i run my app using
go run main.go serve
(i am using cobra cli framework) then the swagger.json is not update with the updated code (comments). I have to run swag init everytime.The text was updated successfully, but these errors were encountered: