st2flow
st2flow copied to clipboard
Error on remove last task
If you delete the last task from a workflow it produces an error. This is likely linked to #203.
st2flow-model/schemas/orquesta.json:171 defines minProperties: 1 for tasks. I don't know how this schema was created -- it looks like a generated file -- but I don't know of a business reason why there must be at least one task when validating.
See https://github.com/StackStorm/st2flow/pull/220#issuecomment-461220144 and https://github.com/StackStorm/st2flow/pull/220#issuecomment-461869687