forked from loafle/openapi-generator-original
fixed container type
This commit is contained in:
parent
6f7a1bb7e3
commit
bffd43c8fc
@ -630,7 +630,7 @@ public class DefaultCodegen {
|
||||
op.defaultResponse = toDefaultValue(responseProperty);
|
||||
op.returnType = cm.datatype;
|
||||
if(cm.isContainer != null) {
|
||||
op.returnContainer = cm.complexType;
|
||||
op.returnContainer = cm.containerType;
|
||||
}
|
||||
else
|
||||
op.returnSimpleType = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user