mirror of
https://github.com/go-task/task.git
synced 2025-07-17 01:43:07 +02:00
feat: updated schema.json
This commit is contained in:
22
docs/static/schema.json
vendored
22
docs/static/schema.json
vendored
@ -252,18 +252,34 @@
|
|||||||
"type": ["boolean", "integer", "null", "number", "string", "object", "array"]
|
"type": ["boolean", "integer", "null", "number", "string", "object", "array"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/3/dynamic_var"
|
"$ref": "#/definitions/3/var_subkey"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dynamic_var": {
|
"var_subkey": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"sh": {
|
"sh": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The value will be treated as a command and the output assigned"
|
"description": "The value will be treated as a command and the output assigned to the variable"
|
||||||
|
},
|
||||||
|
"ref": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The value will be used to lookup the value of another variable which will then be assigned to this variable"
|
||||||
|
},
|
||||||
|
"map": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "The value will be treated as a literal map type and stored in the variable"
|
||||||
|
},
|
||||||
|
"json": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The value will parsed as a JSON string and stored in the variable"
|
||||||
|
},
|
||||||
|
"yaml": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The value will parsed as a YAML string and stored in the variable"
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user