@@ -265,7 +265,7 @@ public class {{classname}} {
265265 public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }(API{ {#lambda.titlecase} }{ {operationId} }{ {/lambda.titlecase} }Request apiRequest, Map<String , String > headers) throws ApiException {
266266 {{#allParams} }
267267 { {> nullable_var_annotations} }{ {! prevent indent} }
268- { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} } = apiRequest.{ {paramName} }();
268+ { {> nullableDataType } } { {paramName} } = apiRequest.{ {paramName} }();
269269 { {/allParams} }
270270 { {#returnType} }return { {/returnType} }{ {^returnType} }{ {#asyncNative} }return { {/asyncNative} }{ {/returnType} }{ {operationId} }({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }headers);
271271 }
@@ -344,7 +344,7 @@ public class {{classname}} {
344344 { {#isDeprecated} }
345345 @Deprecated
346346 { {/isDeprecated} }
347- public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws ApiException {
347+ public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullableArgument } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws ApiException {
348348 {{#returnType} }return { {/returnType} }{ {^returnType} }{ {#asyncNative} }return { {/asyncNative} }{ {/returnType} }{ {operationId} }({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }null);
349349 }
350350
@@ -375,7 +375,7 @@ public class {{classname}} {
375375 { {#isDeprecated} }
376376 @Deprecated
377377 { {/isDeprecated} }
378- public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
378+ public { {#returnType} }{ {#asyncNative} }CompletableFuture<{ {{returnType} }}>{ {/asyncNative} }{ {^asyncNative} }{ {{returnType} }}{ {/asyncNative} }{ {/returnType} }{ {^returnType} }{ {#asyncNative} }CompletableFuture<Void >{ {/asyncNative} }{ {^asyncNative} }void{ {/asyncNative} }{ {/returnType} } { {operationId} }({ {#allParams} }{ {> nullableArgument } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
379379 {{^asyncNative} }
380380 { {#returnType} }ApiResponse<{ {{.} }}> localVarResponse = { {/returnType} }{ {operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }headers);
381381 { {#returnType} }
@@ -412,7 +412,7 @@ public class {{classname}} {
412412 { {#isDeprecated} }
413413 @Deprecated
414414 { {/isDeprecated} }
415- public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws ApiException {
415+ public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullableArgument } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws ApiException {
416416 return {{operationId} }WithHttpInfo({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }null);
417417 }
418418
@@ -436,7 +436,7 @@ public class {{classname}} {
436436 { {#isDeprecated} }
437437 @Deprecated
438438 { {/isDeprecated} }
439- public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
439+ public { {#asyncNative} }CompletableFuture<{ {/asyncNative} }ApiResponse<{ {{returnType} }}{ {^returnType} }Void{ {/returnType} }>{ {#asyncNative} }>{ {/asyncNative} } { {operationId} }WithHttpInfo({ {#allParams} }{ {> nullableArgument } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
440440 {{^asyncNative} }
441441 HttpRequest.Builder localVarRequestBuilder = { {operationId} }RequestBuilder({ {#allParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }headers);
442442 try {
@@ -626,7 +626,7 @@ public class {{classname}} {
626626 { {/asyncNative} }
627627 }
628628
629- private HttpRequest.Builder { {operationId} }RequestBuilder({ {#allParams} }{ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
629+ private HttpRequest.Builder { {operationId} }RequestBuilder({ {#allParams} }{ {> nullableArgument } } { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }{ {#hasParams} }, { {/hasParams} }Map<String , String > headers) throws ApiException {
630630 {{#allParams} }
631631 { {#required} }
632632 // verify the required parameter '{ {paramName} }' is set
@@ -907,11 +907,11 @@ public class {{classname}} {
907907 public static final class API{ {#lambda.titlecase} }{ {operationId} }{ {/lambda.titlecase} }Request {
908908 {{#requiredParams} }
909909 { {> nullable_var_annotations} }{ {! prevent indent} }
910- private { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }; // { {description} } (required)
910+ private{ { > nullableDataType } } { {paramName} }; // { {description} } (required)
911911 { {/requiredParams} }
912912 { {#optionalParams} }
913913 { {> nullable_var_annotations} }{ {! prevent indent} }
914- private { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }; // { {description} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} })
914+ private{ { > nullableDataType } } { {paramName} }; // { {description} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} })
915915 { {/optionalParams} }
916916
917917 private API{ {#lambda.titlecase} }{ {operationId} }{ {/lambda.titlecase} }Request(Builder builder) {
@@ -924,7 +924,7 @@ public class {{classname}} {
924924 }
925925 { {#allParams} }
926926 { {> nullable_var_annotations} }{ {! prevent indent} }
927- public { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }() {
927+ public{ { > nullableDataType } } { {paramName} }() {
928928 return {{paramName} };
929929 }
930930 { {/allParams} }
@@ -941,7 +941,7 @@ public class {{classname}} {
941941 { {/optionalParams} }
942942
943943 { {#allParams} }
944- public Builder { {paramName} }({ {> nullable_var_annotations } } { {#lambda.jSpecifyDatatype } } { {{dataType } }} { {/lambda.jSpecifyDatatype } } { {paramName} }) {
944+ public Builder { {paramName} }({ {> nullableArgument } } { {paramName} }) {
945945 this.{{paramName} } = { {paramName} };
946946 return this;
947947 }
0 commit comments