forked from loafle/openapi-generator-original
Merge pull request #262 from xhh/patch-1
Fixes #260 convert form parameters to string for Java client
This commit is contained in:
commit
033a9a4b97
@ -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}}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user