Skip to content

Commit 8a48073

Browse files
committed
fix: faulty type spec for untyped objects
1 parent 4c08ff8 commit 8a48073

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ElixirClientCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ private void buildTypespec(CodegenProperty property, StringBuilder sb) {
875875
if (property == null) {
876876
LOGGER.error(
877877
"CodegenProperty cannot be null. Please report the issue to https://github.com/openapitools/openapi-generator with the spec");
878+
sb.append("any()");
878879
} else if (property.isArray) {
879880
sb.append("list(");
880881
buildTypespec(property.items, sb);

0 commit comments

Comments
 (0)