default and allowed-values not part of pipeline schema

Issue #808 new
Frederik Mann created an issue

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)

  1. Brian Shacklett

    I opened a rebased PR against the external-contributors branch. Credited to Frederik Mann

  2. Log in to comment