Skip to content

Commit

Permalink
Add 502 Error code to OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Dec 16, 2024
1 parent 5c9f56d commit 16dc0d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions PW_OpenAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,16 @@ paths:
type: string
description: The error message.
example: "Internal Server Error"
"502":
description: "Bad Gateway."
content:
application/json:
schema:
properties:
message:
type: string
description: The error message.
example: "An invalid response was received from the upstream server"
"200":
description: Success
content:
Expand Down

0 comments on commit 16dc0d3

Please sign in to comment.