Skip to content

Commit

Permalink
Update oauth2Flow.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Nov 8, 2023
1 parent b29cc80 commit 5eda720
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions definitions/3.0.0/oauth2Flow.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"type": "object",
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"authorizationUrl": {
"type": "string",
"format": "uri",
"description": "The authorization URL to be used for this flow. This MUST be in the form of an absolute URL."
},
"tokenUrl": {
"type": "string",
"format": "uri",
"description": "The token URL to be used for this flow. This MUST be in the form of an absolute URL."
},
"refreshUrl": {
"type": "string",
"format": "uri",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."
},
"availableScopes": {
"$ref": "http://asyncapi.com/definitions/3.0.0/oauth2Scopes.json",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it."
}
},
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
}
},
"example": {
"$ref": "http://asyncapi.com/examples/3.0.0/oauth2Flow.json"
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/oauth2Flow.json"
}
"type": "object",
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"authorizationUrl": {
"type": "string",
"format": "uri",
"description": "The authorization URL to be used for this flow. This MUST be in the form of an absolute URL."
},
"tokenUrl": {
"type": "string",
"format": "uri",
"description": "The token URL to be used for this flow. This MUST be in the form of an absolute URL."
},
"refreshUrl": {
"type": "string",
"format": "uri",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."
},
"availableScopes": {
"$ref": "http://asyncapi.com/definitions/3.0.0/oauth2Scopes.json",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it."
}
},
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
}
},
"example": {
"$ref": "http://asyncapi.com/examples/3.0.0/oauth2Flow.json"
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/oauth2Flow.json"
}

0 comments on commit 5eda720

Please sign in to comment.