[BUG] [java][jersey2/3] clientBuilder gets overwritten after call to customizeClientBuilder (#16355)

* [java][jersey2/3] call customizeClientBuilder after default config init

* regenerate the samples
This commit is contained in:
Chris
2023-08-20 16:50:05 +02:00
committed by GitHub
parent a600ef0ded
commit 7f7717498f
11 changed files with 11 additions and 11 deletions

View File

@@ -1267,8 +1267,8 @@ public class ApiClient extends JavaTimeFormatter {
clientConfig = getDefaultClientConfig();
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
customizeClientBuilder(clientBuilder);
clientBuilder = clientBuilder.withConfig(clientConfig);
customizeClientBuilder(clientBuilder);
return clientBuilder.build();
}