Merge pull request #5995 from vdemeester/x-objects

Allow `x-*` extension on 3rd level objects
This commit is contained in:
Joffrey F 2018-06-05 09:41:35 -07:00 committed by GitHub
commit 13d8cf413e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -346,6 +346,7 @@
"dependencies": { "dependencies": {
"memswap_limit": ["mem_limit"] "memswap_limit": ["mem_limit"]
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -409,6 +410,7 @@
"labels": {"$ref": "#/definitions/labels"}, "labels": {"$ref": "#/definitions/labels"},
"name": {"type": "string"} "name": {"type": "string"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -451,6 +453,7 @@
"labels": {"$ref": "#/definitions/labels"}, "labels": {"$ref": "#/definitions/labels"},
"name": {"type": "string"} "name": {"type": "string"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },

View File

@ -319,6 +319,7 @@
}, },
"working_dir": {"type": "string"} "working_dir": {"type": "string"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -489,6 +490,7 @@
"attachable": {"type": "boolean"}, "attachable": {"type": "boolean"},
"labels": {"$ref": "#/definitions/list_or_dict"} "labels": {"$ref": "#/definitions/list_or_dict"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -513,6 +515,7 @@
}, },
"labels": {"$ref": "#/definitions/list_or_dict"} "labels": {"$ref": "#/definitions/list_or_dict"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -530,6 +533,7 @@
}, },
"labels": {"$ref": "#/definitions/list_or_dict"} "labels": {"$ref": "#/definitions/list_or_dict"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },
@ -547,6 +551,7 @@
}, },
"labels": {"$ref": "#/definitions/list_or_dict"} "labels": {"$ref": "#/definitions/list_or_dict"}
}, },
"patternProperties": {"^x-": {}},
"additionalProperties": false "additionalProperties": false
}, },