Skip to content

Commit

Permalink
chore: Updated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Sep 28, 2023
1 parent 9ca6fee commit b832cb0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion src/schemas/AuthorizationRequestPayloadVD11.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const AuthorizationRequestPayloadVD11SchemaObj = {
"type": "string"
},
"response_mode": {
"type": "string"
"$ref": "#/definitions/ResponseMode"
},
"request": {
"type": "string"
Expand Down Expand Up @@ -324,6 +324,15 @@ export const AuthorizationRequestPayloadVD11SchemaObj = {
],
"additionalProperties": false
},
"ResponseMode": {
"type": "string",
"enum": [
"fragment",
"form_post",
"post",
"query"
]
},
"ClaimPayloadCommon": {
"type": "object",
"additionalProperties": false
Expand Down
11 changes: 10 additions & 1 deletion src/schemas/AuthorizationRequestPayloadVID1.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const AuthorizationRequestPayloadVID1SchemaObj = {
"type": "string"
},
"response_mode": {
"type": "string"
"$ref": "#/definitions/ResponseMode"
},
"request": {
"type": "string"
Expand Down Expand Up @@ -296,6 +296,15 @@ export const AuthorizationRequestPayloadVID1SchemaObj = {
],
"additionalProperties": false
},
"ResponseMode": {
"type": "string",
"enum": [
"fragment",
"form_post",
"post",
"query"
]
},
"ClaimPayloadVID1": {
"type": "object",
"properties": {
Expand Down

0 comments on commit b832cb0

Please sign in to comment.