mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
small update in formHeaders for body encoding type multipart/form-data
This commit is contained in:
@@ -825,6 +825,7 @@ module.exports = {
|
||||
if (encoding[key].headers[key].hasOwnProperty('$ref')) {
|
||||
encoding[key].headers[key] = getRefObject(encoding[key].headers[key].$ref);
|
||||
}
|
||||
encoding[key].headers[key].name = key;
|
||||
formHeaders.push(this.convertToPmHeader(encoding[key].headers[key]));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user