mirror of
https://github.com/go-task/task.git
synced 2025-01-18 04:59:01 +02:00
feat: updated schema.json
This commit is contained in:
parent
b495a6bd0b
commit
bff0a0a3d4
22
docs/static/schema.json
vendored
22
docs/static/schema.json
vendored
@ -252,18 +252,34 @@
|
||||
"type": ["boolean", "integer", "null", "number", "string", "object", "array"]
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/3/dynamic_var"
|
||||
"$ref": "#/definitions/3/var_subkey"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"dynamic_var": {
|
||||
"var_subkey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"sh": {
|
||||
"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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user