Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple API keys supported with @Security decorator ? #51

Closed
GreGosPhaTos opened this issue Aug 14, 2018 · 5 comments
Closed

Multiple API keys supported with @Security decorator ? #51

GreGosPhaTos opened this issue Aug 14, 2018 · 5 comments
Labels

Comments

@GreGosPhaTos
Copy link

GreGosPhaTos commented Aug 14, 2018

Hello ! I have a quiet similiar question than here => swagger-api/swagger-codegen#5224 (comment)

And if I try to add more than one @Security() decorator at the method level I get an error "Only one Security decorator allowed in ... {method or className}".
Is there a way to add multiple apikeys in the swagger specs ?

@ngraef
Copy link
Collaborator

ngraef commented Aug 15, 2018

Support for multiple @Security decorators was added in 1dbf583, however there hasn't been a release since then. It will ship with the next release.

@GreGosPhaTos
Copy link
Author

Ok awesome !
Thanks @ngraef

@GreGosPhaTos
Copy link
Author

GreGosPhaTos commented Aug 15, 2018

@ngraef Any idea when this feature will be released ?

@thiagobustamante
Copy link
Owner

@GreGosPhaTos , It is published. Version 0.0.20

@GreGosPhaTos
Copy link
Author

Thanks guys !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants