From 1baa5fca45e43436e55c1dc29d81666a15bcc6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20C=C3=B4t=C3=A9?= Date: Sat, 23 Sep 2017 04:57:48 -0400 Subject: [PATCH] [Typescript-jQuery] Fix for issue #6505 (#6541) * Fix that prevented the default version to generate the model files * Add generated samples --- .../src/main/resources/typescript-jquery/api.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen/src/main/resources/typescript-jquery/api.mustache b/modules/swagger-codegen/src/main/resources/typescript-jquery/api.mustache index 5acab55f344..2191d52f965 100644 --- a/modules/swagger-codegen/src/main/resources/typescript-jquery/api.mustache +++ b/modules/swagger-codegen/src/main/resources/typescript-jquery/api.mustache @@ -103,7 +103,7 @@ export class {{classname}} { {{#formParams}} {{#isFile}} reqHasFile = true; - formParams = {{paramName}}; + formParams.append("{{baseName}}", {{paramName}}); {{/isFile}} {{^isFile}} {{#isListContainer}}