Skip to content

Commit

Permalink
Merge pull request #262 from xhh/patch-1
Browse files Browse the repository at this point in the history
Fixes #260 convert form parameters to string for Java client
  • Loading branch information
fehguy committed Sep 20, 2014
2 parents 885e463 + 39662e4 commit 033a9a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/resources/Java/api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ public class {{classname}} {
postBody = mp;
}
else {
{{#formParams}}{{#notFile}}formParams.put("{{baseName}}", {{paramName}});{{/notFile}}
{{#formParams}}
{{#notFile}}
formParams.put("{{baseName}}", String.valueOf({{paramName}}));
{{/notFile}}
{{/formParams}}
}

Expand Down

0 comments on commit 033a9a4

Please sign in to comment.