Skip to content

Commit d0b6634

Browse files
committed
add comment
1 parent d0233f9 commit d0b6634

File tree

1 file changed

+1
-0
lines changed
  • modules/openapi-generator/src/main/resources/Java/libraries/resttemplate

1 file changed

+1
-0
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/ApiClient.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ public class ApiClient {
528528
529529
final UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(basePath).path(path);
530530
if (queryParams != null) {
531+
//encode the query parameters in case they contain unsafe characters
531532
for (List<String> values : queryParams.values()) {
532533
if (values != null) {
533534
for (int i = 0; i < values.size(); i++) {

0 commit comments

Comments
 (0)