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

Support for Authorization and headerParams #2

Closed
EthanDavis opened this issue Apr 4, 2018 · 3 comments
Closed

Support for Authorization and headerParams #2

EthanDavis opened this issue Apr 4, 2018 · 3 comments

Comments

@EthanDavis
Copy link

EthanDavis commented Apr 4, 2018

I was wondering what the ETA on the support of routing controllers Authorization and header params was? I see that it's on the TODO at the bottom of the documentation but there isn't any indication of a timeline. BTW really love this library it's saved me so much time!

@epiphone
Copy link
Owner

epiphone commented Apr 5, 2018

Hi, there's not really any timeline to speak of, I was sort of hoping the TODOs would inspire a pull request or two... 😁 Glad you found the library useful!

@EthanDavis
Copy link
Author

Okay thank you!

epiphone pushed a commit that referenced this issue Jun 17, 2018
@epiphone
Copy link
Owner

Added support for header params in version 1.3.0.

As for authorization, it looks like parsing routing-controller's @Authorized decorator into an OpenAPI Security Scheme object is not feasible since the decorator only receives a single function as an argument - meaning there's nothing to infer the security scheme from. Feel free to open a PR if you find a solution!

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

No branches or pull requests

2 participants