default and allowed-values not part of pipeline schema
Issue #808
new
Example:
Suggested change as I could not open a PR (the type should be any instead of string, as booleans and numbers also work, but I didn’t know how to do it):
"variables": {
"type": "array",
"description": "List of variables for the custom pipeline",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of a variable for the custom pipeline",
"minLength": 1
},
"default": {
"type": "string",
"description": "Default value of allowed values for the custom pipeline",
"minLength": 1
},
"allowed-values": {
"description": "Allowed values for the custom pipeline",
"type": "array",
"items": {
"type": "string",
"description": "Allowed value for the custom pipeline",
"minLength": 1
}
}
},
"additionalProperties": false
},
"minItems": 1
}
Comments (6)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter -
I opened a rebased PR against the
external-contributors
branch. Credited to Frederik Mann
- Log in to comment
With suggested changes it would look like this: