swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.49k stars 1.19k forks source link

How can i set generalInfo without cli argument? #1860

Closed changchanghwang closed 1 month ago

changchanghwang commented 1 month ago
swag init -g internal/router/router.go

I always type this for updating swagger docs.

how can i set with .swaggo or something else?

sdghchj commented 1 month ago

why not try makefile?

changchanghwang commented 1 month ago

yes it can be one of resolution. but I just want to know with .swaggo :) thanks for answer!