fix(common): Make life easier for @joryirving by relaxing schema

This commit is contained in:
Bernd Schorgers 2024-03-13 21:10:37 +01:00
parent 43320eaa21
commit d6749abdfc
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@
"type": "object",
"additionalProperties": {
"anyOf": [
{"type": ["string", "number", "boolean"]},
{"type": ["string", "number", "boolean", "null"]},
{"$ref": "#/envValue"},
{"$ref": "#/envValueFrom"},
{"$ref": "#/envImplicitValueFrom"}
@ -172,7 +172,7 @@
"type": "string"
},
"value": {
"type": ["string", "number", "boolean"]
"type": ["string", "number", "boolean", "null"]
}
},
"required": ["name", "value"]
@ -183,7 +183,7 @@
"additionalProperties": false,
"properties": {
"value": {
"type": ["string", "number", "boolean"]
"type": ["string", "number", "boolean", "null"]
},
"dependsOn": {"$ref": "#/envDependsOn"}
},

View file

@ -2,14 +2,14 @@
"annotations": {
"type": ["object", "null"],
"additionalProperties": {
"type": ["string"]
"type": ["string", "null"]
}
},
"labels": {
"type": ["object", "null"],
"additionalProperties": {
"type": ["string"]
"type": ["string", "null"]
}
}
}