replace all UriComponentsBuilder.fromHttpUrl() with UriComponentsBuilder.fromUriString() because UriComponentsBuilder.fromHttpUrl will be removed in the near future. (#20893)

This commit is contained in:
Yobyn Roetz
2025-03-16 09:04:04 +01:00
committed by GitHub
parent b1f572e116
commit 191eba4afa
23 changed files with 32 additions and 32 deletions

View File

@@ -636,7 +636,7 @@ public class ApiClient extends JavaTimeFormatter {
MediaType contentType, String[] authNames) {
updateParamsForAuth(authNames, queryParams, headerParams, cookieParams);
final UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(basePath).path(path);
final UriComponentsBuilder builder = UriComponentsBuilder.fromUriString(basePath).path(path);
String finalUri = builder.build(false).toUriString();
Map<String, Object> uriParams = new HashMap<>();