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
Did you manage to get this working @cwansart ? I have a similar use case but adding the @security header beneath my @securityDefinitions.apiKey ApiKeyAuth isn't working 🤔
Is your feature request related to a problem? Please describe.
Our API is always using authentication for all routes, so we want to use global security definition described in https://swagger.io/docs/specification/2-0/authentication/basic-authentication/
Describe the solution you'd like
I want to add
// @Security BasicAuth
somewhere central (beneath
// @securityDefinitions.basic BasicAuth
?)so that
gets added to the root resulting json/yaml file.
Describe alternatives you've considered
So far I had to add
// @Security BasicAuth
to every @router element.Additional context
Not much else to show I guess.
The text was updated successfully, but these errors were encountered: