Skip to content

Commit 9afe7cb

Browse files
authored
runtime-v2: set lowercase loop mode value in schema (#1122)
1 parent b322206 commit 9afe7cb

File tree

1 file changed

+1
-0
lines changed
  • runtime/v2/model/src/main/java/com/walmartlabs/concord/runtime/v2/schema

1 file changed

+1
-0
lines changed

runtime/v2/model/src/main/java/com/walmartlabs/concord/runtime/v2/schema/LoopMixIn.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public interface LoopMixIn {
3333
Object items();
3434

3535
@JsonProperty("mode")
36+
@JsonSchemaInject(json = "{\"enum\" : [\"serial\", \"parallel\"]}")
3637
Loop.Mode mode();
3738

3839
@JsonProperty("parallelism")

0 commit comments

Comments
 (0)