Update api.mustache

This commit is contained in:
Tony Tam 2014-08-11 08:58:45 -07:00
parent 454ec4b438
commit a626dea181

View File

@ -71,7 +71,7 @@ public class {{classname}} {
{{#formParams}} {{#formParams}}
{{#notFile}} {{#notFile}}
hasFields = true; hasFields = true;
mp.field("{{baseName}}", "{{paramName}}", MediaType.MULTIPART_FORM_DATA_TYPE); mp.field("{{baseName}}", {{paramName}}, MediaType.MULTIPART_FORM_DATA_TYPE);
{{/notFile}} {{/notFile}}
{{#isFile}} {{#isFile}}
hasFields = true; hasFields = true;