Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions syntaxes/imljson/schemas/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
"type": {
"description": "An expression that specifies the error type.",
"$ref": "enums.json#/definitions/error-type"
},
"data": {
"description": "Custom data to pass through the error handling path."
},
"statusCode": {
"description": "HTTP status code or custom status code.",
"type": ["number", "string"]
},
Comment thread
SM0gMaker marked this conversation as resolved.
"headers": {
"description": "Response headers to pass through the error handling path."
}
Comment thread
SM0gMaker marked this conversation as resolved.
},
"patternProperties": {
Expand All @@ -83,6 +93,16 @@
"type": {
"description": "An expression that specifies the error type.",
"$ref": "enums.json#/definitions/error-type"
},
"data": {
"description": "Custom data to pass through the error handling path."
},
"statusCode": {
"description": "HTTP status code or custom status code.",
"type": ["number", "string"]
},
"headers": {
"description": "Response headers to pass through the error handling path."
}
},
"required": ["message"],
Expand Down
Loading