-
-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error messages in OpenAPI/Swagger / improve error messages from …
…failed webhooks and client timeouts (#3218)
- Loading branch information
Showing
39 changed files
with
488 additions
and
3,390 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
...andler=getCourierMessage-case=returns_an_error_if_no_message_is_found-endpoint=admin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
"{\"error\":{\"code\":404,\"status\":\"Not Found\",\"message\":\"Unable to locate the resource\"}}\n" | ||
{ | ||
"error": { | ||
"code": 404, | ||
"status": "Not Found", | ||
"message": "Unable to locate the resource" | ||
} | ||
} | ||
|
9 changes: 8 additions & 1 deletion
9
...ndler=getCourierMessage-case=returns_an_error_if_no_message_is_found-endpoint=public.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
"{\"error\":{\"code\":404,\"status\":\"Not Found\",\"message\":\"Unable to locate the resource\"}}\n" | ||
{ | ||
"error": { | ||
"code": 404, | ||
"status": "Not Found", | ||
"message": "Unable to locate the resource" | ||
} | ||
} | ||
|
9 changes: 8 additions & 1 deletion
9
...ler=getCourierMessage-case=returns_an_error_if_parameter_is_malformed-endpoint=admin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
"{\"error\":{\"code\":400,\"status\":\"Bad Request\",\"debug\":\"could not parse parameter {id} as UUID, got \",\"message\":\"uuid: incorrect UUID length 10 in string \\\"not-a-uuid\\\"\"}}\n" | ||
{ | ||
"error": { | ||
"code": 400, | ||
"status": "Bad Request", | ||
"message": "uuid: incorrect UUID length 10 in string \"not-a-uuid\"" | ||
} | ||
} | ||
|
9 changes: 8 additions & 1 deletion
9
...er=getCourierMessage-case=returns_an_error_if_parameter_is_malformed-endpoint=public.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
"{\"error\":{\"code\":400,\"status\":\"Bad Request\",\"debug\":\"could not parse parameter {id} as UUID, got \",\"message\":\"uuid: incorrect UUID length 10 in string \\\"not-a-uuid\\\"\"}}\n" | ||
{ | ||
"error": { | ||
"code": 400, | ||
"status": "Bad Request", | ||
"message": "uuid: incorrect UUID length 10 in string \"not-a-uuid\"" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.