We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe92a0 commit 2990dcbCopy full SHA for 2990dcb
openapi-to-har.js
@@ -227,8 +227,8 @@ const createHarParameterObjects = function (
227
}
228
229
const objects = [];
230
- style = style ?? getDefaultStyleForLocation(location);
231
- explode = explode ?? getDefaultExplodeForStyle(style);
+ style = (style !== null && style !== undefined) ? style : getDefaultStyleForLocation(location);
+ explode = (explode !== null && explode !== undefined) ? explode : getDefaultExplodeForStyle(style);
232
233
if (location === 'query' || location === 'cookie') {
234
const separator = getArrayElementSeparator(style);
0 commit comments