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 d0233f9 commit d0b6634Copy full SHA for d0b6634
modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/ApiClient.mustache
@@ -528,6 +528,7 @@ public class ApiClient {
528
529
final UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(basePath).path(path);
530
if (queryParams != null) {
531
+ //encode the query parameters in case they contain unsafe characters
532
for (List<String> values : queryParams.values()) {
533
if (values != null) {
534
for (int i = 0; i < values.size(); i++) {
0 commit comments