Prevent mixing of error values

pull/2099/head
Paul Pfeister 4 weeks ago
parent 4b2f8ad2d0
commit cc0b57c0af

@ -18,7 +18,7 @@
"request_payload": { "type": "object" }, "request_payload": { "type": "object" },
"__comment__": { "__comment__": {
"type": "string", "type": "string",
"description": "Used to clarify important target information if (and only if) a commit message would not suffice.\nThis key should not be parsed anywhere within Sherlock.", "description": "Used to clarify important target information if (and only if) a commit message would not suffice.\nThis key should not be parsed anywhere within Sherlock."
}, },
"tags": { "tags": {
"oneOf": [ "oneOf": [
@ -58,6 +58,17 @@
"errorUrl": { "type": "string" }, "errorUrl": { "type": "string" },
"response_url": { "type": "string" } "response_url": { "type": "string" }
}, },
"dependencies": {
"errorMsg": {
"properties" : { "errorType": { "const": "message" } }
},
"errorUrl": {
"properties": { "errorType": { "const": "response_url" } }
},
"errorCode": {
"properties": { "errorType": { "const": "status_code" } }
}
},
"additionalProperties": false "additionalProperties": false
} }
} }

Loading…
Cancel
Save