Skip to content

Commit

Permalink
Add generated samples
Browse files Browse the repository at this point in the history
  • Loading branch information
JFCote committed Sep 21, 2017
1 parent 38253c1 commit 5b9eaec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class PetApi {
formParams.append('additionalMetadata', <any>additionalMetadata);
}
reqHasFile = true;
formParams.append("file", file);
formParams = file;
// to determine the Content-Type header
let consumes: string[] = [
'multipart/form-data'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class PetApi {
formParams.append('additionalMetadata', <any>additionalMetadata);
}
reqHasFile = true;
formParams.append("file", file);
formParams = file;
// to determine the Content-Type header
let consumes: string[] = [
'multipart/form-data'
Expand Down

0 comments on commit 5b9eaec

Please sign in to comment.