Update marathon-group-schema.json
$ python --version
Python 2.7.9
The validation did not work with "properties": {}. I got either this:
Error: missing required property 'key'.
Error: missing required property 'value'.
Or this:
Error: Additional properties are not allowed ('key' was unexpected)
Error: Additional properties are not allowed ('value' was unexpected)
This commit is contained in:
@@ -62,7 +62,14 @@
|
||||
"parameters": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {},
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"key",
|
||||
"value"
|
||||
|
||||
Reference in New Issue
Block a user