mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
* fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled * fix #8755 updating samples
This commit is contained in:
parent
2525639875
commit
38b49e77af
@ -1229,10 +1229,8 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
@ -1143,10 +1143,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
@ -1143,10 +1143,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
@ -1063,10 +1063,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
@ -1008,10 +1008,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
@ -1227,10 +1227,8 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
* @return Client
|
||||
*/
|
||||
protected Client buildHttpClient() {
|
||||
// use the default client config if not yet initialized
|
||||
if (clientConfig == null) {
|
||||
// recreate the client config to pickup changes
|
||||
clientConfig = getDefaultClientConfig();
|
||||
}
|
||||
|
||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||
customizeClientBuilder(clientBuilder);
|
||||
|
Loading…
x
Reference in New Issue
Block a user