Skip to content

Commit 4e4f3a0

Browse files
authored
Merge pull request serverlessworkflow#469 from fjtirado/Fix_schema_union
Fix schema union not generated for input/output
2 parents c5e309c + 4fde10f commit 4e4f3a0

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)