Top Level Namespace

Defined Under Namespace

Modules: Swagger

Constant Summary collapse

OAUTH2_PARAMS =

Workaround for Swagger::V2::SecurityScheme incorrectly specifying required fields. maxlinc is right: the Swagger specification is misleading. Fixed Fields suggests many parameters are required that are not required by Swagger’s official validator. Working around this by removing them from the array of required properties.

1

github.com/swagger-rb/swagger-rb/blob/v0.2.3/lib/swagger/v2/security_scheme.rb#L9-L11

2

swagger.io/specification/#securityDefinitionsObject

3

github.com/swagger-api/validator-badge

[:flow, :authorizationUrl, :scopes]