Skip to content

Commit 871c2ba

Browse files
committed
Fix missing declaration.
1 parent 66ea3e1 commit 871c2ba

File tree

16 files changed

+32
-16
lines changed
  • modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson
  • samples/client
    • echo_api/java
      • okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client
      • okhttp-gson/src/main/java/org/openapitools/client
    • others/java
      • okhttp-gson-oneOf-array/src/main/java/org/openapitools/client
      • okhttp-gson-oneOf/src/main/java/org/openapitools/client
      • okhttp-gson-streaming/src/main/java/org/openapitools/client
    • petstore/java
      • okhttp-gson-3.1-duplicated-operationid/src/main/java/org/openapitools/client
      • okhttp-gson-3.1/src/main/java/org/openapitools/client
      • okhttp-gson-awsv4signature/src/main/java/org/openapitools/client
      • okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client
      • okhttp-gson-group-parameter/src/main/java/org/openapitools/client
      • okhttp-gson-nullable-required/src/main/java/org/openapitools/client
      • okhttp-gson-parcelableModel/src/main/java/org/openapitools/client
      • okhttp-gson-swagger1/src/main/java/org/openapitools/client
      • okhttp-gson-swagger2/src/main/java/org/openapitools/client
      • okhttp-gson/src/main/java/org/openapitools/client

16 files changed

+32
-16
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ public class ApiClient {
120120
protected InputStream sslCaCert;
121121
protected boolean verifyingSsl;
122122
protected KeyManager[] keyManagers;
123-
123+
protected String tlsServerName;
124+
124125
protected OkHttpClient httpClient;
125126
protected JSON json;
126127

samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public class ApiClient {
9191
protected InputStream sslCaCert;
9292
protected boolean verifyingSsl;
9393
protected KeyManager[] keyManagers;
94-
94+
protected String tlsServerName;
95+
9596
protected OkHttpClient httpClient;
9697
protected JSON json;
9798

samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public class ApiClient {
8686
protected InputStream sslCaCert;
8787
protected boolean verifyingSsl;
8888
protected KeyManager[] keyManagers;
89-
89+
protected String tlsServerName;
90+
9091
protected OkHttpClient httpClient;
9192
protected JSON json;
9293

samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public class ApiClient {
8686
protected InputStream sslCaCert;
8787
protected boolean verifyingSsl;
8888
protected KeyManager[] keyManagers;
89-
89+
protected String tlsServerName;
90+
9091
protected OkHttpClient httpClient;
9192
protected JSON json;
9293

samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public class ApiClient {
8686
protected InputStream sslCaCert;
8787
protected boolean verifyingSsl;
8888
protected KeyManager[] keyManagers;
89-
89+
protected String tlsServerName;
90+
9091
protected OkHttpClient httpClient;
9192
protected JSON json;
9293

samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public class ApiClient {
8686
protected InputStream sslCaCert;
8787
protected boolean verifyingSsl;
8888
protected KeyManager[] keyManagers;
89-
89+
protected String tlsServerName;
90+
9091
protected OkHttpClient httpClient;
9192
protected JSON json;
9293

samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public class ApiClient {
9191
protected InputStream sslCaCert;
9292
protected boolean verifyingSsl;
9393
protected KeyManager[] keyManagers;
94-
94+
protected String tlsServerName;
95+
9596
protected OkHttpClient httpClient;
9697
protected JSON json;
9798

samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public class ApiClient {
9191
protected InputStream sslCaCert;
9292
protected boolean verifyingSsl;
9393
protected KeyManager[] keyManagers;
94-
94+
protected String tlsServerName;
95+
9596
protected OkHttpClient httpClient;
9697
protected JSON json;
9798

samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ public class ApiClient {
9292
protected InputStream sslCaCert;
9393
protected boolean verifyingSsl;
9494
protected KeyManager[] keyManagers;
95-
95+
protected String tlsServerName;
96+
9697
protected OkHttpClient httpClient;
9798
protected JSON json;
9899

samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ public class ApiClient {
9797
protected InputStream sslCaCert;
9898
protected boolean verifyingSsl;
9999
protected KeyManager[] keyManagers;
100-
100+
protected String tlsServerName;
101+
101102
protected OkHttpClient httpClient;
102103
protected JSON json;
103104

0 commit comments

Comments
 (0)