mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Fixed issue where invalid deserialisation was happening for param style matrix
This commit is contained in:
@@ -2410,8 +2410,8 @@ module.exports = {
|
||||
// decide explodable params, starting value and separators between key-value and properties for serialisation
|
||||
switch (style) {
|
||||
case 'matrix':
|
||||
isExplodable = true;
|
||||
startValue = ';' + (paramSchema.type === 'object' ? '' : (paramName + _.isEmpty(paramValue) ? '' : '='));
|
||||
isExplodable = paramSchema.type === 'object' || explode;
|
||||
startValue = ';' + ((paramSchema.type === 'object' && explode) ? '' : (paramName + '='));
|
||||
propSeparator = explode ? ';' : ',';
|
||||
keyValueSeparator = explode ? '=' : ',';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user