mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-23 02:29:17 +00:00
Adds flattener for ComposedModel
This commit is contained in:
@@ -179,6 +179,10 @@ public class InlineModelResolver {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (model instanceof ComposedModel) {
|
||||
ComposedModel m = (ComposedModel) model;
|
||||
Map<String, Property> properties = m.getChild().getProperties();
|
||||
flattenProperties(properties, modelName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user