Let pipeline-compiler export step types (#1958)

This commit is contained in:
6543
2023-07-11 15:53:05 +02:00
committed by GitHub
parent fe7eb64bf9
commit b54f6ebad6
13 changed files with 100 additions and 32 deletions

View File

@@ -4004,11 +4004,31 @@ const docTemplate = `{
"state": {
"$ref": "#/definitions/StatusValue"
},
"type": {
"$ref": "#/definitions/StepType"
},
"uuid": {
"type": "string"
}
}
},
"StepType": {
"type": "string",
"enum": [
"clone",
"service",
"plugin",
"commands",
"cache"
],
"x-enum-varnames": [
"StepTypeClone",
"StepTypeService",
"StepTypePlugin",
"StepTypeCommands",
"StepTypeCache"
]
},
"Task": {
"type": "object",
"properties": {