Skip to content

Display scope for security schemes other than OAuth #482

Closed

Description

@lafrech

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.

Activity

  1. mrin9 commented on Aug 14, 2021

    @mrin9
    Collaborator

    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

  2. lafrech commented on Aug 16, 2021

    @lafrech
    Author

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

  3. lafrech commented on Sep 27, 2021

    @lafrech
    Author

    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.

  4. added a commit that references this issue on Apr 18, 2025
    5310710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions