Skip to content

Commit

Permalink
Add return type to Aurelia model imports swagger-api#5987
Browse files Browse the repository at this point in the history
  • Loading branch information
ksm2 committed Jul 7, 2017
1 parent 69148bf commit 0cc74a2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ public Map<String, Object> postProcessOperations(Map<String, Object> objs) {
modelImports.add(param.dataType);
}
}
if (op.returnBaseType != null && !op.returnTypeIsPrimitive) {
modelImports.add(op.returnBaseType);
}
}

objs.put("modelImports", modelImports);
Expand Down

0 comments on commit 0cc74a2

Please sign in to comment.