Description
The Security Scheme Object lists the Scopes Object as required. However, the OAuth 2.0 specification for the Access Token Scope allows the client to omit the scope parameter, as long as a default behavior is specified:
If the client omits the scope parameter when requesting authorization, the authorization server MUST either process the request using a pre-defined default value or fail the request indicating an invalid scope. The authorization server SHOULD document its scope requirements and default value (if defined).
In other places in the spec, the scope parameter is explicitly stated as optional.
Does this mean that the Scopes Object should be optional too? Or allowed to be empty?
I'm wondering because I'm implementing an API with the Implicit grant flow where there's only one scope. Since there's just the one, I didn't want to have to declare it explicitly.