Skip to content

Commit 1baa5fc

Browse files
JFCotewing328
authored andcommitted
[Typescript-jQuery] Fix for issue #6505 (#6541)
* Fix that prevented the default version to generate the model files * Add generated samples
1 parent 16678b8 commit 1baa5fc

File tree

1 file changed

+1
-1
lines changed
  • modules/swagger-codegen/src/main/resources/typescript-jquery

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/typescript-jquery/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class {{classname}} {
103103
{{#formParams}}
104104
{{#isFile}}
105105
reqHasFile = true;
106-
formParams = {{paramName}};
106+
formParams.append("{{baseName}}", {{paramName}});
107107
{{/isFile}}
108108
{{^isFile}}
109109
{{#isListContainer}}

0 commit comments

Comments
 (0)