Skip to content

Commit

Permalink
Docs and examples need model name to be passed as baseType (#5944)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonpols authored and wing328 committed Jun 29, 2017
1 parent 407d728 commit 64df75d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2580,8 +2580,8 @@ public CodegenParameter fromParameter(Parameter param, Set<String> imports) {
name = typeMapping.get(name);
p.baseType = name;
} else {
p.baseType = name;
name = toModelName(name);
p.baseType = name;
if (defaultIncludes.contains(name)) {
imports.add(name);
}
Expand Down

0 comments on commit 64df75d

Please sign in to comment.