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

Display scope for security schemes other than OAuth #482

Closed
lafrech opened this issue Jun 1, 2021 · 3 comments
Closed

Display scope for security schemes other than OAuth #482

lafrech opened this issue Jun 1, 2021 · 3 comments

Comments

@lafrech
Copy link

lafrech commented Jun 1, 2021

Hi.

First of all, thanks for RapiDoc. It looks pretty neat and very promising. I discovered it yesterday and already added it to the REST API framework I maintain: https://github.com/marshmallow-code/flask-smorest and adopted it for our application.

AFAIU, OpenAPI 3.1.0 allows scopes to be defined for security schemes other than OAuth:

When I set {"BasicAuthentication": ["admin"]} in an endpoint, I expect "admin" to be displayed somewhere close to the "HTTP Basic" label, as in #422 but not for OAuth.

It doesn't seem to be the case so either I screwed up somewhere, either this is a feature request.

@mrin9
Copy link
Collaborator

mrin9 commented Aug 14, 2021

Is a feature thats missing, will add it to our queue.
We have comeback from a summer break and consolidating our work, so expect some delay gere

@lafrech
Copy link
Author

lafrech commented Aug 16, 2021

Good. I hope you had a great time. No rush. Thanks for RapiDoc.

@mrin9 mrin9 closed this as completed in 5310710 Sep 26, 2021
@lafrech
Copy link
Author

lafrech commented Sep 27, 2021

Hi, just tested it and it works like a charm.

I kinda wish it would appear without hovering but it's nice to have it already.

Thanks again for RapiDoc. Have a nice day.

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

2 participants