mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Correctly setting path variable descriptions
This commit is contained in:
@@ -1209,7 +1209,10 @@ module.exports = {
|
||||
query.value = (typeof query.value === 'object') ? JSON.stringify(query.value) : query.value;
|
||||
});
|
||||
|
||||
item.request.url.variables = this.convertPathVariables('param', pathVarArray, reqParams.path);
|
||||
item.request.url.variables.clear();
|
||||
item.request.url.variables.assimilate(this.convertPathVariables('param', pathVarArray, reqParams.path));
|
||||
// TODO: There is a bug in Postman that causes these request descriptions
|
||||
// to be converted as "object Object"
|
||||
|
||||
// adding headers to request from reqParam
|
||||
_.forEach(reqParams.header, (header) => {
|
||||
|
||||
Reference in New Issue
Block a user