put main API annotation in v1 preferably in a main.go , cd to that folder and generate the docs.
put the main annotation in a file you like and adjust swag cli params to specify where to find it.
You can find all the avail params by running swag init -h
I am using chi router in my go project, and inside main go I have routes for my base version and my v1 version.
The handlers for these endpoints are separated in my folder like project/ controllers/ v1/ base/ main.go
How can i generate docs for example just for my v1 handlers? Thank you in advance