forked from loafle/openapi-generator-original
[JavaScript] Fix for issue #5358: Regression in 2.3 using multi
parameters (Cannot read property 'buildCollectionParam' of undefined) (#5362)
* Fix for issue #5358 * Update tests for #5358
This commit is contained in:
parent
2d0c8c4060
commit
0e65f649bc
@ -391,7 +391,7 @@
|
||||
}
|
||||
} else {
|
||||
// All other collection query parameters should be treated as ordinary query parameters.
|
||||
queryParams[key] = this.apiClient.buildCollectionParam(param.value, param.collectionFormat);
|
||||
queryParams[key] = this.buildCollectionParam(param.value, param.collectionFormat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -385,7 +385,7 @@
|
||||
}
|
||||
} else {
|
||||
// All other collection query parameters should be treated as ordinary query parameters.
|
||||
queryParams[key] = this.apiClient.buildCollectionParam(param.value, param.collectionFormat);
|
||||
queryParams[key] = this.buildCollectionParam(param.value, param.collectionFormat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -394,7 +394,7 @@
|
||||
}
|
||||
} else {
|
||||
// All other collection query parameters should be treated as ordinary query parameters.
|
||||
queryParams[key] = this.apiClient.buildCollectionParam(param.value, param.collectionFormat);
|
||||
queryParams[key] = this.buildCollectionParam(param.value, param.collectionFormat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user