forked from loafle/openapi-generator-original
* 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
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
@ -1143,10 +1143,8 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @return Client
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
@ -1143,10 +1143,8 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @return Client
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
@ -1063,10 +1063,8 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @return Client
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
@ -1008,10 +1008,8 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @return Client
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
@ -1227,10 +1227,8 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @return Client
|
* @return Client
|
||||||
*/
|
*/
|
||||||
protected Client buildHttpClient() {
|
protected Client buildHttpClient() {
|
||||||
// use the default client config if not yet initialized
|
// recreate the client config to pickup changes
|
||||||
if (clientConfig == null) {
|
clientConfig = getDefaultClientConfig();
|
||||||
clientConfig = getDefaultClientConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
|
||||||
customizeClientBuilder(clientBuilder);
|
customizeClientBuilder(clientBuilder);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user