File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
generator/cybersource-java-template/libraries/okhttp-gson Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,6 @@ public class {{classname}} {
200200 */
201201 public { {#returnType} }{ {{returnType} }} { {/returnType} }{ {^returnType} }void { {/returnType} }{ {operationId} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} }) throws ApiException {
202202 logger.info(" CALL TO METHOD '{{operationId}}' STARTED" );
203- this.apiClient.setComputationStartTime(System.nanoTime());
204203 {{#returnType} }ApiResponse<{ {{returnType} }}> { {localVariablePrefix} }resp = { {/returnType} }{ {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} });
205204 { {#returnType} }
206205 logger.info("CALL TO METHOD '{ {operationId} }' ENDED");
@@ -215,6 +214,7 @@ public class {{classname}} {
215214 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
216215 */
217216 public ApiResponse<{ {#vendorExtensions.x-streaming} }InputStream{ {/vendorExtensions.x-streaming} }{ {^vendorExtensions.x-streaming} }{ {#returnType} }{ {{returnType} }}{ {/returnType} }{ {^returnType} }Void{ {/returnType} }{ {/vendorExtensions.x-streaming} }> { {operationId} }WithHttpInfo({ {#allParams} }{ {#useBeanValidation} }{ {> beanValidationQueryParams} }{ {/useBeanValidation} }{ {{dataType} }} { {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} }) throws ApiException {
217+ this.apiClient.setComputationStartTime(System.nanoTime());
218218 okhttp3.Call {{localVariablePrefix} }call = { {operationId} }ValidateBeforeCall({ {#allParams} }{ {paramName} }, { {/allParams} }null, null);
219219 { {#returnType} }Type { {localVariablePrefix} }localVarReturnType = new TypeToken<{ {{returnType} }}>(){ } .getType();
220220 return { {localVariablePrefix} }apiClient.execute({ {localVariablePrefix} }call, { {localVariablePrefix} }localVarReturnType);{ {/returnType} }{ {^returnType} }return { {localVariablePrefix} }apiClient.execute({ {localVariablePrefix} }call);{ {/returnType} }
You can’t perform that action at this time.
0 commit comments