Skip to content

Commit 3be911d

Browse files
authored
[Normalizer] add type information to an error message and fix #22743 (#22742)
1 parent c34d593 commit 3be911d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ protected Schema processNormalize31Spec(Schema schema, Set<Schema> visitedSchema
18541854
schema.addAnyOfItem(new BooleanSchema());
18551855
break;
18561856
default:
1857-
LOGGER.error("Type {} not yet supported in openapi-normalizer to process OpenAPI 3.1 spec with multiple types.");
1857+
LOGGER.error("Type {} not yet supported in openapi-normalizer to process OpenAPI 3.1 spec with multiple types.", String.valueOf(type));
18581858
LOGGER.error("Please report the issue via https://github.com/OpenAPITools/openapi-generator/issues/new/.");
18591859
}
18601860
}

0 commit comments

Comments
 (0)