You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
components:
securitySchemes:
Bearer:
type: apiKeydescription: | Bearer scheme uses static perpetual token and is less secure. Token has a `write:domain` or `admin` permission associated with it. It determines whether you are authorized to invoke a particular operation or not.in: headername: AuthorizationOAuth2:
type: oauth2description: | OAuth2 scheme is a safer and more secure way to give you access with a short-lived token.flows:
clientCredentials:
tokenUrl: https://...../oauth2/tokenscopes:
'write:domain': Manage Services and Subscribers in your Domainadmin: Manage Services and Subscribers in all Domains
I would be nice to see what authorizations are available at the individual operation level (which either inherits from global security or operation level security
It does show up in the top right corner of the each operation but it doesn't contain scope information which could be overridden at the operation level by defining security attribute under responses. OAuth2 scopes add more details such as what permissions you need to have in order to invoke this operation. The top right corner just shows what security schemes are available.
Activity
mrin9 commentedon Jun 16, 2020
Not sure of what you are expecting in the UI.
I could see the scopes in the UI under the AUTHENTICATION section
https://mrin9.github.io/RapiDoc/examples/oauth.html#authentication
kamaydeo commentedon Jun 16, 2020
Have a look at

AUTHORIZATIONSsectionmrin9 commentedon Jun 17, 2020
thats not
scopesthose are thesecurityneeded by the operation and theseseucritymust be defined undersecurity-schemesfor more info refer to #200 on how RapiDoc shows them
kamaydeo commentedon Jun 17, 2020
I already have defined
securityandsecuritySchemes.and
I would be nice to see what authorizations are available at the individual operation level (which either inherits from global
securityor operation levelsecuritymrin9 commentedon Jun 17, 2020
they should be shown at operation level on top-right corner of each operation (if you have defined them properly)
kamaydeo commentedon Jun 17, 2020
It does show up in the top right corner of the each operation but it doesn't contain scope information which could be overridden at the operation level by defining
securityattribute under responses. OAuth2 scopes add more details such as what permissions you need to have in order to invoke this operation. The top right corner just shows what security schemes are available.rapi-doc#235 Display operation scopes if defined in security scheme