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
Removed the provision for default scope represented as empty string. This introduces some ambiguities in the Security Requirement Object that would need to be addressed.
Copy file name to clipboardExpand all lines: versions/3.0.3.md
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -3286,13 +3286,13 @@ Field Name | Type | Applies To | Description
3286
3286
<a name="oauthFlowAuthorizationUrl"></a>authorizationUrl | `string` | `oauth2` (`"implicit"`, `"authorizationCode"`) | **REQUIRED**. The authorization URL to be used for this flow. This MUST be in the form of a URL.
3287
3287
<a name="oauthFlowTokenUrl"></a>tokenUrl | `string` | `oauth2` (`"password"`, `"clientCredentials"`, `"authorizationCode"`) | **REQUIRED**. The token URL to be used for this flow. This MUST be in the form of a URL.
3288
3288
<a name="oauthFlowRefreshUrl"></a>refreshUrl | `string` | `oauth2` | The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
3289
-
<a name="oauthFlowScopes"></a>scopes | Map[`string`, `string`] | `oauth2` | **REQUIRED**. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. If scope is optional, the map MAY include an entry with an empty string as its key to represent the default scope. If scope is not used in the authorization scheme, the map MAY be empty.
3289
+
<a name="oauthFlowScopes"></a>scopes | Map[`string`, `string`] | `oauth2` | **REQUIRED**. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. If scope is not required or not specified in the authorization scheme, the map MAY be empty.
3290
3290
3291
3291
This object MAY be extended with [Specification Extensions](#specificationExtensions).
3292
3292
3293
3293
##### OAuth Flow Object Examples
3294
3294
3295
-
###### OAuth Flows with Required Scope
3295
+
###### OAuth Flows with Defined Scopes
3296
3296
3297
3297
```JSON
3298
3298
{
@@ -3333,7 +3333,7 @@ flows:
3333
3333
read:pets: read your pets
3334
3334
```
3335
3335
3336
-
###### OAuth Flows with Unspecified and Optional Scope
3336
+
###### OAuth Flows with Optional or Unspecified Scope
0 commit comments