We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Scopes class seems to be a leftover from OpenAPI 2.0. The 3.0 specification does not have a Scopes object.
Scopes
OpenAPI 2.0: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#scopesObject OpenAPI 3.0: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauth-flow-object
In 3.0 scopes is a simple Map property of the OAuth Flow object. As a result it is not extensible and should be modeled as a simple map in MP+OAI.
scopes
OAuth Flow
The text was updated successfully, but these errors were encountered:
I agree - and there's a good example inside SecurityRequirement (following this part of the spec) on how to store a scope without needing a new class.
SecurityRequirement
Sorry, something went wrong.
This is fixed with PRs:
Feel free to reopen if you disagree.
No branches or pull requests
The
Scopes
class seems to be a leftover from OpenAPI 2.0. The 3.0 specification does not have aScopes
object.OpenAPI 2.0: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#scopesObject
OpenAPI 3.0: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauth-flow-object
In 3.0
scopes
is a simple Map property of theOAuth Flow
object. As a result it is not extensible and should be modeled as a simple map in MP+OAI.The text was updated successfully, but these errors were encountered: