Skip to content

Commit

Permalink
remove 500/501 from error responses
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis committed Jun 11, 2024
1 parent 5651f8e commit 7ad9291
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 50 deletions.
40 changes: 0 additions & 40 deletions holder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ paths:
description: Gone! There is no data here
"418":
description: I'm a teapot - MUST not be returned outside of pre-arranged scenarios between both parties
"500":
description: Internal Error
"501":
description: Not Implemented
delete:
tags:
- Credentials
Expand All @@ -70,10 +66,6 @@ paths:
description: Credential not found
"410":
description: Gone! There is no data here
"500":
description: Internal Error
"501":
description: Not Implemented
/credentials:
get:
tags:
Expand Down Expand Up @@ -110,10 +102,6 @@ paths:
description: Not Authorized
"410":
description: Gone! There is no data here
"500":
description: Internal Error
"501":
description: Not Implemented
/credentials/derive:
post:
tags:
Expand All @@ -140,10 +128,6 @@ paths:
$ref: "#/components/schemas/DeriveCredentialResponse"
"400":
description: Invalid Request
"500":
description: Internal Error
"501":
description: Not Implemented

/presentations/{id}:
get:
Expand Down Expand Up @@ -174,10 +158,6 @@ paths:
description: Presentation not found
"410":
description: Gone! There is no data here
"500":
description: Internal Error
"501":
description: Not Implemented
delete:
tags:
- Presentations
Expand All @@ -200,10 +180,6 @@ paths:
description: Presentation not found
"410":
description: Gone! There is no data here
"500":
description: Internal Error
"501":
description: Not Implemented
/presentations:
get:
tags:
Expand Down Expand Up @@ -240,10 +216,6 @@ paths:
description: Not Authorized
"410":
description: Gone! There is no data here
"500":
description: Internal Error
"501":
description: Not Implemented
post:
summary: Creates a presentation and returns it in the response body.
tags:
Expand All @@ -269,8 +241,6 @@ paths:
$ref: "#/components/schemas/CreatePresentationResponse"
"400":
description: invalid input!
"500":
description: error!
/exchanges:
get:
summary: Provides a discovery endpoint for the exchanges supported by this server endpoint.
Expand Down Expand Up @@ -377,8 +347,6 @@ paths:
}
"400":
description: invalid input
"500" :
description: error

/exchanges/{exchange-id}:
post:
Expand Down Expand Up @@ -426,10 +394,6 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"501":
description: Service not implemented.
"500":
description: Internal server error.
/exchanges/{exchange-id}/{transaction-id}:
post:
summary: Receives information related to an existing exchange.
Expand Down Expand Up @@ -472,10 +436,6 @@ paths:
$ref: "#/components/schemas/ErrorResponse"
"404":
description: The associated exchange or transaction was not found.
"500":
description: Internal server error.
"501":
description: Service not implemented.

components:
securitySchemes:
Expand Down
4 changes: 0 additions & 4 deletions issuer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ paths:
The request could not be processed due to one of the following reasons:
- The provided value of 'issuer' does not match the expected configuration.
- Another condition that results in a Bad Request.
"500":
description: error!
/credentials/status:
post:
summary: Updates the status of an issued credential
Expand All @@ -68,8 +66,6 @@ paths:
description: Bad Request
"404":
description: Credential not found
"500":
description: Internal Server Error
components:
securitySchemes:
$ref: "./components/SecuritySchemes.yml#/components/securitySchemes"
Expand Down
6 changes: 0 additions & 6 deletions verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ paths:
$ref: "#/components/schemas/VerifyCredentialResponse"
"400":
description: invalid input!
"500":
description: error!
/presentations/verify:
post:
summary: Verifies a Presentation with or without proofs attached and returns a verificationResult in the response body.
Expand Down Expand Up @@ -73,8 +71,6 @@ paths:
description: Payload too large
"429":
description: Request rate limit exceeded.
"500":
description: Internal Server Error
/challenges:
post:
summary: Passing an empty body to this endpoint creates and returns a challenge string in the response body.
Expand All @@ -93,8 +89,6 @@ paths:
$ref: "#/components/schemas/CreateChallengeResponse"
"400":
description: Invalid or malformed input
"500":
description: Internal server error
components:
securitySchemes:
$ref: "./components/SecuritySchemes.yml#/components/securitySchemes"
Expand Down

0 comments on commit 7ad9291

Please sign in to comment.