Skip to content

Commit 9c57483

Browse files
committed
Fix schema union not generated for input/output
1 parent c5e309c commit 9c57483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-generator/src/main/java/io/serverlessworkflow/generator/AllAnyOneOfSchemaRule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public JType apply(
188188
throw new IllegalStateException(ex);
189189
}
190190
}
191-
schema.setJavaTypeIfEmpty(javaType);
191+
schema.setJavaType(javaType);
192192
}
193193
return javaType;
194194
}

0 commit comments

Comments
 (0)