@@ -162,7 +162,7 @@ public class {{classname}} {
162162 { {> nullable_var_annotations} }
163163 { {{dataType} }} { {paramName} } = apiRequest.{ {paramName} }();
164164 { {/allParams} }
165- { {#returnType} }return { {/returnType} }{ {^returnType} }{ {#asyncNative} }return { {/asyncNative} }{ {/returnType} }{ {operationId} }({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }headers);
165+ { {#returnType} }return { {/returnType} }{ {^returnType} }{ {#asyncNative} }return { {/asyncNative} }{ {/returnType} }{ {operationId} }({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }headers);
166166 }
167167
168168 /**
@@ -208,7 +208,7 @@ public class {{classname}} {
208208 {{#allParams} }
209209 { {{dataType} }} { {paramName} } = apiRequest.{ {paramName} }();
210210 { {/allParams} }
211- return { {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }headers);
211+ return { {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }headers);
212212 }
213213
214214 { {/hasParams} }
@@ -270,9 +270,9 @@ public class {{classname}} {
270270 { {#isDeprecated} }
271271 @Deprecated
272272 { {/isDeprecated} }
273- public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }Map<String , String > headers) throws ApiException {
273+ public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }Map<String , String > headers) throws ApiException {
274274 {{^asyncNative} }
275- { {#returnType} }ApiResponse<{ {{.} }}> localVarResponse = { {/returnType} }{ {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }headers);
275+ { {#returnType} }ApiResponse<{ {{.} }}> localVarResponse = { {/returnType} }{ {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }headers);
276276 { {#returnType} }
277277 return localVarResponse.getData();
278278 { {/returnType} }
@@ -350,9 +350,9 @@ public class {{classname}} {
350350 { {#isDeprecated} }
351351 @Deprecated
352352 { {/isDeprecated} }
353- public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }Map<String , String > headers) throws ApiException {
353+ public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }Map<String , String > headers) throws ApiException {
354354 {{^asyncNative} }
355- HttpRequest.Builder localVarRequestBuilder = { {operationId} }RequestBuilder({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }headers);
355+ HttpRequest.Builder localVarRequestBuilder = { {operationId} }RequestBuilder({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }headers);
356356 try {
357357 HttpResponse< InputStream> localVarResponse = memberVarHttpClient.send(
358358 localVarRequestBuilder.build(),
@@ -434,7 +434,7 @@ public class {{classname}} {
434434 { {/asyncNative} }
435435 { {#asyncNative} }
436436 try {
437- HttpRequest.Builder localVarRequestBuilder = {{operationId} }RequestBuilder({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }headers);
437+ HttpRequest.Builder localVarRequestBuilder = {{operationId} }RequestBuilder({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }headers);
438438 return memberVarHttpClient.sendAsync(
439439 localVarRequestBuilder.build(),
440440 HttpResponse.BodyHandlers.ofString()).thenComposeAsync(localVarResponse -> {
@@ -471,7 +471,7 @@ public class {{classname}} {
471471 { {/asyncNative} }
472472 }
473473
474- private HttpRequest.Builder { {operationId} }RequestBuilder({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#allParams } }, { {/allParams } }Map<String , String > headers) throws ApiException {
474+ private HttpRequest.Builder { {operationId} }RequestBuilder({ {#allParams} }{ {> nullable_var_annotations} } { {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams } }, { {/hasParams } }Map<String , String > headers) throws ApiException {
475475 {{#allParams} }
476476 { {#required} }
477477 // verify the required parameter '{ {paramName} }' is set
0 commit comments