Skip to content

Commit

Permalink
fix for operation defination containing ref schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ngp-star authored and ngp-star committed Jun 21, 2020
1 parent 2460cfc commit 798bc64
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3909,7 +3909,11 @@ public CodegenResponse fromResponse(String responseCode, ApiResponse response) {
}
} 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;
Expand Down

0 comments on commit 798bc64

Please sign in to comment.