koddr/tutorial-go-fiber-rest-api

// @BasePath /api 如果放在Authorization之后,swag init 无法取到值,需要往前面放才能正确生成doc,不知道是为什么?swag v 1.8.8

pengbin8 opened this issue · 2 comments

// @title API
// @Version 1.0
// @basepath /api
// @description This is an auto-generated API Docs.
// @termsofservice http://swagger.io/terms/
// @contact.name API Support
// @contact.email your@mail.com
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization

func main() {
....
}

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template!

stale commented

👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.