Skip to content

Commit

Permalink
updated api io wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
silvicir committed Jul 12, 2024
1 parent 481c83e commit 830567e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions api_io_wallet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ paths:
responses:
"204":
description: Wallet instance successfully created
"400":
$ref: "#/components/responses/BadRequest"
"403":
$ref: "#/components/responses/Forbidden"
"422":
$ref: "#/components/responses/UnprocessableContent"
"500":
Expand All @@ -57,6 +61,10 @@ paths:
application/jwt:
schema:
$ref: "#/components/schemas/WalletAttestationView"
"400":
$ref: "#/components/responses/BadRequest"
"403":
$ref: "#/components/responses/Forbidden"
"422":
$ref: "#/components/responses/UnprocessableContent"
"500":
Expand All @@ -70,13 +78,27 @@ components:
in: header

responses:
Forbidden:
description: The server understands the request but refuses to authorize it
content:
application/json:
schema:
$ref: "#/components/schemas/ProblemDetail"

UnprocessableContent:
description: Unprocessable Content
content:
application/json:
schema:
$ref: "#/components/schemas/ProblemDetail"

BadRequest:
description: Validation error
content:
application/json:
schema:
$ref: "#/components/schemas/ProblemDetail"

Unexpected:
description: Unexpected error
content:
Expand Down

0 comments on commit 830567e

Please sign in to comment.