We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd2a9d commit 0efdfbdCopy full SHA for 0efdfbd
1 file changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/InlineModelResolver.java
@@ -695,7 +695,7 @@ private void flattenComponents() {
695
gatherInlineModels(model, modelName);
696
} else if (ModelUtils.isComposedSchema(model)) {
697
// composed Schema can have properties!
698
- if (model.getProperties() != null && !model.getProperties().isEmpty()) {
+ if (ModelUtils.hasProperties(model)) {
699
700
}
701
// inline child schemas
0 commit comments