Skip to content

Commit 1700e2f

Browse files
authored
For OAI#513, adjusting language and removing examples
For OAI#513, adjusting language and removing examples as suggested by @webron.
1 parent 0e18944 commit 1700e2f

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

versions/3.0.3.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3286,7 +3286,7 @@ Field Name | Type | Applies To | Description
32863286
<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.
32873287
<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.
32883288
<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 not required or not specified 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. The map MAY be empty.
32903290

32913291
This object MAY be extended with [Specification Extensions](#specificationExtensions).
32923292

@@ -3333,37 +3333,6 @@ flows:
33333333
read:pets: read your pets
33343334
```
33353335

3336-
###### OAuth Flows with Optional or Unspecified Scope
3337-
3338-
```JSON
3339-
{
3340-
"type": "oauth2",
3341-
"flows": {
3342-
"implicit": {
3343-
"authorizationUrl": "https://example.com/api/oauth/dialog",
3344-
"scopes": {}
3345-
},
3346-
"authorizationCode": {
3347-
"authorizationUrl": "https://example.com/api/oauth/dialog",
3348-
"tokenUrl": "https://example.com/api/oauth/token",
3349-
"scopes": {}
3350-
}
3351-
}
3352-
}
3353-
```
3354-
3355-
```yaml
3356-
type: oauth2
3357-
flows:
3358-
implicit:
3359-
authorizationUrl: https://example.com/api/oauth/dialog
3360-
scopes: {}
3361-
authorizationCode:
3362-
authorizationUrl: https://example.com/api/oauth/dialog
3363-
tokenUrl: https://example.com/api/oauth/token
3364-
scopes: {}
3365-
```
3366-
33673336
#### <a name="securityRequirementObject"></a>Security Requirement Object
33683337

33693338
Lists the required security schemes to execute this operation.

0 commit comments

Comments
 (0)