Skip to content

Commit

Permalink
Add scopes as required field of OAuth Flow Object
Browse files Browse the repository at this point in the history
This makes metaschema consistent with the 3.0.x spec.

Refs OAI#2666
  • Loading branch information
char0n committed Aug 10, 2021
1 parent d9ac75b commit e6b3e7a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions schemas/v3.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,8 @@
"PasswordOAuthFlow": {
"type": "object",
"required": [
"tokenUrl"
"tokenUrl",
"scopes"
],
"properties": {
"tokenUrl": {
Expand All @@ -1516,7 +1517,8 @@
"ClientCredentialsFlow": {
"type": "object",
"required": [
"tokenUrl"
"tokenUrl",
"scopes"
],
"properties": {
"tokenUrl": {
Expand Down Expand Up @@ -1544,7 +1546,8 @@
"type": "object",
"required": [
"authorizationUrl",
"tokenUrl"
"tokenUrl",
"scopes"
],
"properties": {
"authorizationUrl": {
Expand Down

0 comments on commit e6b3e7a

Please sign in to comment.