We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38253c1 commit 5b9eaecCopy full SHA for 5b9eaec
2 files changed
samples/client/petstore/typescript-jquery/default/api/PetApi.ts
@@ -514,7 +514,7 @@ export class PetApi {
514
formParams.append('additionalMetadata', <any>additionalMetadata);
515
}
516
reqHasFile = true;
517
- formParams.append("file", file);
+ formParams = file;
518
// to determine the Content-Type header
519
let consumes: string[] = [
520
'multipart/form-data'
samples/client/petstore/typescript-jquery/npm/api/PetApi.ts
0 commit comments