Require root step by workflow schema
[MAILPOET-4629]
This commit is contained in:
@@ -18,7 +18,7 @@ class WorkflowSchema {
|
||||
|
||||
public static function getStepsSchema(): ObjectSchema {
|
||||
return Builder::object()
|
||||
->properties(['root' => self::getRootStepSchema()])
|
||||
->properties(['root' => self::getRootStepSchema()->required()])
|
||||
->additionalProperties(self::getStepSchema());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user