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

Add required scopes to generated OpenAPI documentation #52

Open
joshm91 opened this issue Aug 25, 2021 · 0 comments
Open

Add required scopes to generated OpenAPI documentation #52

joshm91 opened this issue Aug 25, 2021 · 0 comments

Comments

@joshm91
Copy link

joshm91 commented Aug 25, 2021

Hi, firstly, thanks for the great library!

I'm wondering if there's currently any way to allow for the required scopes that are defined in the route decorator to be populated into the OpenAPI documentation that gets generated?

I'm guessing since this library uses the HTTPBearer security scheme rather then OAuth2 that the answer is currently "no". If so, is this something you'd look to add in future? It seems like a pretty handy feature for the API documentation to detail what scopes are required to access certain endpoints.

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

No branches or pull requests

1 participant