Skip to content

Commit 9844726

Browse files
committed
identified composed schema as objects in order to fix issue.
1 parent 151d887 commit 9844726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3984,7 +3984,7 @@ else if (Parameter.StyleEnum.SPACEDELIMITED.equals(parameter.getStyle())) {
39843984
}
39853985

39863986
private boolean isObjectSchema (Schema schema) {
3987-
if (schema instanceof ObjectSchema) {
3987+
if (schema instanceof ObjectSchema ||schema instanceof ComposedSchema) {
39883988
return true;
39893989
}
39903990
if (SchemaTypeUtil.OBJECT_TYPE.equals(schema.getType()) && !(schema instanceof MapSchema)) {

0 commit comments

Comments
 (0)