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
When providing an OpenAPI 3 security scheme, like
openapi3 { server = 'https://myserver.com/api' title = 'My API' description = 'My api description' version = '0.5.0' format = 'yaml' oauth2SecuritySchemeDefinition = { flows = ['authorizationCode'] tokenUrl = 'https://myauthserver.com/oauth/token' authorizationUrl = 'https://myauthserver.com/authorize' } }
the securitySchemes is created correctly in the openapi3.yaml.
securitySchemes
openapi3.yaml
But to apply it to all endpoints, an additional (top-level) entry like
security: - oauth2: []
would be needed.
I did not find a way to create this entry.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When providing an OpenAPI 3 security scheme, like
the
securitySchemes
is created correctly in theopenapi3.yaml
.But to apply it to all endpoints, an additional (top-level) entry like
would be needed.
I did not find a way to create this entry.
The text was updated successfully, but these errors were encountered: