forked from loafle/openapi-generator-original
fix for operation defination containing ref schema (#6676)
This commit is contained in:
+5
-1
@@ -3910,7 +3910,11 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
}
|
||||
} else {
|
||||
if (cp.complexType != null) {
|
||||
r.baseType = cp.complexType;
|
||||
if (cp.items != null) {
|
||||
r.baseType = cp.items.complexType;
|
||||
} else {
|
||||
r.baseType = cp.complexType;
|
||||
}
|
||||
r.isModel = true;
|
||||
} else {
|
||||
r.baseType = cp.baseType;
|
||||
|
||||
Reference in New Issue
Block a user