Skip to content

Display scope for security schemes other than OAuth #482

@lafrech

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.

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