Skip to content

Commit e00403e

Browse files
authored
Merge pull request #324 from swagger-api/issue-321
Issue 321
2 parents 1c6644a + 116653f commit e00403e

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)