Removed Scopes Object
MODIFY
versions/3.0.md
versions/3.0.md
@@ -60,7 +60,6 @@ Additional utilities can also take advantage of the resulting files, such as tes
- [Security Scheme Object](#securitySchemeObject)
- [OAuth Flows Object](#oauthFlowsObject)
- [OAuth Flow Object](#oauthFlowObject)
- - [Scopes Object](#scopesObject)
- [Security Requirement Object](#securityRequirementObject)
- [Specification Extensions](#specificationExtensions)
- [Security Filtering](#securityFiltering)
@@ -3388,7 +3387,7 @@ Field Name | Type | Validity | Description
<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.
<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.
<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.
-<a name="oauthFlowScopes"></a>scopes | [Scopes Object](#scopesObject) | `oauth2` | **Required.** The available scopes for the OAuth2 security scheme.
+<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.
This object can be extended with [Specification Extensions](#specificationExtensions).
@@ -3433,31 +3432,6 @@ flows:
read:pets: read your pets
```
-#### <a name="scopesObject"></a>Scopes Object
-
-Lists the available scopes for an OAuth2 security scheme.
-
-##### Patterned Fields
-
-Field Pattern | Type | Description
----|:---:|---
-<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).
-
-This object can be extended with [Specification Extensions](#specificationExtensions).
-
-##### Scopes Object Example
-
-```json
-{
- "write:pets": "modify pets in your account",
- "read:pets": "read your pets"
-}
-```
-
-```yaml
-write:pets: modify pets in your account
-read:pets: read your pets
-```
#### <a name="securityRequirementObject"></a>Security Requirement Object

Removed Scopes Object