Skip to content

Commit 3711cfe

Browse files
committed
Removed Scopes Object
1 parent 702f44a commit 3711cfe

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

versions/3.0.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ Additional utilities can also take advantage of the resulting files, such as tes
6060
- [Security Scheme Object](#securitySchemeObject)
6161
- [OAuth Flows Object](#oauthFlowsObject)
6262
- [OAuth Flow Object](#oauthFlowObject)
63-
- [Scopes Object](#scopesObject)
6463
- [Security Requirement Object](#securityRequirementObject)
6564
- [Specification Extensions](#specificationExtensions)
6665
- [Security Filtering](#securityFiltering)
@@ -3388,7 +3387,7 @@ Field Name | Type | Validity | Description
33883387
<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.
33893388
<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.
33903389
<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.
3391-
<a name="oauthFlowScopes"></a>scopes | [Scopes Object](#scopesObject) | `oauth2` | **Required.** The available scopes for the OAuth2 security scheme.
3390+
<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.
33923391

33933392
This object can be extended with [Specification Extensions](#specificationExtensions).
33943393

@@ -3433,31 +3432,6 @@ flows:
34333432
read:pets: read your pets
34343433
```
34353434

3436-
#### <a name="scopesObject"></a>Scopes Object
3437-
3438-
Lists the available scopes for an OAuth2 security scheme.
3439-
3440-
##### Patterned Fields
3441-
3442-
Field Pattern | Type | Description
3443-
---|:---:|---
3444-
<a name="scopesName"></a>{name} | `string` | Maps between a name of a scope to a short description of it (as the value of the property).
3445-
3446-
This object can be extended with [Specification Extensions](#specificationExtensions).
3447-
3448-
##### Scopes Object Example
3449-
3450-
```json
3451-
{
3452-
"write:pets": "modify pets in your account",
3453-
"read:pets": "read your pets"
3454-
}
3455-
```
3456-
3457-
```yaml
3458-
write:pets: modify pets in your account
3459-
read:pets: read your pets
3460-
```
34613435

34623436
#### <a name="securityRequirementObject"></a>Security Requirement Object
34633437

0 commit comments

Comments
 (0)