@@ -114,7 +114,7 @@ public class {{classname}} {
114
114
{ {localVariablePrefix} }localVarHeaderParams.put("Content-Type", { {localVariablePrefix} }localVarContentType);
115
115
116
116
if(progressListener != null) {
117
- apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
117
+ {{localVariablePrefix } } apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
118
118
@Override
119
119
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
120
120
com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
@@ -237,7 +237,7 @@ public class {{classname}} {
237
237
{ {#isDeprecated} }
238
238
@Deprecated
239
239
{ {/isDeprecated} }
240
- public com.squareup.okhttp.Call { {operationId} }Async({ {#allParams} }{ {{dataType} }} { {paramName} }, { {/allParams} }final ApiCallback<{ {#returnType} }{ {{returnType} }}{ {/returnType} }{ {^returnType} }Void{ {/returnType} }> { {localVariablePrefix } } callback) throws ApiException {
240
+ public com.squareup.okhttp.Call { {operationId} }Async({ {#allParams} }{ {{dataType} }} { {paramName} }, { {/allParams} }final ApiCallback<{ {#returnType} }{ {{returnType} }}{ {/returnType} }{ {^returnType} }Void{ {/returnType} }> callback) throws ApiException {
241
241
242
242
ProgressResponseBody.ProgressListener progressListener = null;
243
243
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -260,9 +260,9 @@ public class {{classname}} {
260
260
261
261
com.squareup.okhttp.Call { {localVariablePrefix} }call = { {operationId} }ValidateBeforeCall({ {#allParams} }{ {paramName} }, { {/allParams} }progressListener, progressRequestListener);
262
262
{ {#returnType} }Type { {localVariablePrefix} }localVarReturnType = new TypeToken<{ {{returnType} }}>(){ } .getType();
263
- { {localVariablePrefix} }apiClient.executeAsync({ {localVariablePrefix} }call, { {localVariablePrefix} }localVarReturnType, { {localVariablePrefix } } callback);{ {/returnType} }{ {^returnType} }{ {localVariablePrefix} }apiClient.executeAsync({ {localVariablePrefix} }call, { {localVariablePrefix } } callback);{ {/returnType} }
263
+ { {localVariablePrefix} }apiClient.executeAsync({ {localVariablePrefix} }call, { {localVariablePrefix} }localVarReturnType, callback);{ {/returnType} }{ {^returnType} }{ {localVariablePrefix} }apiClient.executeAsync({ {localVariablePrefix} }call, callback);{ {/returnType} }
264
264
return { {localVariablePrefix} }call;
265
265
}
266
266
{ {/operation} }
267
267
}
268
- { {/operations} }
268
+ { {/operations} }
0 commit comments