Allow nested predefined constants
This commit is contained in:
parent
20a68c5d9b
commit
aa2feca4b7
1 changed files with 9 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ properties:
|
|||
default: {}
|
||||
description: Extra constant variables that can be used in templates, centrally defined in this config
|
||||
additionalProperties:
|
||||
type: string
|
||||
"$ref": "#/definitions/stringonlyconst"
|
||||
templatefiles:
|
||||
type: array
|
||||
default: []
|
||||
|
|
@ -76,3 +76,11 @@ properties:
|
|||
required:
|
||||
- mainunit
|
||||
- mainunitfile
|
||||
definitions:
|
||||
stringonlyconst:
|
||||
description: Only string values but it can be defined using an object or nested objects
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: object
|
||||
additionalProperties:
|
||||
"$ref": "#/definitions/stringonlyconst"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue