Skip to content

Commit 1339748

Browse files
committed
Fixed inconsist schema of openEO error responses: Field is now consistently named message instead of description.
1 parent 60afd31 commit 1339748

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3232
- Added missing required descriptions to process definitions.
3333
- Added missing error messages.
3434
- Fixed unclear specification for arrays used as process graph arguments.
35+
- Fixed inconsist schema of openEO error responses: Field is now consistently named `message` instead of `description`.
3536

3637
## [0.3.0] - 2018-09-21
3738
First version after proof of concept tackling many major issues. No changelog available.

openapi.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3398,7 +3398,7 @@
33983398
"description": "The code is either one of the standardized error codes or a custom error code with a number greater than 10000.",
33993399
"example": 123
34003400
},
3401-
"description": {
3401+
"message": {
34023402
"type": "string",
34033403
"description": "A message explaining what the client may need to change or what the server is struggling with. By default the message must be sent in English language. Content Negotiation is used to localize the error messages: If an Accept-Language header is sent by the client and a translation is available, the message should be translated accordingly and the Content-Language header must be present in the response.",
34043404
"example": "A sample error message."

0 commit comments

Comments
 (0)