Issue 20804: Add java nullability annotations (#20806)

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.
This commit is contained in:
Nicolas Vervelle 2025-03-25 16:01:17 +01:00 committed by GitHub
parent d81b5a37d1
commit 8ca3543436
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
228 changed files with 4520 additions and 4421 deletions

View File

@ -61,7 +61,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}}{{#required}} {{#allParams}}{{#required}}
// verify the required parameter '{{paramName}}' is set // verify the required parameter '{{paramName}}' is set

View File

@ -62,7 +62,7 @@ public class {{classname}} extends BaseApi {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#returnType}}return {{/returnType}}this.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}Collections.emptyMap()); {{#returnType}}return {{/returnType}}this.{{operationId}}({{#allParams}}{{paramName}}, {{/allParams}}Collections.emptyMap());
} }
@ -89,7 +89,7 @@ public class {{classname}} extends BaseApi {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Map<String, String> additionalHeaders) throws ApiException { public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}}{{#required}} {{#allParams}}{{#required}}
// verify the required parameter '{{paramName}}' is set // verify the required parameter '{{paramName}}' is set

View File

@ -52,7 +52,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}} {{/-last}}{{/headerParams}}
}) })
{{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
/** /**
* {{summary}} * {{summary}}
@ -82,7 +82,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}} {{/-last}}{{/headerParams}}
}) })
ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
{{#hasQueryParams}} {{#hasQueryParams}}
@ -127,7 +127,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}} {{/-last}}{{/headerParams}}
}) })
{{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams); {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams);
/** /**
* {{summary}} * {{summary}}
@ -167,7 +167,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}}, "{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}} {{/-last}}{{/headerParams}}
}) })
ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams); ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams);
/** /**
@ -176,7 +176,7 @@ public interface {{classname}} extends ApiClient.Api {
*/ */
public static class {{operationIdCamelCase}}QueryParams extends HashMap<String, Object> { public static class {{operationIdCamelCase}}QueryParams extends HashMap<String, Object> {
{{#queryParams}} {{#queryParams}}
public {{operationIdCamelCase}}QueryParams {{paramName}}(final {{{dataType}}} value) { public {{operationIdCamelCase}}QueryParams {{paramName}}({{>nullable_var_annotations}} final {{{dataType}}} value) {
{{#collectionFormat}} {{#collectionFormat}}
put("{{baseName}}", EncodingUtils.encodeCollection(value, "{{collectionFormat}}")); put("{{baseName}}", EncodingUtils.encodeCollection(value, "{{collectionFormat}}"));
{{/collectionFormat}} {{/collectionFormat}}

View File

@ -61,7 +61,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException {
{{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} {{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {}; TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}} return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}}
@ -85,7 +85,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#bodyParam}}{{^required}}{{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#bodyParam}}{{^required}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException {
{{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#bodyParam}}{{^required}}{{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}params);{{#returnType}} {{#returnType}}HttpResponse response = {{/returnType}}{{operationId}}ForHttpResponse({{#bodyParam}}{{^required}}{{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}params);{{#returnType}}
TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {}; TypeReference<{{{returnType}}}> typeRef = new TypeReference<{{{returnType}}}>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}} return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);{{/returnType}}
@ -94,7 +94,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public HttpResponse {{operationId}}ForHttpResponse({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException { public HttpResponse {{operationId}}ForHttpResponse({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws IOException {
{{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set {{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set
if ({{paramName}} == null) { if ({{paramName}} == null) {
throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}"); throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}");
@ -128,7 +128,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public HttpResponse {{operationId}}ForHttpResponse({{#allParams}}{{#isBodyParam}}java.io.InputStream {{paramName}}{{/isBodyParam}}{{^isBodyParam}}{{{dataType}}} {{paramName}}{{/isBodyParam}}{{^-last}}, {{/-last}}{{/allParams}}, String mediaType) throws IOException { public HttpResponse {{operationId}}ForHttpResponse({{#allParams}}{{#isBodyParam}}java.io.InputStream {{paramName}}{{/isBodyParam}}{{^isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{/isBodyParam}}{{^-last}}, {{/-last}}{{/allParams}}, String mediaType) throws IOException {
{{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set {{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set
if ({{paramName}} == null) { if ({{paramName}} == null) {
throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}"); throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}");
@ -164,7 +164,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public HttpResponse {{operationId}}ForHttpResponse({{#bodyParam}}{{^required}}{{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException { public HttpResponse {{operationId}}ForHttpResponse({{#bodyParam}}{{^required}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/required}}{{/bodyParam}}{{#requiredParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}{{#hasRequiredParams}}, {{/hasRequiredParams}}Map<String, Object> params) throws IOException {
{{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set {{#allParams}}{{#required}}// verify the required parameter '{{paramName}}' is set
if ({{paramName}} == null) { if ({{paramName}} == null) {
throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}"); throw new IllegalArgumentException("Missing the required parameter '{{paramName}}' when calling {{operationId}}");

View File

@ -86,7 +86,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#returnType}}return {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}.getData(){{/returnType}}; {{#returnType}}return {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}.getData(){{/returnType}};
} }
{{/vendorExtensions.x-group-parameters}} {{/vendorExtensions.x-group-parameters}}
@ -121,7 +121,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#hasRequiredParams}} {{#hasRequiredParams}}
// Check required parameters // Check required parameters
{{#allParams}} {{#allParams}}
@ -205,10 +205,11 @@ public class {{classname}} {
public class API{{operationId}}Request { public class API{{operationId}}Request {
{{#allParams}} {{#allParams}}
{{>nullable_var_annotations}}
private {{{dataType}}} {{paramName}}; private {{{dataType}}} {{paramName}};
{{/allParams}} {{/allParams}}
private API{{operationId}}Request({{#pathParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) { private API{{operationId}}Request({{#pathParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) {
{{#pathParams}} {{#pathParams}}
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
{{/pathParams}} {{/pathParams}}
@ -221,7 +222,7 @@ public class {{classname}} {
* @param {{paramName}} {{description}} ({{^required}}optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}{{/required}}{{#required}}required{{/required}}) * @param {{paramName}} {{description}} ({{^required}}optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}{{/required}}{{#required}}required{{/required}})
* @return API{{operationId}}Request * @return API{{operationId}}Request
*/ */
public API{{operationId}}Request {{paramName}}({{{dataType}}} {{paramName}}) { public API{{operationId}}Request {{paramName}}({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }
@ -287,7 +288,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public API{{operationId}}Request {{operationId}}({{#pathParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) throws ApiException { public API{{operationId}}Request {{operationId}}({{#pathParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) throws ApiException {
return new API{{operationId}}Request({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}); return new API{{operationId}}Request({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}});
} }
{{/vendorExtensions.x-group-parameters}} {{/vendorExtensions.x-group-parameters}}

View File

@ -86,7 +86,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#returnType}}return {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}.getData(){{/returnType}}; {{#returnType}}return {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}.getData(){{/returnType}};
} }
{{/vendorExtensions.x-group-parameters}} {{/vendorExtensions.x-group-parameters}}
@ -121,7 +121,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#hasRequiredParams}} {{#hasRequiredParams}}
// Check required parameters // Check required parameters
{{#allParams}} {{#allParams}}
@ -205,10 +205,11 @@ public class {{classname}} {
public class API{{operationId}}Request { public class API{{operationId}}Request {
{{#allParams}} {{#allParams}}
{{>nullable_var_annotations}}
private {{{dataType}}} {{paramName}}; private {{{dataType}}} {{paramName}};
{{/allParams}} {{/allParams}}
private API{{operationId}}Request({{#pathParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) { private API{{operationId}}Request({{#pathParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) {
{{#pathParams}} {{#pathParams}}
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
{{/pathParams}} {{/pathParams}}
@ -221,7 +222,7 @@ public class {{classname}} {
* @param {{paramName}} {{description}} ({{^required}}optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}{{/required}}{{#required}}required{{/required}}) * @param {{paramName}} {{description}} ({{^required}}optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}{{/required}}{{#required}}required{{/required}})
* @return API{{operationId}}Request * @return API{{operationId}}Request
*/ */
public API{{operationId}}Request {{paramName}}({{{dataType}}} {{paramName}}) { public API{{operationId}}Request {{paramName}}({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }
@ -287,7 +288,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public API{{operationId}}Request {{operationId}}({{#pathParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) throws ApiException { public API{{operationId}}Request {{operationId}}({{#pathParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}) throws ApiException {
return new API{{operationId}}Request({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}}); return new API{{operationId}}Request({{#pathParams}}{{paramName}}{{^-last}}, {{/-last}}{{/pathParams}});
} }
{{/vendorExtensions.x-group-parameters}} {{/vendorExtensions.x-group-parameters}}

View File

@ -129,6 +129,7 @@ public class {{classname}} {
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{#asyncNative}}CompletableFuture<{{{returnType}}}>{{/asyncNative}}{{^asyncNative}}{{{returnType}}}{{/asyncNative}}{{/returnType}}{{^returnType}}{{#asyncNative}}CompletableFuture<Void>{{/asyncNative}}{{^asyncNative}}void{{/asyncNative}}{{/returnType}} {{operationId}}(API{{operationId}}Request apiRequest) throws ApiException { public {{#returnType}}{{#asyncNative}}CompletableFuture<{{{returnType}}}>{{/asyncNative}}{{^asyncNative}}{{{returnType}}}{{/asyncNative}}{{/returnType}}{{^returnType}}{{#asyncNative}}CompletableFuture<Void>{{/asyncNative}}{{^asyncNative}}void{{/asyncNative}}{{/returnType}} {{operationId}}(API{{operationId}}Request apiRequest) throws ApiException {
{{#allParams}} {{#allParams}}
{{>nullable_var_annotations}}
{{{dataType}}} {{paramName}} = apiRequest.{{paramName}}(); {{{dataType}}} {{paramName}} = apiRequest.{{paramName}}();
{{/allParams}} {{/allParams}}
{{#returnType}}return {{/returnType}}{{^returnType}}{{#asyncNative}}return {{/asyncNative}}{{/returnType}}{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); {{#returnType}}return {{/returnType}}{{^returnType}}{{#asyncNative}}return {{/asyncNative}}{{/returnType}}{{operationId}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
@ -186,7 +187,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{#asyncNative}}CompletableFuture<{{{returnType}}}>{{/asyncNative}}{{^asyncNative}}{{{returnType}}}{{/asyncNative}}{{/returnType}}{{^returnType}}{{#asyncNative}}CompletableFuture<Void>{{/asyncNative}}{{^asyncNative}}void{{/asyncNative}}{{/returnType}} {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { 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}}) throws ApiException {
{{^asyncNative}} {{^asyncNative}}
{{#returnType}}ApiResponse<{{{.}}}> localVarResponse = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); {{#returnType}}ApiResponse<{{{.}}}> localVarResponse = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
{{#returnType}} {{#returnType}}
@ -242,7 +243,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#asyncNative}}CompletableFuture<{{/asyncNative}}ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}>{{#asyncNative}}>{{/asyncNative}} {{operationId}}WithHttpInfo({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{^asyncNative}} {{^asyncNative}}
HttpRequest.Builder localVarRequestBuilder = {{operationId}}RequestBuilder({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); HttpRequest.Builder localVarRequestBuilder = {{operationId}}RequestBuilder({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
try { try {
@ -363,7 +364,7 @@ public class {{classname}} {
{{/asyncNative}} {{/asyncNative}}
} }
private HttpRequest.Builder {{operationId}}RequestBuilder({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { private HttpRequest.Builder {{operationId}}RequestBuilder({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}
// verify the required parameter '{{paramName}}' is set // verify the required parameter '{{paramName}}' is set
@ -575,9 +576,11 @@ public class {{classname}} {
public static final class API{{operationId}}Request { public static final class API{{operationId}}Request {
{{#requiredParams}} {{#requiredParams}}
{{>nullable_var_annotations}}
private {{{dataType}}} {{paramName}}; // {{description}} (required) private {{{dataType}}} {{paramName}}; // {{description}} (required)
{{/requiredParams}} {{/requiredParams}}
{{#optionalParams}} {{#optionalParams}}
{{>nullable_var_annotations}}
private {{{dataType}}} {{paramName}}; // {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}) private {{{dataType}}} {{paramName}}; // {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}})
{{/optionalParams}} {{/optionalParams}}
@ -590,6 +593,7 @@ public class {{classname}} {
{{/optionalParams}} {{/optionalParams}}
} }
{{#allParams}} {{#allParams}}
{{>nullable_var_annotations}}
public {{{dataType}}} {{paramName}}() { public {{{dataType}}} {{paramName}}() {
return {{paramName}}; return {{paramName}};
} }
@ -607,7 +611,7 @@ public class {{classname}} {
{{/optionalParams}} {{/optionalParams}}
{{#allParams}} {{#allParams}}
public Builder {{paramName}}({{{dataType}}} {{paramName}}) { public Builder {{paramName}}({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }

View File

@ -117,7 +117,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Call({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException { public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Call({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { {{#servers}}"{{{url}}}"{{^-last}}, {{/-last}}{{/servers}} }; String[] localBasePaths = new String[] { {{#servers}}"{{{url}}}"{{^-last}}, {{/-last}}{{/servers}} };
@ -243,7 +243,7 @@ public class {{classname}} {
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call {{operationId}}ValidateBeforeCall({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException { private okhttp3.Call {{operationId}}ValidateBeforeCall({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException {
{{^performBeanValidation}} {{^performBeanValidation}}
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}
@ -263,7 +263,7 @@ public class {{classname}} {
ExecutableValidator executableValidator = factory.getValidator().forExecutables(); ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { {{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}} }; Object[] parameterValues = { {{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}} };
Method method = this.getClass().getMethod("{{operationId}}WithHttpInfo"{{#allParams}}, {{#isArray}}java.util.List{{/isArray}}{{#isMap}}java.util.Map{{/isMap}}{{^isArray}}{{^isMap}}{{{dataType}}}{{/isMap}}{{/isArray}}.class{{/allParams}}); Method method = this.getClass().getMethod("{{operationId}}WithHttpInfo"{{#allParams}}, {{#isArray}}java.util.List{{/isArray}}{{#isMap}}java.util.Map{{/isMap}}{{^isArray}}{{^isMap}}{{>nullable_var_annotations}} {{{dataType}}}{{/isMap}}{{/isArray}}.class{{/allParams}});
Set<ConstraintViolation<{{classname}}>> violations = executableValidator.validateParameters(this, method, Set<ConstraintViolation<{{classname}}>> violations = executableValidator.validateParameters(this, method,
parameterValues); parameterValues);
@ -311,13 +311,13 @@ public class {{classname}} {
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
{{#vendorExtensions.x-streaming}} {{#vendorExtensions.x-streaming}}
public {{#returnType}}InputStream {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}InputStream {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#returnType}}InputStream localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} {{#returnType}}InputStream localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
return localVarResp;{{/returnType}} return localVarResp;{{/returnType}}
} }
{{/vendorExtensions.x-streaming}} {{/vendorExtensions.x-streaming}}
{{^vendorExtensions.x-streaming}} {{^vendorExtensions.x-streaming}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
{{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} {{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
return localVarResp.getData();{{/returnType}} return localVarResp.getData();{{/returnType}}
} }
@ -351,7 +351,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-streaming}} InputStream {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-streaming}} InputStream {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null); okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null);
{{#returnType}} {{#returnType}}
{{#errorObjectType}} {{#errorObjectType}}
@ -369,7 +369,7 @@ public class {{classname}} {
{{/errorObjectType}} {{/errorObjectType}}
{{/returnType}} {{/returnType}}
} }
{{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}} ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { {{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}} ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null); okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null);
{{^returnType}} {{^returnType}}
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
@ -420,7 +420,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException { public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Async({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException {
okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}_callback); okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}_callback);
{{#returnType}}Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); {{#returnType}}Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType();
@ -431,13 +431,15 @@ public class {{classname}} {
public class API{{operationId}}Request { public class API{{operationId}}Request {
{{#requiredParams}} {{#requiredParams}}
{{>nullable_var_annotations}}
private final {{{dataType}}} {{paramName}}; private final {{{dataType}}} {{paramName}};
{{/requiredParams}} {{/requiredParams}}
{{#optionalParams}} {{#optionalParams}}
{{>nullable_var_annotations}}
private {{{dataType}}} {{paramName}}; private {{{dataType}}} {{paramName}};
{{/optionalParams}} {{/optionalParams}}
private API{{operationId}}Request({{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) { private API{{operationId}}Request({{#requiredParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) {
{{#requiredParams}} {{#requiredParams}}
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
{{/requiredParams}} {{/requiredParams}}
@ -449,7 +451,7 @@ public class {{classname}} {
* @param {{paramName}} {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}) * @param {{paramName}} {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}})
* @return API{{operationId}}Request * @return API{{operationId}}Request
*/ */
public API{{operationId}}Request {{paramName}}({{{dataType}}} {{paramName}}) { public API{{operationId}}Request {{paramName}}({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }
@ -599,7 +601,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public API{{operationId}}Request {{operationId}}({{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) { public API{{operationId}}Request {{operationId}}({{#requiredParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) {
return new API{{operationId}}Request({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}); return new API{{operationId}}Request({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}});
} }
{{/vendorExtensions.x-group-parameters}} {{/vendorExtensions.x-group-parameters}}

View File

@ -191,7 +191,7 @@ public class {{classname}} {
* @param {{paramName}} ({{dataType}}) {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} * @param {{paramName}} ({{dataType}}) {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
* @return operation * @return operation
*/ */
public {{operationIdCamelCase}}Oper body({{{dataType}}} {{paramName}}) { public {{operationIdCamelCase}}Oper body({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
reqSpec.setBody({{paramName}}); reqSpec.setBody({{paramName}});
return this; return this;
} }
@ -259,7 +259,7 @@ public class {{classname}} {
* @param {{paramName}} ({{dataType}}) {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}} * @param {{paramName}} ({{dataType}}) {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}
* @return operation * @return operation
*/ */
public {{operationIdCamelCase}}Oper {{paramName}}MultiPart({{{dataType}}} {{paramName}}) { public {{operationIdCamelCase}}Oper {{paramName}}MultiPart({{>nullable_var_annotations}} {{{dataType}}} {{paramName}}) {
reqSpec.addMultiPart({{paramName}}); reqSpec.addMultiPart({{paramName}});
return this; return this;
} }

View File

@ -63,27 +63,27 @@ public class {{classname}} {
{{^hasSingleParam}} {{^hasSingleParam}}
{{^staticRequest}} {{^staticRequest}}
public record {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){} public record {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}){}
{{/staticRequest}} {{/staticRequest}}
{{#staticRequest}} {{#staticRequest}}
public static class {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request { public static class {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {
{{#allParams}} {{#allParams}}
private {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}; private {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}};
{{/allParams}} {{/allParams}}
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request() {} public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request() {}
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) { public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) {
{{#allParams}} {{#allParams}}
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
{{/allParams}} {{/allParams}}
} }
{{#allParams}} {{#allParams}}
public {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}() { public {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}() {
return this.{{paramName}}; return this.{{paramName}};
} }
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {{paramName}}({{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}) { public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {{paramName}}({{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }
@ -161,7 +161,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException { private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}
@ -238,7 +238,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public {{#returnType}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException { public {{#returnType}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}} {{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}
{{#returnType}}return {{/returnType}}{{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).body(localVarReturnType); {{#returnType}}return {{/returnType}}{{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).body(localVarReturnType);
} }
@ -255,7 +255,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public {{#returnType}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}ResponseEntity<Void>{{/returnType}} {{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException { public {{#returnType}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}ResponseEntity<Void>{{/returnType}} {{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}} {{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).toEntity(localVarReturnType); return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).toEntity(localVarReturnType);
} }
@ -273,7 +273,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public ResponseSpec {{operationId}}WithResponseSpec({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException { public ResponseSpec {{operationId}}WithResponseSpec({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
} }
{{/operation}} {{/operation}}

View File

@ -54,7 +54,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException {
Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}}{{#required}} {{#allParams}}{{#required}}
// verify the required parameter '{{paramName}}' is set // verify the required parameter '{{paramName}}' is set

View File

@ -16,12 +16,12 @@ public interface {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler); void {{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler);
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
void {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler); void {{operationId}}({{#allParams}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/allParams}}ApiClient.AuthInfo authInfo, Handler<AsyncResult<{{{returnType}}}{{^returnType}}Void{{/returnType}}>> handler);
{{/operation}} {{/operation}}
{{/operations}} {{/operations}}

View File

@ -62,22 +62,22 @@ public class {{classname}} {
{{#operation}}{{#singleRequestParameter}}{{#hasParams}}{{^hasSingleParam}} {{#operation}}{{#singleRequestParameter}}{{#hasParams}}{{^hasSingleParam}}
public {{#staticRequest}}static {{/staticRequest}}class {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request { public {{#staticRequest}}static {{/staticRequest}}class {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {
{{#allParams}} {{#allParams}}
private {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}; private {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}};
{{/allParams}} {{/allParams}}
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request() {} public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request() {}
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) { public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) {
{{#allParams}} {{#allParams}}
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
{{/allParams}} {{/allParams}}
} }
{{#allParams}} {{#allParams}}
public {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}() { public {{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}() {
return this.{{paramName}}; return this.{{paramName}};
} }
public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {{paramName}}({{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}) { public {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request {{paramName}}({{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}) {
this.{{paramName}} = {{paramName}}; this.{{paramName}} = {{paramName}};
return this; return this;
} }
@ -152,7 +152,7 @@ public class {{classname}} {
{{#isDeprecated}} {{#isDeprecated}}
@Deprecated @Deprecated
{{/isDeprecated}} {{/isDeprecated}}
private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException { private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException {
Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}} {{#allParams}}
{{#required}} {{#required}}
@ -229,7 +229,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public {{#returnType}}{{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Flux<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{^returnType}}{{#vendorExtensions.x-webclient-blocking}}void{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}Mono<Void>{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException { public {{#returnType}}{{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Flux<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{^returnType}}{{#vendorExtensions.x-webclient-blocking}}void{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}Mono<Void>{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}> localVarReturnType = new ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};{{/returnType}} {{#returnType}}ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}> localVarReturnType = new ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};{{/returnType}}
{{^returnType}}{{^vendorExtensions.x-webclient-blocking}}return {{/vendorExtensions.x-webclient-blocking}}{{/returnType}}{{#returnType}}return {{/returnType}}{{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).{{#vendorExtensions.x-webclient-return-except-list-of-string}}bodyToFlux{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}bodyToMono{{/vendorExtensions.x-webclient-return-except-list-of-string}}(localVarReturnType){{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}.block(){{/vendorExtensions.x-webclient-blocking}}; {{^returnType}}{{^vendorExtensions.x-webclient-blocking}}return {{/vendorExtensions.x-webclient-blocking}}{{/returnType}}{{#returnType}}return {{/returnType}}{{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).{{#vendorExtensions.x-webclient-return-except-list-of-string}}bodyToFlux{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}bodyToMono{{/vendorExtensions.x-webclient-return-except-list-of-string}}(localVarReturnType){{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}.collect(Collectors.toSet()){{/uniqueItems}}{{^uniqueItems}}.collectList(){{/uniqueItems}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}.block(){{/vendorExtensions.x-webclient-blocking}};
} }
@ -246,7 +246,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public {{#vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<List<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}ResponseEntity<Void>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Mono<ResponseEntity<List<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}Mono<ResponseEntity<Void>>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException { public {{#vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<List<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}ResponseEntity<Void>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Mono<ResponseEntity<List<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}Mono<ResponseEntity<Void>>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}> localVarReturnType = new ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};{{/returnType}} {{#returnType}}ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}> localVarReturnType = new ParameterizedTypeReference<{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};{{/returnType}}
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).{{#vendorExtensions.x-webclient-return-except-list-of-string}}toEntityList{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}toEntity{{/vendorExtensions.x-webclient-return-except-list-of-string}}(localVarReturnType){{#vendorExtensions.x-webclient-blocking}}.block(){{/vendorExtensions.x-webclient-blocking}}; return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).{{#vendorExtensions.x-webclient-return-except-list-of-string}}toEntityList{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}toEntity{{/vendorExtensions.x-webclient-return-except-list-of-string}}(localVarReturnType){{#vendorExtensions.x-webclient-blocking}}.block(){{/vendorExtensions.x-webclient-blocking}};
} }
@ -264,7 +264,7 @@ public class {{classname}} {
* @see <a href="{{url}}">{{summary}} Documentation</a> * @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}} {{/externalDocs}}
*/ */
public ResponseSpec {{operationId}}WithResponseSpec({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException { public ResponseSpec {{operationId}}WithResponseSpec({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.AbstractResource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.AbstractResource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullable_var_annotations}} {{{dataType}}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws WebClientResponseException {
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
} }
{{/operation}} {{/operation}}

View File

@ -1304,7 +1304,7 @@ public class JavaClientCodegenTest {
.contains( .contains(
"@RequestLine(\"POST /events/{eventId}:undelete\")", "@RequestLine(\"POST /events/{eventId}:undelete\")",
// baseName is kept for form parameters // baseName is kept for form parameters
"@Param(\"some_file\") File someFile" "@Param(\"some_file\") @javax.annotation.Nullable File someFile"
); );
} }
@ -2609,16 +2609,16 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/MultipartApi.java"), output.resolve("src/main/java/xyz/abcdef/api/MultipartApi.java"),
// multiple files // multiple files
"multipartArray(List<File> files)", "multipartArray(@jakarta.annotation.Nullable List<File> files)",
"formParams.addAll(\"files\"," "formParams.addAll(\"files\","
+ " files.stream().map(FileSystemResource::new).collect(Collectors.toList()));", + " files.stream().map(FileSystemResource::new).collect(Collectors.toList()));",
// mixed // mixed
"multipartMixed(MultipartMixedStatus status, File _file, MultipartMixedRequestMarker marker, List<MultipartMixedStatus> statusArray)", "multipartMixed(@jakarta.annotation.Nonnull MultipartMixedStatus status, @jakarta.annotation.Nonnull File _file, @jakarta.annotation.Nullable MultipartMixedRequestMarker marker, @jakarta.annotation.Nullable List<MultipartMixedStatus> statusArray)",
"formParams.add(\"file\", new FileSystemResource(_file));", "formParams.add(\"file\", new FileSystemResource(_file));",
// single file // single file
"multipartSingle(File _file)", "multipartSingle(@jakarta.annotation.Nullable File _file)",
"formParams.add(\"file\", new FileSystemResource(_file));" "formParams.add(\"file\", new FileSystemResource(_file));"
); );
} }
@ -2644,7 +2644,7 @@ public class JavaClientCodegenTest {
"formParams.addAll(\"files\", files.stream().collect(Collectors.toList()));", "formParams.addAll(\"files\", files.stream().collect(Collectors.toList()));",
// mixed // mixed
"multipartMixed(MultipartMixedStatus status, org.springframework.core.io.AbstractResource _file, MultipartMixedRequestMarker marker, List<MultipartMixedStatus> statusArray)", "multipartMixed(@jakarta.annotation.Nonnull MultipartMixedStatus status, org.springframework.core.io.AbstractResource _file, @jakarta.annotation.Nullable MultipartMixedRequestMarker marker, @jakarta.annotation.Nullable List<MultipartMixedStatus> statusArray)",
"formParams.add(\"file\", _file);", "formParams.add(\"file\", _file);",
// single file // single file
@ -3197,13 +3197,13 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public record DeletePetRequest(Long petId, String apiKey){}", "public record DeletePetRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey){}",
"public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {", "public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {", "public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {", "public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public void deletePet(Long petId, String apiKey) throws RestClientResponseException {", "public void deletePet(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {",
"public ResponseEntity<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws RestClientResponseException {", "public ResponseEntity<Void> deletePetWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws RestClientResponseException {" "public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {"
); );
} }
@ -3225,17 +3225,17 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public static class DeletePetRequest {", "public static class DeletePetRequest {",
"DeletePetRequest(Long petId, String apiKey)", "DeletePetRequest(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey)",
"Long petId()", "Long petId()",
"DeletePetRequest petId(Long petId) {", "DeletePetRequest petId(@jakarta.annotation.Nonnull Long petId) {",
"String apiKey()", "String apiKey()",
"DeletePetRequest apiKey(String apiKey) {", "DeletePetRequest apiKey(@jakarta.annotation.Nullable String apiKey) {",
"public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {", "public void deletePet(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {", "public ResponseEntity<Void> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {", "public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws RestClientResponseException {",
"public void deletePet(Long petId, String apiKey) throws RestClientResponseException {", "public void deletePet(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {",
"public ResponseEntity<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws RestClientResponseException {", "public ResponseEntity<Void> deletePetWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws RestClientResponseException {" "public ResponseSpec deletePetWithResponseSpec(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {"
); );
TestUtils.assertFileNotContains(output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), TestUtils.assertFileNotContains(output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public record DeletePetRequest(Long petId, String apiKey){}"); "public record DeletePetRequest(Long petId, String apiKey){}");
@ -3296,15 +3296,15 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public class DeletePetRequest {", "public class DeletePetRequest {",
"DeletePetRequest(Long petId, String apiKey)", "DeletePetRequest(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey)",
"Long petId()", "Long petId()",
"String apiKey()", "String apiKey()",
"public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {", "public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<Void> deletePet(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<Void> deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws WebClientResponseException {" "public ResponseSpec deletePetWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {"
); );
} }
@ -3326,15 +3326,15 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public static class DeletePetRequest {", "public static class DeletePetRequest {",
"DeletePetRequest(Long petId, String apiKey)", "DeletePetRequest(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey)",
"Long petId()", "Long petId()",
"String apiKey()", "String apiKey()",
"public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {", "public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<Void> deletePet(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<Void> deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws WebClientResponseException {" "public ResponseSpec deletePetWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {"
); );
} }
@ -3356,17 +3356,17 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"), output.resolve("src/main/java/xyz/abcdef/api/PetApi.java"),
"public static class DeletePetRequest {", "public static class DeletePetRequest {",
"DeletePetRequest(Long petId, String apiKey)", "DeletePetRequest(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey)",
"Long petId()", "Long petId()",
"DeletePetRequest petId(Long petId) {", "DeletePetRequest petId(@javax.annotation.Nonnull Long petId) {",
"String apiKey()", "String apiKey()",
"DeletePetRequest apiKey(String apiKey) {", "DeletePetRequest apiKey(@javax.annotation.Nullable String apiKey) {",
"public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<Void> deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {", "public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {",
"public Mono<Void> deletePet(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<Void> deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(Long petId, String apiKey) throws WebClientResponseException {", "public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {",
"public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws WebClientResponseException {" "public ResponseSpec deletePetWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {"
); );
} }
@ -3386,7 +3386,7 @@ public class JavaClientCodegenTest {
TestUtils.assertFileContains( TestUtils.assertFileContains(
output.resolve("src/main/java/xyz/abcdef/api/ATagApi.java"), output.resolve("src/main/java/xyz/abcdef/api/ATagApi.java"),
" getCall(String pathParameter, Integer queryParameter, final ApiCallback _callback)" " getCall(@javax.annotation.Nonnull String pathParameter, @javax.annotation.Nullable Integer queryParameter, final ApiCallback _callback)"
); );
TestUtils.assertFileNotContains( TestUtils.assertFileNotContains(

View File

@ -118,7 +118,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyApplicationOctetstreamBinary(File body) throws ApiException { public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body) throws ApiException {
return this.testBodyApplicationOctetstreamBinary(body, Collections.emptyMap()); return this.testBodyApplicationOctetstreamBinary(body, Collections.emptyMap());
} }
@ -131,7 +131,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyApplicationOctetstreamBinary(File body, Map<String, String> additionalHeaders) throws ApiException { public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -187,7 +187,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws ApiException { public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files) throws ApiException {
return this.testBodyMultipartFormdataArrayOfBinary(files, Collections.emptyMap()); return this.testBodyMultipartFormdataArrayOfBinary(files, Collections.emptyMap());
} }
@ -200,7 +200,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files, Map<String, String> additionalHeaders) throws ApiException { public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'files' is set // verify the required parameter 'files' is set
@ -263,7 +263,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile) throws ApiException { public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile) throws ApiException {
return this.testBodyMultipartFormdataSingleBinary(myFile, Collections.emptyMap()); return this.testBodyMultipartFormdataSingleBinary(myFile, Collections.emptyMap());
} }
@ -276,7 +276,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile, Map<String, String> additionalHeaders) throws ApiException { public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -334,7 +334,7 @@ public class BodyApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyAllOfPet(Pet pet) throws ApiException { public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyAllOfPet(pet, Collections.emptyMap()); return this.testEchoBodyAllOfPet(pet, Collections.emptyMap());
} }
@ -347,7 +347,7 @@ public class BodyApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyAllOfPet(Pet pet, Map<String, String> additionalHeaders) throws ApiException { public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -403,7 +403,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body) throws ApiException { public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body) throws ApiException {
return this.testEchoBodyFreeFormObjectResponseString(body, Collections.emptyMap()); return this.testEchoBodyFreeFormObjectResponseString(body, Collections.emptyMap());
} }
@ -416,7 +416,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body, Map<String, String> additionalHeaders) throws ApiException { public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -472,7 +472,7 @@ public class BodyApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyPet(Pet pet) throws ApiException { public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyPet(pet, Collections.emptyMap()); return this.testEchoBodyPet(pet, Collections.emptyMap());
} }
@ -485,7 +485,7 @@ public class BodyApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyPet(Pet pet, Map<String, String> additionalHeaders) throws ApiException { public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -541,7 +541,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyPetResponseString(Pet pet) throws ApiException { public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyPetResponseString(pet, Collections.emptyMap()); return this.testEchoBodyPetResponseString(pet, Collections.emptyMap());
} }
@ -554,7 +554,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyPetResponseString(Pet pet, Map<String, String> additionalHeaders) throws ApiException { public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -610,7 +610,7 @@ public class BodyApi extends BaseApi {
* @return StringEnumRef * @return StringEnumRef
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public StringEnumRef testEchoBodyStringEnum(String body) throws ApiException { public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body) throws ApiException {
return this.testEchoBodyStringEnum(body, Collections.emptyMap()); return this.testEchoBodyStringEnum(body, Collections.emptyMap());
} }
@ -623,7 +623,7 @@ public class BodyApi extends BaseApi {
* @return StringEnumRef * @return StringEnumRef
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public StringEnumRef testEchoBodyStringEnum(String body, Map<String, String> additionalHeaders) throws ApiException { public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -679,7 +679,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyTagResponseString(Tag tag) throws ApiException { public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag) throws ApiException {
return this.testEchoBodyTagResponseString(tag, Collections.emptyMap()); return this.testEchoBodyTagResponseString(tag, Collections.emptyMap());
} }
@ -692,7 +692,7 @@ public class BodyApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyTagResponseString(Tag tag, Map<String, String> additionalHeaders) throws ApiException { public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = tag; Object localVarPostBody = tag;
// create path and map variables // create path and map variables

View File

@ -50,7 +50,7 @@ public class FormApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
return this.testFormIntegerBooleanString(integerForm, booleanForm, stringForm, Collections.emptyMap()); return this.testFormIntegerBooleanString(integerForm, booleanForm, stringForm, Collections.emptyMap());
} }
@ -65,7 +65,7 @@ public class FormApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm, Map<String, String> additionalHeaders) throws ApiException { public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -127,7 +127,7 @@ if (stringForm != null)
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws ApiException { public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
return this.testFormObjectMultipart(marker, Collections.emptyMap()); return this.testFormObjectMultipart(marker, Collections.emptyMap());
} }
@ -140,7 +140,7 @@ if (stringForm != null)
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker, Map<String, String> additionalHeaders) throws ApiException { public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'marker' is set // verify the required parameter 'marker' is set
@ -208,7 +208,7 @@ if (stringForm != null)
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
return this.testFormOneof(form1, form2, form3, form4, id, name, Collections.emptyMap()); return this.testFormOneof(form1, form2, form3, form4, id, name, Collections.emptyMap());
} }
@ -226,7 +226,7 @@ if (stringForm != null)
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name, Map<String, String> additionalHeaders) throws ApiException { public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -52,7 +52,7 @@ public class HeaderApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
return this.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, Collections.emptyMap()); return this.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, Collections.emptyMap());
} }
@ -69,7 +69,7 @@ public class HeaderApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader, Map<String, String> additionalHeaders) throws ApiException { public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -51,7 +51,7 @@ public class PathApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
return this.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, Collections.emptyMap()); return this.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, Collections.emptyMap());
} }
@ -67,7 +67,7 @@ public class PathApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'pathString' is set // verify the required parameter 'pathString' is set

View File

@ -55,7 +55,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
return this.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery, Collections.emptyMap()); return this.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery, Collections.emptyMap());
} }
@ -69,7 +69,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery, Map<String, String> additionalHeaders) throws ApiException { public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -129,7 +129,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
return this.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery, Collections.emptyMap()); return this.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery, Collections.emptyMap());
} }
@ -144,7 +144,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery, Map<String, String> additionalHeaders) throws ApiException { public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -205,7 +205,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
return this.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery, Collections.emptyMap()); return this.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery, Collections.emptyMap());
} }
@ -220,7 +220,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery, Map<String, String> additionalHeaders) throws ApiException { public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -279,7 +279,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
return this.testQueryStyleDeepObjectExplodeTrueObject(queryObject, Collections.emptyMap()); return this.testQueryStyleDeepObjectExplodeTrueObject(queryObject, Collections.emptyMap());
} }
@ -292,7 +292,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -350,7 +350,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
return this.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject, Collections.emptyMap()); return this.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject, Collections.emptyMap());
} }
@ -363,7 +363,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -421,7 +421,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
return this.testQueryStyleFormExplodeFalseArrayInteger(queryObject, Collections.emptyMap()); return this.testQueryStyleFormExplodeFalseArrayInteger(queryObject, Collections.emptyMap());
} }
@ -434,7 +434,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -491,7 +491,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
return this.testQueryStyleFormExplodeFalseArrayString(queryObject, Collections.emptyMap()); return this.testQueryStyleFormExplodeFalseArrayString(queryObject, Collections.emptyMap());
} }
@ -504,7 +504,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -561,7 +561,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueArrayString(queryObject, Collections.emptyMap()); return this.testQueryStyleFormExplodeTrueArrayString(queryObject, Collections.emptyMap());
} }
@ -574,7 +574,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -631,7 +631,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueObject(queryObject, Collections.emptyMap()); return this.testQueryStyleFormExplodeTrueObject(queryObject, Collections.emptyMap());
} }
@ -644,7 +644,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -706,7 +706,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueObjectAllOf(queryObject, Collections.emptyMap()); return this.testQueryStyleFormExplodeTrueObjectAllOf(queryObject, Collections.emptyMap());
} }
@ -719,7 +719,7 @@ public class QueryApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject, Map<String, String> additionalHeaders) throws ApiException { public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -55,7 +55,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/octet-stream", "Content-Type: application/octet-stream",
"Accept: text/plain", "Accept: text/plain",
}) })
String testBodyApplicationOctetstreamBinary(File body); String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body);
/** /**
* Test body parameter(s) * Test body parameter(s)
@ -69,7 +69,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/octet-stream", "Content-Type: application/octet-stream",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(File body); ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(@javax.annotation.Nullable File body);
@ -84,7 +84,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
String testBodyMultipartFormdataArrayOfBinary(@Param("files") List<File> files); String testBodyMultipartFormdataArrayOfBinary(@Param("files") @javax.annotation.Nonnull List<File> files);
/** /**
* Test array of binary in multipart mime * Test array of binary in multipart mime
@ -98,7 +98,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@Param("files") List<File> files); ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@Param("files") @javax.annotation.Nonnull List<File> files);
@ -113,7 +113,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
String testBodyMultipartFormdataSingleBinary(@Param("my-file") File myFile); String testBodyMultipartFormdataSingleBinary(@Param("my-file") @javax.annotation.Nullable File myFile);
/** /**
* Test single binary in multipart mime * Test single binary in multipart mime
@ -127,7 +127,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@Param("my-file") File myFile); ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@Param("my-file") @javax.annotation.Nullable File myFile);
@ -142,7 +142,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Pet testEchoBodyAllOfPet(Pet pet); Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet);
/** /**
* Test body parameter(s) * Test body parameter(s)
@ -156,7 +156,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(Pet pet); ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(@javax.annotation.Nullable Pet pet);
@ -171,7 +171,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
String testEchoBodyFreeFormObjectResponseString(Object body); String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body);
/** /**
* Test free form object * Test free form object
@ -185,7 +185,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(Object body); ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(@javax.annotation.Nullable Object body);
@ -200,7 +200,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Pet testEchoBodyPet(Pet pet); Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet);
/** /**
* Test body parameter(s) * Test body parameter(s)
@ -214,7 +214,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Pet> testEchoBodyPetWithHttpInfo(Pet pet); ApiResponse<Pet> testEchoBodyPetWithHttpInfo(@javax.annotation.Nullable Pet pet);
@ -229,7 +229,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
String testEchoBodyPetResponseString(Pet pet); String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet);
/** /**
* Test empty response body * Test empty response body
@ -243,7 +243,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(Pet pet); ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(@javax.annotation.Nullable Pet pet);
@ -258,7 +258,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
StringEnumRef testEchoBodyStringEnum(String body); StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body);
/** /**
* Test string enum response body * Test string enum response body
@ -272,7 +272,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(String body); ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(@javax.annotation.Nullable String body);
@ -287,7 +287,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
String testEchoBodyTagResponseString(Tag tag); String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag);
/** /**
* Test empty json (request body) * Test empty json (request body)
@ -301,7 +301,7 @@ public interface BodyApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(Tag tag); ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(@javax.annotation.Nullable Tag tag);
} }

View File

@ -29,7 +29,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: text/plain", "Accept: text/plain",
}) })
String testFormIntegerBooleanString(@Param("integer_form") Integer integerForm, @Param("boolean_form") Boolean booleanForm, @Param("string_form") String stringForm); String testFormIntegerBooleanString(@Param("integer_form") @javax.annotation.Nullable Integer integerForm, @Param("boolean_form") @javax.annotation.Nullable Boolean booleanForm, @Param("string_form") @javax.annotation.Nullable String stringForm);
/** /**
* Test form parameter(s) * Test form parameter(s)
@ -45,7 +45,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(@Param("integer_form") Integer integerForm, @Param("boolean_form") Boolean booleanForm, @Param("string_form") String stringForm); ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(@Param("integer_form") @javax.annotation.Nullable Integer integerForm, @Param("boolean_form") @javax.annotation.Nullable Boolean booleanForm, @Param("string_form") @javax.annotation.Nullable String stringForm);
@ -60,7 +60,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
String testFormObjectMultipart(@Param("marker") TestFormObjectMultipartRequestMarker marker); String testFormObjectMultipart(@Param("marker") @javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker);
/** /**
* Test form parameter(s) for multipart schema * Test form parameter(s) for multipart schema
@ -74,7 +74,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testFormObjectMultipartWithHttpInfo(@Param("marker") TestFormObjectMultipartRequestMarker marker); ApiResponse<String> testFormObjectMultipartWithHttpInfo(@Param("marker") @javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker);
@ -94,7 +94,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: text/plain", "Accept: text/plain",
}) })
String testFormOneof(@Param("form1") String form1, @Param("form2") Integer form2, @Param("form3") String form3, @Param("form4") Boolean form4, @Param("id") Long id, @Param("name") String name); String testFormOneof(@Param("form1") @javax.annotation.Nullable String form1, @Param("form2") @javax.annotation.Nullable Integer form2, @Param("form3") @javax.annotation.Nullable String form3, @Param("form4") @javax.annotation.Nullable Boolean form4, @Param("id") @javax.annotation.Nullable Long id, @Param("name") @javax.annotation.Nullable String name);
/** /**
* Test form parameter(s) for oneOf schema * Test form parameter(s) for oneOf schema
@ -113,7 +113,7 @@ public interface FormApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testFormOneofWithHttpInfo(@Param("form1") String form1, @Param("form2") Integer form2, @Param("form3") String form3, @Param("form4") Boolean form4, @Param("id") Long id, @Param("name") String name); ApiResponse<String> testFormOneofWithHttpInfo(@Param("form1") @javax.annotation.Nullable String form1, @Param("form2") @javax.annotation.Nullable Integer form2, @Param("form3") @javax.annotation.Nullable String form3, @Param("form4") @javax.annotation.Nullable Boolean form4, @Param("id") @javax.annotation.Nullable Long id, @Param("name") @javax.annotation.Nullable String name);
} }

View File

@ -39,7 +39,7 @@ public interface HeaderApi extends ApiClient.Api {
"enum_ref_string_header: {enumRefStringHeader}" "enum_ref_string_header: {enumRefStringHeader}"
}) })
String testHeaderIntegerBooleanStringEnums(@Param("integerHeader") Integer integerHeader, @Param("booleanHeader") Boolean booleanHeader, @Param("stringHeader") String stringHeader, @Param("enumNonrefStringHeader") String enumNonrefStringHeader, @Param("enumRefStringHeader") StringEnumRef enumRefStringHeader); String testHeaderIntegerBooleanStringEnums(@Param("integerHeader") @javax.annotation.Nullable Integer integerHeader, @Param("booleanHeader") @javax.annotation.Nullable Boolean booleanHeader, @Param("stringHeader") @javax.annotation.Nullable String stringHeader, @Param("enumNonrefStringHeader") @javax.annotation.Nullable String enumNonrefStringHeader, @Param("enumRefStringHeader") @javax.annotation.Nullable StringEnumRef enumRefStringHeader);
/** /**
* Test header parameter(s) * Test header parameter(s)
@ -65,7 +65,7 @@ public interface HeaderApi extends ApiClient.Api {
"enum_ref_string_header: {enumRefStringHeader}" "enum_ref_string_header: {enumRefStringHeader}"
}) })
ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@Param("integerHeader") Integer integerHeader, @Param("booleanHeader") Boolean booleanHeader, @Param("stringHeader") String stringHeader, @Param("enumNonrefStringHeader") String enumNonrefStringHeader, @Param("enumRefStringHeader") StringEnumRef enumRefStringHeader); ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@Param("integerHeader") @javax.annotation.Nullable Integer integerHeader, @Param("booleanHeader") @javax.annotation.Nullable Boolean booleanHeader, @Param("stringHeader") @javax.annotation.Nullable String stringHeader, @Param("enumNonrefStringHeader") @javax.annotation.Nullable String enumNonrefStringHeader, @Param("enumRefStringHeader") @javax.annotation.Nullable StringEnumRef enumRefStringHeader);
} }

View File

@ -29,7 +29,7 @@ public interface PathApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath); String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Param("pathString") @javax.annotation.Nonnull String pathString, @Param("pathInteger") @javax.annotation.Nonnull Integer pathInteger, @Param("enumNonrefStringPath") @javax.annotation.Nonnull String enumNonrefStringPath, @Param("enumRefStringPath") @javax.annotation.Nonnull StringEnumRef enumRefStringPath);
/** /**
* Test path parameter(s) * Test path parameter(s)
@ -45,7 +45,7 @@ public interface PathApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath); ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@Param("pathString") @javax.annotation.Nonnull String pathString, @Param("pathInteger") @javax.annotation.Nonnull Integer pathInteger, @Param("enumNonrefStringPath") @javax.annotation.Nonnull String enumNonrefStringPath, @Param("enumRefStringPath") @javax.annotation.Nonnull StringEnumRef enumRefStringPath);
} }

View File

@ -33,7 +33,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testEnumRefString(@Param("enumNonrefStringQuery") String enumNonrefStringQuery, @Param("enumRefStringQuery") StringEnumRef enumRefStringQuery); String testEnumRefString(@Param("enumNonrefStringQuery") @javax.annotation.Nullable String enumNonrefStringQuery, @Param("enumRefStringQuery") @javax.annotation.Nullable StringEnumRef enumRefStringQuery);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -47,7 +47,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testEnumRefStringWithHttpInfo(@Param("enumNonrefStringQuery") String enumNonrefStringQuery, @Param("enumRefStringQuery") StringEnumRef enumRefStringQuery); ApiResponse<String> testEnumRefStringWithHttpInfo(@Param("enumNonrefStringQuery") @javax.annotation.Nullable String enumNonrefStringQuery, @Param("enumRefStringQuery") @javax.annotation.Nullable StringEnumRef enumRefStringQuery);
/** /**
@ -97,11 +97,11 @@ public interface QueryApi extends ApiClient.Api {
* <code>testEnumRefString</code> method in a fluent style. * <code>testEnumRefString</code> method in a fluent style.
*/ */
public static class TestEnumRefStringQueryParams extends HashMap<String, Object> { public static class TestEnumRefStringQueryParams extends HashMap<String, Object> {
public TestEnumRefStringQueryParams enumNonrefStringQuery(final String value) { public TestEnumRefStringQueryParams enumNonrefStringQuery(@javax.annotation.Nullable final String value) {
put("enum_nonref_string_query", EncodingUtils.encode(value)); put("enum_nonref_string_query", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumRefStringQueryParams enumRefStringQuery(final StringEnumRef value) { public TestEnumRefStringQueryParams enumRefStringQuery(@javax.annotation.Nullable final StringEnumRef value) {
put("enum_ref_string_query", EncodingUtils.encode(value)); put("enum_ref_string_query", EncodingUtils.encode(value));
return this; return this;
} }
@ -119,7 +119,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryDatetimeDateString(@Param("datetimeQuery") OffsetDateTime datetimeQuery, @Param("dateQuery") LocalDate dateQuery, @Param("stringQuery") String stringQuery); String testQueryDatetimeDateString(@Param("datetimeQuery") @javax.annotation.Nullable OffsetDateTime datetimeQuery, @Param("dateQuery") @javax.annotation.Nullable LocalDate dateQuery, @Param("stringQuery") @javax.annotation.Nullable String stringQuery);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -134,7 +134,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@Param("datetimeQuery") OffsetDateTime datetimeQuery, @Param("dateQuery") LocalDate dateQuery, @Param("stringQuery") String stringQuery); ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@Param("datetimeQuery") @javax.annotation.Nullable OffsetDateTime datetimeQuery, @Param("dateQuery") @javax.annotation.Nullable LocalDate dateQuery, @Param("stringQuery") @javax.annotation.Nullable String stringQuery);
/** /**
@ -186,15 +186,15 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryDatetimeDateString</code> method in a fluent style. * <code>testQueryDatetimeDateString</code> method in a fluent style.
*/ */
public static class TestQueryDatetimeDateStringQueryParams extends HashMap<String, Object> { public static class TestQueryDatetimeDateStringQueryParams extends HashMap<String, Object> {
public TestQueryDatetimeDateStringQueryParams datetimeQuery(final OffsetDateTime value) { public TestQueryDatetimeDateStringQueryParams datetimeQuery(@javax.annotation.Nullable final OffsetDateTime value) {
put("datetime_query", EncodingUtils.encode(value)); put("datetime_query", EncodingUtils.encode(value));
return this; return this;
} }
public TestQueryDatetimeDateStringQueryParams dateQuery(final LocalDate value) { public TestQueryDatetimeDateStringQueryParams dateQuery(@javax.annotation.Nullable final LocalDate value) {
put("date_query", EncodingUtils.encode(value)); put("date_query", EncodingUtils.encode(value));
return this; return this;
} }
public TestQueryDatetimeDateStringQueryParams stringQuery(final String value) { public TestQueryDatetimeDateStringQueryParams stringQuery(@javax.annotation.Nullable final String value) {
put("string_query", EncodingUtils.encode(value)); put("string_query", EncodingUtils.encode(value));
return this; return this;
} }
@ -212,7 +212,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryIntegerBooleanString(@Param("integerQuery") Integer integerQuery, @Param("booleanQuery") Boolean booleanQuery, @Param("stringQuery") String stringQuery); String testQueryIntegerBooleanString(@Param("integerQuery") @javax.annotation.Nullable Integer integerQuery, @Param("booleanQuery") @javax.annotation.Nullable Boolean booleanQuery, @Param("stringQuery") @javax.annotation.Nullable String stringQuery);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -227,7 +227,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@Param("integerQuery") Integer integerQuery, @Param("booleanQuery") Boolean booleanQuery, @Param("stringQuery") String stringQuery); ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@Param("integerQuery") @javax.annotation.Nullable Integer integerQuery, @Param("booleanQuery") @javax.annotation.Nullable Boolean booleanQuery, @Param("stringQuery") @javax.annotation.Nullable String stringQuery);
/** /**
@ -279,15 +279,15 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryIntegerBooleanString</code> method in a fluent style. * <code>testQueryIntegerBooleanString</code> method in a fluent style.
*/ */
public static class TestQueryIntegerBooleanStringQueryParams extends HashMap<String, Object> { public static class TestQueryIntegerBooleanStringQueryParams extends HashMap<String, Object> {
public TestQueryIntegerBooleanStringQueryParams integerQuery(final Integer value) { public TestQueryIntegerBooleanStringQueryParams integerQuery(@javax.annotation.Nullable final Integer value) {
put("integer_query", EncodingUtils.encode(value)); put("integer_query", EncodingUtils.encode(value));
return this; return this;
} }
public TestQueryIntegerBooleanStringQueryParams booleanQuery(final Boolean value) { public TestQueryIntegerBooleanStringQueryParams booleanQuery(@javax.annotation.Nullable final Boolean value) {
put("boolean_query", EncodingUtils.encode(value)); put("boolean_query", EncodingUtils.encode(value));
return this; return this;
} }
public TestQueryIntegerBooleanStringQueryParams stringQuery(final String value) { public TestQueryIntegerBooleanStringQueryParams stringQuery(@javax.annotation.Nullable final String value) {
put("string_query", EncodingUtils.encode(value)); put("string_query", EncodingUtils.encode(value));
return this; return this;
} }
@ -303,7 +303,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleDeepObjectExplodeTrueObject(@Param("queryObject") Pet queryObject); String testQueryStyleDeepObjectExplodeTrueObject(@Param("queryObject") @javax.annotation.Nullable Pet queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -316,7 +316,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@Param("queryObject") Pet queryObject); ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable Pet queryObject);
/** /**
@ -364,7 +364,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleDeepObjectExplodeTrueObject</code> method in a fluent style. * <code>testQueryStyleDeepObjectExplodeTrueObject</code> method in a fluent style.
*/ */
public static class TestQueryStyleDeepObjectExplodeTrueObjectQueryParams extends HashMap<String, Object> { public static class TestQueryStyleDeepObjectExplodeTrueObjectQueryParams extends HashMap<String, Object> {
public TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryObject(final Pet value) { public TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryObject(@javax.annotation.Nullable final Pet value) {
put("query_object", EncodingUtils.encode(value)); put("query_object", EncodingUtils.encode(value));
return this; return this;
} }
@ -380,7 +380,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@Param("queryObject") TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject); String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@Param("queryObject") @javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -393,7 +393,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@Param("queryObject") TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject); ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject);
/** /**
@ -441,7 +441,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleDeepObjectExplodeTrueObjectAllOf</code> method in a fluent style. * <code>testQueryStyleDeepObjectExplodeTrueObjectAllOf</code> method in a fluent style.
*/ */
public static class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams extends HashMap<String, Object> { public static class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams extends HashMap<String, Object> {
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryObject(final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter value) { public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryObject(@javax.annotation.Nullable final TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter value) {
put("query_object", EncodingUtils.encode(value)); put("query_object", EncodingUtils.encode(value));
return this; return this;
} }
@ -457,7 +457,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleFormExplodeFalseArrayInteger(@Param("queryObject") List<Integer> queryObject); String testQueryStyleFormExplodeFalseArrayInteger(@Param("queryObject") @javax.annotation.Nullable List<Integer> queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -470,7 +470,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@Param("queryObject") List<Integer> queryObject); ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable List<Integer> queryObject);
/** /**
@ -518,7 +518,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleFormExplodeFalseArrayInteger</code> method in a fluent style. * <code>testQueryStyleFormExplodeFalseArrayInteger</code> method in a fluent style.
*/ */
public static class TestQueryStyleFormExplodeFalseArrayIntegerQueryParams extends HashMap<String, Object> { public static class TestQueryStyleFormExplodeFalseArrayIntegerQueryParams extends HashMap<String, Object> {
public TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryObject(final List<Integer> value) { public TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryObject(@javax.annotation.Nullable final List<Integer> value) {
put("query_object", EncodingUtils.encodeCollection(value, "csv")); put("query_object", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -534,7 +534,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleFormExplodeFalseArrayString(@Param("queryObject") List<String> queryObject); String testQueryStyleFormExplodeFalseArrayString(@Param("queryObject") @javax.annotation.Nullable List<String> queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -547,7 +547,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@Param("queryObject") List<String> queryObject); ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable List<String> queryObject);
/** /**
@ -595,7 +595,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleFormExplodeFalseArrayString</code> method in a fluent style. * <code>testQueryStyleFormExplodeFalseArrayString</code> method in a fluent style.
*/ */
public static class TestQueryStyleFormExplodeFalseArrayStringQueryParams extends HashMap<String, Object> { public static class TestQueryStyleFormExplodeFalseArrayStringQueryParams extends HashMap<String, Object> {
public TestQueryStyleFormExplodeFalseArrayStringQueryParams queryObject(final List<String> value) { public TestQueryStyleFormExplodeFalseArrayStringQueryParams queryObject(@javax.annotation.Nullable final List<String> value) {
put("query_object", EncodingUtils.encodeCollection(value, "csv")); put("query_object", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -611,7 +611,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleFormExplodeTrueArrayString(@Param("queryObject") TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject); String testQueryStyleFormExplodeTrueArrayString(@Param("queryObject") @javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -624,7 +624,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@Param("queryObject") TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject); ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject);
/** /**
@ -672,7 +672,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleFormExplodeTrueArrayString</code> method in a fluent style. * <code>testQueryStyleFormExplodeTrueArrayString</code> method in a fluent style.
*/ */
public static class TestQueryStyleFormExplodeTrueArrayStringQueryParams extends HashMap<String, Object> { public static class TestQueryStyleFormExplodeTrueArrayStringQueryParams extends HashMap<String, Object> {
public TestQueryStyleFormExplodeTrueArrayStringQueryParams queryObject(final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter value) { public TestQueryStyleFormExplodeTrueArrayStringQueryParams queryObject(@javax.annotation.Nullable final TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter value) {
put("query_object", EncodingUtils.encode(value)); put("query_object", EncodingUtils.encode(value));
return this; return this;
} }
@ -688,7 +688,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleFormExplodeTrueObject(@Param("queryObject") Pet queryObject); String testQueryStyleFormExplodeTrueObject(@Param("queryObject") @javax.annotation.Nullable Pet queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -701,7 +701,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@Param("queryObject") Pet queryObject); ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable Pet queryObject);
/** /**
@ -749,7 +749,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleFormExplodeTrueObject</code> method in a fluent style. * <code>testQueryStyleFormExplodeTrueObject</code> method in a fluent style.
*/ */
public static class TestQueryStyleFormExplodeTrueObjectQueryParams extends HashMap<String, Object> { public static class TestQueryStyleFormExplodeTrueObjectQueryParams extends HashMap<String, Object> {
public TestQueryStyleFormExplodeTrueObjectQueryParams queryObject(final Pet value) { public TestQueryStyleFormExplodeTrueObjectQueryParams queryObject(@javax.annotation.Nullable final Pet value) {
put("query_object", EncodingUtils.encode(value)); put("query_object", EncodingUtils.encode(value));
return this; return this;
} }
@ -765,7 +765,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
String testQueryStyleFormExplodeTrueObjectAllOf(@Param("queryObject") DataQuery queryObject); String testQueryStyleFormExplodeTrueObjectAllOf(@Param("queryObject") @javax.annotation.Nullable DataQuery queryObject);
/** /**
* Test query parameter(s) * Test query parameter(s)
@ -778,7 +778,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: text/plain", "Accept: text/plain",
}) })
ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@Param("queryObject") DataQuery queryObject); ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@Param("queryObject") @javax.annotation.Nullable DataQuery queryObject);
/** /**
@ -826,7 +826,7 @@ public interface QueryApi extends ApiClient.Api {
* <code>testQueryStyleFormExplodeTrueObjectAllOf</code> method in a fluent style. * <code>testQueryStyleFormExplodeTrueObjectAllOf</code> method in a fluent style.
*/ */
public static class TestQueryStyleFormExplodeTrueObjectAllOfQueryParams extends HashMap<String, Object> { public static class TestQueryStyleFormExplodeTrueObjectAllOfQueryParams extends HashMap<String, Object> {
public TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryObject(final DataQuery value) { public TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryObject(@javax.annotation.Nullable final DataQuery value) {
put("query_object", EncodingUtils.encode(value)); put("query_object", EncodingUtils.encode(value));
return this; return this;
} }

View File

@ -175,7 +175,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyApplicationOctetstreamBinary(File body) throws ApiException { public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body) throws ApiException {
ApiResponse<String> localVarResponse = testBodyApplicationOctetstreamBinaryWithHttpInfo(body); ApiResponse<String> localVarResponse = testBodyApplicationOctetstreamBinaryWithHttpInfo(body);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -187,7 +187,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(File body) throws ApiException { public ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(@javax.annotation.Nullable File body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testBodyApplicationOctetstreamBinaryRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = testBodyApplicationOctetstreamBinaryRequestBuilder(body);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -224,7 +224,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testBodyApplicationOctetstreamBinaryRequestBuilder(File body) throws ApiException { private HttpRequest.Builder testBodyApplicationOctetstreamBinaryRequestBuilder(@javax.annotation.Nullable File body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -257,7 +257,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws ApiException { public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files) throws ApiException {
ApiResponse<String> localVarResponse = testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(files); ApiResponse<String> localVarResponse = testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(files);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -269,7 +269,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(List<File> files) throws ApiException { public ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@javax.annotation.Nonnull List<File> files) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testBodyMultipartFormdataArrayOfBinaryRequestBuilder(files); HttpRequest.Builder localVarRequestBuilder = testBodyMultipartFormdataArrayOfBinaryRequestBuilder(files);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -306,7 +306,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testBodyMultipartFormdataArrayOfBinaryRequestBuilder(List<File> files) throws ApiException { private HttpRequest.Builder testBodyMultipartFormdataArrayOfBinaryRequestBuilder(@javax.annotation.Nonnull List<File> files) throws ApiException {
// verify the required parameter 'files' is set // verify the required parameter 'files' is set
if (files == null) { if (files == null) {
throw new ApiException(400, "Missing the required parameter 'files' when calling testBodyMultipartFormdataArrayOfBinary"); throw new ApiException(400, "Missing the required parameter 'files' when calling testBodyMultipartFormdataArrayOfBinary");
@ -372,7 +372,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile) throws ApiException { public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile) throws ApiException {
ApiResponse<String> localVarResponse = testBodyMultipartFormdataSingleBinaryWithHttpInfo(myFile); ApiResponse<String> localVarResponse = testBodyMultipartFormdataSingleBinaryWithHttpInfo(myFile);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -384,7 +384,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(File myFile) throws ApiException { public ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@javax.annotation.Nullable File myFile) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testBodyMultipartFormdataSingleBinaryRequestBuilder(myFile); HttpRequest.Builder localVarRequestBuilder = testBodyMultipartFormdataSingleBinaryRequestBuilder(myFile);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -421,7 +421,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testBodyMultipartFormdataSingleBinaryRequestBuilder(File myFile) throws ApiException { private HttpRequest.Builder testBodyMultipartFormdataSingleBinaryRequestBuilder(@javax.annotation.Nullable File myFile) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -481,7 +481,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyAllOfPet(Pet pet) throws ApiException { public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<Pet> localVarResponse = testEchoBodyAllOfPetWithHttpInfo(pet); ApiResponse<Pet> localVarResponse = testEchoBodyAllOfPetWithHttpInfo(pet);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -493,7 +493,7 @@ public class BodyApi {
* @return ApiResponse&lt;Pet&gt; * @return ApiResponse&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyAllOfPetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = testEchoBodyAllOfPetRequestBuilder(pet);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -533,7 +533,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyAllOfPetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder testEchoBodyAllOfPetRequestBuilder(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -566,7 +566,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body) throws ApiException { public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body) throws ApiException {
ApiResponse<String> localVarResponse = testEchoBodyFreeFormObjectResponseStringWithHttpInfo(body); ApiResponse<String> localVarResponse = testEchoBodyFreeFormObjectResponseStringWithHttpInfo(body);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -578,7 +578,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(Object body) throws ApiException { public ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(@javax.annotation.Nullable Object body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyFreeFormObjectResponseStringRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = testEchoBodyFreeFormObjectResponseStringRequestBuilder(body);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -615,7 +615,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyFreeFormObjectResponseStringRequestBuilder(Object body) throws ApiException { private HttpRequest.Builder testEchoBodyFreeFormObjectResponseStringRequestBuilder(@javax.annotation.Nullable Object body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -648,7 +648,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyPet(Pet pet) throws ApiException { public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<Pet> localVarResponse = testEchoBodyPetWithHttpInfo(pet); ApiResponse<Pet> localVarResponse = testEchoBodyPetWithHttpInfo(pet);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -660,7 +660,7 @@ public class BodyApi {
* @return ApiResponse&lt;Pet&gt; * @return ApiResponse&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Pet> testEchoBodyPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> testEchoBodyPetWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyPetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = testEchoBodyPetRequestBuilder(pet);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -700,7 +700,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyPetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder testEchoBodyPetRequestBuilder(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -733,7 +733,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyPetResponseString(Pet pet) throws ApiException { public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<String> localVarResponse = testEchoBodyPetResponseStringWithHttpInfo(pet); ApiResponse<String> localVarResponse = testEchoBodyPetResponseStringWithHttpInfo(pet);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -745,7 +745,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyPetResponseStringRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = testEchoBodyPetResponseStringRequestBuilder(pet);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -782,7 +782,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyPetResponseStringRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder testEchoBodyPetResponseStringRequestBuilder(@javax.annotation.Nullable Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -815,7 +815,7 @@ public class BodyApi {
* @return StringEnumRef * @return StringEnumRef
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public StringEnumRef testEchoBodyStringEnum(String body) throws ApiException { public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body) throws ApiException {
ApiResponse<StringEnumRef> localVarResponse = testEchoBodyStringEnumWithHttpInfo(body); ApiResponse<StringEnumRef> localVarResponse = testEchoBodyStringEnumWithHttpInfo(body);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -827,7 +827,7 @@ public class BodyApi {
* @return ApiResponse&lt;StringEnumRef&gt; * @return ApiResponse&lt;StringEnumRef&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(String body) throws ApiException { public ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(@javax.annotation.Nullable String body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyStringEnumRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = testEchoBodyStringEnumRequestBuilder(body);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -867,7 +867,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyStringEnumRequestBuilder(String body) throws ApiException { private HttpRequest.Builder testEchoBodyStringEnumRequestBuilder(@javax.annotation.Nullable String body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -900,7 +900,7 @@ public class BodyApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyTagResponseString(Tag tag) throws ApiException { public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag) throws ApiException {
ApiResponse<String> localVarResponse = testEchoBodyTagResponseStringWithHttpInfo(tag); ApiResponse<String> localVarResponse = testEchoBodyTagResponseStringWithHttpInfo(tag);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -912,7 +912,7 @@ public class BodyApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(Tag tag) throws ApiException { public ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(@javax.annotation.Nullable Tag tag) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEchoBodyTagResponseStringRequestBuilder(tag); HttpRequest.Builder localVarRequestBuilder = testEchoBodyTagResponseStringRequestBuilder(tag);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -949,7 +949,7 @@ public class BodyApi {
} }
} }
private HttpRequest.Builder testEchoBodyTagResponseStringRequestBuilder(Tag tag) throws ApiException { private HttpRequest.Builder testEchoBodyTagResponseStringRequestBuilder(@javax.annotation.Nullable Tag tag) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();

View File

@ -97,7 +97,7 @@ public class FormApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
ApiResponse<String> localVarResponse = testFormIntegerBooleanStringWithHttpInfo(integerForm, booleanForm, stringForm); ApiResponse<String> localVarResponse = testFormIntegerBooleanStringWithHttpInfo(integerForm, booleanForm, stringForm);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -111,7 +111,7 @@ public class FormApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testFormIntegerBooleanStringRequestBuilder(integerForm, booleanForm, stringForm); HttpRequest.Builder localVarRequestBuilder = testFormIntegerBooleanStringRequestBuilder(integerForm, booleanForm, stringForm);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -148,7 +148,7 @@ public class FormApi {
} }
} }
private HttpRequest.Builder testFormIntegerBooleanStringRequestBuilder(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { private HttpRequest.Builder testFormIntegerBooleanStringRequestBuilder(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -195,7 +195,7 @@ public class FormApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws ApiException { public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
ApiResponse<String> localVarResponse = testFormObjectMultipartWithHttpInfo(marker); ApiResponse<String> localVarResponse = testFormObjectMultipartWithHttpInfo(marker);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -207,7 +207,7 @@ public class FormApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testFormObjectMultipartWithHttpInfo(TestFormObjectMultipartRequestMarker marker) throws ApiException { public ApiResponse<String> testFormObjectMultipartWithHttpInfo(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testFormObjectMultipartRequestBuilder(marker); HttpRequest.Builder localVarRequestBuilder = testFormObjectMultipartRequestBuilder(marker);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -244,7 +244,7 @@ public class FormApi {
} }
} }
private HttpRequest.Builder testFormObjectMultipartRequestBuilder(TestFormObjectMultipartRequestMarker marker) throws ApiException { private HttpRequest.Builder testFormObjectMultipartRequestBuilder(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
// verify the required parameter 'marker' is set // verify the required parameter 'marker' is set
if (marker == null) { if (marker == null) {
throw new ApiException(400, "Missing the required parameter 'marker' when calling testFormObjectMultipart"); throw new ApiException(400, "Missing the required parameter 'marker' when calling testFormObjectMultipart");
@ -312,7 +312,7 @@ public class FormApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
ApiResponse<String> localVarResponse = testFormOneofWithHttpInfo(form1, form2, form3, form4, id, name); ApiResponse<String> localVarResponse = testFormOneofWithHttpInfo(form1, form2, form3, form4, id, name);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -329,7 +329,7 @@ public class FormApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testFormOneofWithHttpInfo(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public ApiResponse<String> testFormOneofWithHttpInfo(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testFormOneofRequestBuilder(form1, form2, form3, form4, id, name); HttpRequest.Builder localVarRequestBuilder = testFormOneofRequestBuilder(form1, form2, form3, form4, id, name);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -366,7 +366,7 @@ public class FormApi {
} }
} }
private HttpRequest.Builder testFormOneofRequestBuilder(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { private HttpRequest.Builder testFormOneofRequestBuilder(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();

View File

@ -99,7 +99,7 @@ public class HeaderApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
ApiResponse<String> localVarResponse = testHeaderIntegerBooleanStringEnumsWithHttpInfo(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader); ApiResponse<String> localVarResponse = testHeaderIntegerBooleanStringEnumsWithHttpInfo(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -115,7 +115,7 @@ public class HeaderApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testHeaderIntegerBooleanStringEnumsRequestBuilder(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader); HttpRequest.Builder localVarRequestBuilder = testHeaderIntegerBooleanStringEnumsRequestBuilder(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -152,7 +152,7 @@ public class HeaderApi {
} }
} }
private HttpRequest.Builder testHeaderIntegerBooleanStringEnumsRequestBuilder(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { private HttpRequest.Builder testHeaderIntegerBooleanStringEnumsRequestBuilder(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();

View File

@ -98,7 +98,7 @@ public class PathApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
ApiResponse<String> localVarResponse = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath); ApiResponse<String> localVarResponse = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -113,7 +113,7 @@ public class PathApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath); HttpRequest.Builder localVarRequestBuilder = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -150,7 +150,7 @@ public class PathApi {
} }
} }
private HttpRequest.Builder testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { private HttpRequest.Builder testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
// verify the required parameter 'pathString' is set // verify the required parameter 'pathString' is set
if (pathString == null) { if (pathString == null) {
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"); throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");

View File

@ -102,7 +102,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
ApiResponse<String> localVarResponse = testEnumRefStringWithHttpInfo(enumNonrefStringQuery, enumRefStringQuery); ApiResponse<String> localVarResponse = testEnumRefStringWithHttpInfo(enumNonrefStringQuery, enumRefStringQuery);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -115,7 +115,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testEnumRefStringWithHttpInfo(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public ApiResponse<String> testEnumRefStringWithHttpInfo(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testEnumRefStringRequestBuilder(enumNonrefStringQuery, enumRefStringQuery); HttpRequest.Builder localVarRequestBuilder = testEnumRefStringRequestBuilder(enumNonrefStringQuery, enumRefStringQuery);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -152,7 +152,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testEnumRefStringRequestBuilder(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { private HttpRequest.Builder testEnumRefStringRequestBuilder(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -198,7 +198,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryDatetimeDateString(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public String testQueryDatetimeDateString(@javax.annotation.Nullable Instant datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
ApiResponse<String> localVarResponse = testQueryDatetimeDateStringWithHttpInfo(datetimeQuery, dateQuery, stringQuery); ApiResponse<String> localVarResponse = testQueryDatetimeDateStringWithHttpInfo(datetimeQuery, dateQuery, stringQuery);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -212,7 +212,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@javax.annotation.Nullable Instant datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryDatetimeDateStringRequestBuilder(datetimeQuery, dateQuery, stringQuery); HttpRequest.Builder localVarRequestBuilder = testQueryDatetimeDateStringRequestBuilder(datetimeQuery, dateQuery, stringQuery);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -249,7 +249,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryDatetimeDateStringRequestBuilder(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { private HttpRequest.Builder testQueryDatetimeDateStringRequestBuilder(@javax.annotation.Nullable Instant datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -297,7 +297,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
ApiResponse<String> localVarResponse = testQueryIntegerBooleanStringWithHttpInfo(integerQuery, booleanQuery, stringQuery); ApiResponse<String> localVarResponse = testQueryIntegerBooleanStringWithHttpInfo(integerQuery, booleanQuery, stringQuery);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -311,7 +311,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryIntegerBooleanStringRequestBuilder(integerQuery, booleanQuery, stringQuery); HttpRequest.Builder localVarRequestBuilder = testQueryIntegerBooleanStringRequestBuilder(integerQuery, booleanQuery, stringQuery);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -348,7 +348,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryIntegerBooleanStringRequestBuilder(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { private HttpRequest.Builder testQueryIntegerBooleanStringRequestBuilder(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -394,7 +394,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -406,7 +406,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(Pet queryObject) throws ApiException { public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@javax.annotation.Nullable Pet queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleDeepObjectExplodeTrueObjectRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleDeepObjectExplodeTrueObjectRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -443,7 +443,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleDeepObjectExplodeTrueObjectRequestBuilder(Pet queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleDeepObjectExplodeTrueObjectRequestBuilder(@javax.annotation.Nullable Pet queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -490,7 +490,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -502,7 +502,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -539,7 +539,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestBuilder(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestBuilder(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -586,7 +586,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -598,7 +598,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List<Integer> queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeFalseArrayIntegerRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeFalseArrayIntegerRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -635,7 +635,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleFormExplodeFalseArrayIntegerRequestBuilder(List<Integer> queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleFormExplodeFalseArrayIntegerRequestBuilder(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -677,7 +677,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -689,7 +689,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(List<String> queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeFalseArrayStringRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeFalseArrayStringRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -726,7 +726,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleFormExplodeFalseArrayStringRequestBuilder(List<String> queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleFormExplodeFalseArrayStringRequestBuilder(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -768,7 +768,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -780,7 +780,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueArrayStringRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueArrayStringRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -817,7 +817,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleFormExplodeTrueArrayStringRequestBuilder(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleFormExplodeTrueArrayStringRequestBuilder(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -859,7 +859,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueObjectWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueObjectWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -871,7 +871,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(Pet queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@javax.annotation.Nullable Pet queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueObjectRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueObjectRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -908,7 +908,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleFormExplodeTrueObjectRequestBuilder(Pet queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleFormExplodeTrueObjectRequestBuilder(@javax.annotation.Nullable Pet queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -955,7 +955,7 @@ public class QueryApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(queryObject); ApiResponse<String> localVarResponse = testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(queryObject);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -967,7 +967,7 @@ public class QueryApi {
* @return ApiResponse&lt;String&gt; * @return ApiResponse&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(DataQuery queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueObjectAllOfRequestBuilder(queryObject); HttpRequest.Builder localVarRequestBuilder = testQueryStyleFormExplodeTrueObjectAllOfRequestBuilder(queryObject);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -1004,7 +1004,7 @@ public class QueryApi {
} }
} }
private HttpRequest.Builder testQueryStyleFormExplodeTrueObjectAllOfRequestBuilder(DataQuery queryObject) throws ApiException { private HttpRequest.Builder testQueryStyleFormExplodeTrueObjectAllOfRequestBuilder(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();

View File

@ -88,7 +88,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call addPetCall(Pet pet, final ApiCallback _callback) throws ApiException { public okhttp3.Call addPetCall(@javax.annotation.Nonnull Pet pet, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -136,7 +136,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call addPetValidateBeforeCall(Pet pet, final ApiCallback _callback) throws ApiException { private okhttp3.Call addPetValidateBeforeCall(@javax.annotation.Nonnull Pet pet, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException("Missing the required parameter 'pet' when calling addPet(Async)"); throw new ApiException("Missing the required parameter 'pet' when calling addPet(Async)");
@ -160,7 +160,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public Pet addPet(Pet pet) throws ApiException { public Pet addPet(@javax.annotation.Nonnull Pet pet) throws ApiException {
ApiResponse<Pet> localVarResp = addPetWithHttpInfo(pet); ApiResponse<Pet> localVarResp = addPetWithHttpInfo(pet);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -179,7 +179,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> addPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> addPetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws ApiException {
okhttp3.Call localVarCall = addPetValidateBeforeCall(pet, null); okhttp3.Call localVarCall = addPetValidateBeforeCall(pet, null);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -200,7 +200,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call addPetAsync(Pet pet, final ApiCallback<Pet> _callback) throws ApiException { public okhttp3.Call addPetAsync(@javax.annotation.Nonnull Pet pet, final ApiCallback<Pet> _callback) throws ApiException {
okhttp3.Call localVarCall = addPetValidateBeforeCall(pet, _callback); okhttp3.Call localVarCall = addPetValidateBeforeCall(pet, _callback);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
@ -221,7 +221,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deletePetCall(Long petId, String apiKey, final ApiCallback _callback) throws ApiException { public okhttp3.Call deletePetCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -271,7 +271,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call deletePetValidateBeforeCall(Long petId, String apiKey, final ApiCallback _callback) throws ApiException { private okhttp3.Call deletePetValidateBeforeCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException("Missing the required parameter 'petId' when calling deletePet(Async)"); throw new ApiException("Missing the required parameter 'petId' when calling deletePet(Async)");
@ -294,7 +294,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
deletePetWithHttpInfo(petId, apiKey); deletePetWithHttpInfo(petId, apiKey);
} }
@ -312,7 +312,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public ApiResponse<Void> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
okhttp3.Call localVarCall = deletePetValidateBeforeCall(petId, apiKey, null); okhttp3.Call localVarCall = deletePetValidateBeforeCall(petId, apiKey, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -332,7 +332,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deletePetAsync(Long petId, String apiKey, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call deletePetAsync(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = deletePetValidateBeforeCall(petId, apiKey, _callback); okhttp3.Call localVarCall = deletePetValidateBeforeCall(petId, apiKey, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -352,7 +352,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call findPetsByStatusCall(List<String> status, final ApiCallback _callback) throws ApiException { public okhttp3.Call findPetsByStatusCall(@javax.annotation.Nonnull List<String> status, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -402,7 +402,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call findPetsByStatusValidateBeforeCall(List<String> status, final ApiCallback _callback) throws ApiException { private okhttp3.Call findPetsByStatusValidateBeforeCall(@javax.annotation.Nonnull List<String> status, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) { if (status == null) {
throw new ApiException("Missing the required parameter 'status' when calling findPetsByStatus(Async)"); throw new ApiException("Missing the required parameter 'status' when calling findPetsByStatus(Async)");
@ -426,7 +426,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws ApiException {
ApiResponse<List<Pet>> localVarResp = findPetsByStatusWithHttpInfo(status); ApiResponse<List<Pet>> localVarResp = findPetsByStatusWithHttpInfo(status);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -445,7 +445,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@javax.annotation.Nonnull List<String> status) throws ApiException {
okhttp3.Call localVarCall = findPetsByStatusValidateBeforeCall(status, null); okhttp3.Call localVarCall = findPetsByStatusValidateBeforeCall(status, null);
Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType(); Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -466,7 +466,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call findPetsByStatusAsync(List<String> status, final ApiCallback<List<Pet>> _callback) throws ApiException { public okhttp3.Call findPetsByStatusAsync(@javax.annotation.Nonnull List<String> status, final ApiCallback<List<Pet>> _callback) throws ApiException {
okhttp3.Call localVarCall = findPetsByStatusValidateBeforeCall(status, _callback); okhttp3.Call localVarCall = findPetsByStatusValidateBeforeCall(status, _callback);
Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType(); Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType();
@ -489,7 +489,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public okhttp3.Call findPetsByTagsCall(List<String> tags, final ApiCallback _callback) throws ApiException { public okhttp3.Call findPetsByTagsCall(@javax.annotation.Nonnull List<String> tags, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -540,7 +540,7 @@ public class PetApi {
@Deprecated @Deprecated
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call findPetsByTagsValidateBeforeCall(List<String> tags, final ApiCallback _callback) throws ApiException { private okhttp3.Call findPetsByTagsValidateBeforeCall(@javax.annotation.Nonnull List<String> tags, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) { if (tags == null) {
throw new ApiException("Missing the required parameter 'tags' when calling findPetsByTags(Async)"); throw new ApiException("Missing the required parameter 'tags' when calling findPetsByTags(Async)");
@ -566,7 +566,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public List<Pet> findPetsByTags(List<String> tags) throws ApiException { public List<Pet> findPetsByTags(@javax.annotation.Nonnull List<String> tags) throws ApiException {
ApiResponse<List<Pet>> localVarResp = findPetsByTagsWithHttpInfo(tags); ApiResponse<List<Pet>> localVarResp = findPetsByTagsWithHttpInfo(tags);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -587,7 +587,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(List<String> tags) throws ApiException { public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(@javax.annotation.Nonnull List<String> tags) throws ApiException {
okhttp3.Call localVarCall = findPetsByTagsValidateBeforeCall(tags, null); okhttp3.Call localVarCall = findPetsByTagsValidateBeforeCall(tags, null);
Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType(); Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -610,7 +610,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public okhttp3.Call findPetsByTagsAsync(List<String> tags, final ApiCallback<List<Pet>> _callback) throws ApiException { public okhttp3.Call findPetsByTagsAsync(@javax.annotation.Nonnull List<String> tags, final ApiCallback<List<Pet>> _callback) throws ApiException {
okhttp3.Call localVarCall = findPetsByTagsValidateBeforeCall(tags, _callback); okhttp3.Call localVarCall = findPetsByTagsValidateBeforeCall(tags, _callback);
Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType(); Type localVarReturnType = new TypeToken<List<Pet>>(){}.getType();
@ -632,7 +632,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getPetByIdCall(Long petId, final ApiCallback _callback) throws ApiException { public okhttp3.Call getPetByIdCall(@javax.annotation.Nonnull Long petId, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -679,7 +679,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call getPetByIdValidateBeforeCall(Long petId, final ApiCallback _callback) throws ApiException { private okhttp3.Call getPetByIdValidateBeforeCall(@javax.annotation.Nonnull Long petId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException("Missing the required parameter 'petId' when calling getPetById(Async)"); throw new ApiException("Missing the required parameter 'petId' when calling getPetById(Async)");
@ -704,7 +704,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@javax.annotation.Nonnull Long petId) throws ApiException {
ApiResponse<Pet> localVarResp = getPetByIdWithHttpInfo(petId); ApiResponse<Pet> localVarResp = getPetByIdWithHttpInfo(petId);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -724,7 +724,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> getPetByIdWithHttpInfo(Long petId) throws ApiException { public ApiResponse<Pet> getPetByIdWithHttpInfo(@javax.annotation.Nonnull Long petId) throws ApiException {
okhttp3.Call localVarCall = getPetByIdValidateBeforeCall(petId, null); okhttp3.Call localVarCall = getPetByIdValidateBeforeCall(petId, null);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -746,7 +746,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getPetByIdAsync(Long petId, final ApiCallback<Pet> _callback) throws ApiException { public okhttp3.Call getPetByIdAsync(@javax.annotation.Nonnull Long petId, final ApiCallback<Pet> _callback) throws ApiException {
okhttp3.Call localVarCall = getPetByIdValidateBeforeCall(petId, _callback); okhttp3.Call localVarCall = getPetByIdValidateBeforeCall(petId, _callback);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
@ -771,7 +771,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public okhttp3.Call updatePetCall(Pet pet, final ApiCallback _callback) throws ApiException { public okhttp3.Call updatePetCall(@javax.annotation.Nonnull Pet pet, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -819,7 +819,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call updatePetValidateBeforeCall(Pet pet, final ApiCallback _callback) throws ApiException { private okhttp3.Call updatePetValidateBeforeCall(@javax.annotation.Nonnull Pet pet, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException("Missing the required parameter 'pet' when calling updatePet(Async)"); throw new ApiException("Missing the required parameter 'pet' when calling updatePet(Async)");
@ -847,7 +847,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public Pet updatePet(Pet pet) throws ApiException { public Pet updatePet(@javax.annotation.Nonnull Pet pet) throws ApiException {
ApiResponse<Pet> localVarResp = updatePetWithHttpInfo(pet); ApiResponse<Pet> localVarResp = updatePetWithHttpInfo(pet);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -870,7 +870,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public ApiResponse<Pet> updatePetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws ApiException {
okhttp3.Call localVarCall = updatePetValidateBeforeCall(pet, null); okhttp3.Call localVarCall = updatePetValidateBeforeCall(pet, null);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -895,7 +895,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public okhttp3.Call updatePetAsync(Pet pet, final ApiCallback<Pet> _callback) throws ApiException { public okhttp3.Call updatePetAsync(@javax.annotation.Nonnull Pet pet, final ApiCallback<Pet> _callback) throws ApiException {
okhttp3.Call localVarCall = updatePetValidateBeforeCall(pet, _callback); okhttp3.Call localVarCall = updatePetValidateBeforeCall(pet, _callback);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
@ -917,7 +917,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call updatePetWithFormCall(Long petId, String name, String status, final ApiCallback _callback) throws ApiException { public okhttp3.Call updatePetWithFormCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -971,7 +971,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call updatePetWithFormValidateBeforeCall(Long petId, String name, String status, final ApiCallback _callback) throws ApiException { private okhttp3.Call updatePetWithFormValidateBeforeCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException("Missing the required parameter 'petId' when calling updatePetWithForm(Async)"); throw new ApiException("Missing the required parameter 'petId' when calling updatePetWithForm(Async)");
@ -995,7 +995,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
updatePetWithFormWithHttpInfo(petId, name, status); updatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -1014,7 +1014,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public ApiResponse<Void> updatePetWithFormWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
okhttp3.Call localVarCall = updatePetWithFormValidateBeforeCall(petId, name, status, null); okhttp3.Call localVarCall = updatePetWithFormValidateBeforeCall(petId, name, status, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -1035,7 +1035,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call updatePetWithFormAsync(Long petId, String name, String status, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call updatePetWithFormAsync(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = updatePetWithFormValidateBeforeCall(petId, name, status, _callback); okhttp3.Call localVarCall = updatePetWithFormValidateBeforeCall(petId, name, status, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -1056,7 +1056,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call uploadFileCall(Long petId, String additionalMetadata, File _file, final ApiCallback _callback) throws ApiException { public okhttp3.Call uploadFileCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1111,7 +1111,7 @@ public class PetApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call uploadFileValidateBeforeCall(Long petId, String additionalMetadata, File _file, final ApiCallback _callback) throws ApiException { private okhttp3.Call uploadFileValidateBeforeCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException("Missing the required parameter 'petId' when calling uploadFile(Async)"); throw new ApiException("Missing the required parameter 'petId' when calling uploadFile(Async)");
@ -1136,7 +1136,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
ApiResponse<ModelApiResponse> localVarResp = uploadFileWithHttpInfo(petId, additionalMetadata, _file); ApiResponse<ModelApiResponse> localVarResp = uploadFileWithHttpInfo(petId, additionalMetadata, _file);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1156,7 +1156,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
okhttp3.Call localVarCall = uploadFileValidateBeforeCall(petId, additionalMetadata, _file, null); okhttp3.Call localVarCall = uploadFileValidateBeforeCall(petId, additionalMetadata, _file, null);
Type localVarReturnType = new TypeToken<ModelApiResponse>(){}.getType(); Type localVarReturnType = new TypeToken<ModelApiResponse>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1178,7 +1178,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call uploadFileAsync(Long petId, String additionalMetadata, File _file, final ApiCallback<ModelApiResponse> _callback) throws ApiException { public okhttp3.Call uploadFileAsync(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file, final ApiCallback<ModelApiResponse> _callback) throws ApiException {
okhttp3.Call localVarCall = uploadFileValidateBeforeCall(petId, additionalMetadata, _file, _callback); okhttp3.Call localVarCall = uploadFileValidateBeforeCall(petId, additionalMetadata, _file, _callback);
Type localVarReturnType = new TypeToken<ModelApiResponse>(){}.getType(); Type localVarReturnType = new TypeToken<ModelApiResponse>(){}.getType();

View File

@ -86,7 +86,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deleteOrderCall(String orderId, final ApiCallback _callback) throws ApiException { public okhttp3.Call deleteOrderCall(@javax.annotation.Nonnull String orderId, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -131,7 +131,7 @@ public class StoreApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call deleteOrderValidateBeforeCall(String orderId, final ApiCallback _callback) throws ApiException { private okhttp3.Call deleteOrderValidateBeforeCall(@javax.annotation.Nonnull String orderId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException("Missing the required parameter 'orderId' when calling deleteOrder(Async)"); throw new ApiException("Missing the required parameter 'orderId' when calling deleteOrder(Async)");
@ -154,7 +154,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@javax.annotation.Nonnull String orderId) throws ApiException {
deleteOrderWithHttpInfo(orderId); deleteOrderWithHttpInfo(orderId);
} }
@ -172,7 +172,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteOrderWithHttpInfo(String orderId) throws ApiException { public ApiResponse<Void> deleteOrderWithHttpInfo(@javax.annotation.Nonnull String orderId) throws ApiException {
okhttp3.Call localVarCall = deleteOrderValidateBeforeCall(orderId, null); okhttp3.Call localVarCall = deleteOrderValidateBeforeCall(orderId, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -192,7 +192,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deleteOrderAsync(String orderId, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call deleteOrderAsync(@javax.annotation.Nonnull String orderId, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = deleteOrderValidateBeforeCall(orderId, _callback); okhttp3.Call localVarCall = deleteOrderValidateBeforeCall(orderId, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -330,7 +330,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getOrderByIdCall(Long orderId, final ApiCallback _callback) throws ApiException { public okhttp3.Call getOrderByIdCall(@javax.annotation.Nonnull Long orderId, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -377,7 +377,7 @@ public class StoreApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call getOrderByIdValidateBeforeCall(Long orderId, final ApiCallback _callback) throws ApiException { private okhttp3.Call getOrderByIdValidateBeforeCall(@javax.annotation.Nonnull Long orderId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException("Missing the required parameter 'orderId' when calling getOrderById(Async)"); throw new ApiException("Missing the required parameter 'orderId' when calling getOrderById(Async)");
@ -402,7 +402,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@javax.annotation.Nonnull Long orderId) throws ApiException {
ApiResponse<Order> localVarResp = getOrderByIdWithHttpInfo(orderId); ApiResponse<Order> localVarResp = getOrderByIdWithHttpInfo(orderId);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -422,7 +422,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public ApiResponse<Order> getOrderByIdWithHttpInfo(@javax.annotation.Nonnull Long orderId) throws ApiException {
okhttp3.Call localVarCall = getOrderByIdValidateBeforeCall(orderId, null); okhttp3.Call localVarCall = getOrderByIdValidateBeforeCall(orderId, null);
Type localVarReturnType = new TypeToken<Order>(){}.getType(); Type localVarReturnType = new TypeToken<Order>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -444,7 +444,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getOrderByIdAsync(Long orderId, final ApiCallback<Order> _callback) throws ApiException { public okhttp3.Call getOrderByIdAsync(@javax.annotation.Nonnull Long orderId, final ApiCallback<Order> _callback) throws ApiException {
okhttp3.Call localVarCall = getOrderByIdValidateBeforeCall(orderId, _callback); okhttp3.Call localVarCall = getOrderByIdValidateBeforeCall(orderId, _callback);
Type localVarReturnType = new TypeToken<Order>(){}.getType(); Type localVarReturnType = new TypeToken<Order>(){}.getType();
@ -465,7 +465,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call placeOrderCall(Order order, final ApiCallback _callback) throws ApiException { public okhttp3.Call placeOrderCall(@javax.annotation.Nonnull Order order, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -512,7 +512,7 @@ public class StoreApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call placeOrderValidateBeforeCall(Order order, final ApiCallback _callback) throws ApiException { private okhttp3.Call placeOrderValidateBeforeCall(@javax.annotation.Nonnull Order order, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) { if (order == null) {
throw new ApiException("Missing the required parameter 'order' when calling placeOrder(Async)"); throw new ApiException("Missing the required parameter 'order' when calling placeOrder(Async)");
@ -536,7 +536,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public Order placeOrder(Order order) throws ApiException { public Order placeOrder(@javax.annotation.Nonnull Order order) throws ApiException {
ApiResponse<Order> localVarResp = placeOrderWithHttpInfo(order); ApiResponse<Order> localVarResp = placeOrderWithHttpInfo(order);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -555,7 +555,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> placeOrderWithHttpInfo(Order order) throws ApiException { public ApiResponse<Order> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order order) throws ApiException {
okhttp3.Call localVarCall = placeOrderValidateBeforeCall(order, null); okhttp3.Call localVarCall = placeOrderValidateBeforeCall(order, null);
Type localVarReturnType = new TypeToken<Order>(){}.getType(); Type localVarReturnType = new TypeToken<Order>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -576,7 +576,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call placeOrderAsync(Order order, final ApiCallback<Order> _callback) throws ApiException { public okhttp3.Call placeOrderAsync(@javax.annotation.Nonnull Order order, final ApiCallback<Order> _callback) throws ApiException {
okhttp3.Call localVarCall = placeOrderValidateBeforeCall(order, _callback); okhttp3.Call localVarCall = placeOrderValidateBeforeCall(order, _callback);
Type localVarReturnType = new TypeToken<Order>(){}.getType(); Type localVarReturnType = new TypeToken<Order>(){}.getType();

View File

@ -86,7 +86,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUserCall(User user, final ApiCallback _callback) throws ApiException { public okhttp3.Call createUserCall(@javax.annotation.Nonnull User user, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -131,7 +131,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call createUserValidateBeforeCall(User user, final ApiCallback _callback) throws ApiException { private okhttp3.Call createUserValidateBeforeCall(@javax.annotation.Nonnull User user, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException("Missing the required parameter 'user' when calling createUser(Async)"); throw new ApiException("Missing the required parameter 'user' when calling createUser(Async)");
@ -153,7 +153,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUser(User user) throws ApiException { public void createUser(@javax.annotation.Nonnull User user) throws ApiException {
createUserWithHttpInfo(user); createUserWithHttpInfo(user);
} }
@ -170,7 +170,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUserWithHttpInfo(User user) throws ApiException { public ApiResponse<Void> createUserWithHttpInfo(@javax.annotation.Nonnull User user) throws ApiException {
okhttp3.Call localVarCall = createUserValidateBeforeCall(user, null); okhttp3.Call localVarCall = createUserValidateBeforeCall(user, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -189,7 +189,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUserAsync(User user, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call createUserAsync(@javax.annotation.Nonnull User user, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = createUserValidateBeforeCall(user, _callback); okhttp3.Call localVarCall = createUserValidateBeforeCall(user, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -208,7 +208,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUsersWithArrayInputCall(List<User> user, final ApiCallback _callback) throws ApiException { public okhttp3.Call createUsersWithArrayInputCall(@javax.annotation.Nonnull List<User> user, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -253,7 +253,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call createUsersWithArrayInputValidateBeforeCall(List<User> user, final ApiCallback _callback) throws ApiException { private okhttp3.Call createUsersWithArrayInputValidateBeforeCall(@javax.annotation.Nonnull List<User> user, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException("Missing the required parameter 'user' when calling createUsersWithArrayInput(Async)"); throw new ApiException("Missing the required parameter 'user' when calling createUsersWithArrayInput(Async)");
@ -275,7 +275,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithArrayInput(List<User> user) throws ApiException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
createUsersWithArrayInputWithHttpInfo(user); createUsersWithArrayInputWithHttpInfo(user);
} }
@ -292,7 +292,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<User> user) throws ApiException { public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws ApiException {
okhttp3.Call localVarCall = createUsersWithArrayInputValidateBeforeCall(user, null); okhttp3.Call localVarCall = createUsersWithArrayInputValidateBeforeCall(user, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -311,7 +311,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUsersWithArrayInputAsync(List<User> user, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call createUsersWithArrayInputAsync(@javax.annotation.Nonnull List<User> user, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = createUsersWithArrayInputValidateBeforeCall(user, _callback); okhttp3.Call localVarCall = createUsersWithArrayInputValidateBeforeCall(user, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -330,7 +330,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUsersWithListInputCall(List<User> user, final ApiCallback _callback) throws ApiException { public okhttp3.Call createUsersWithListInputCall(@javax.annotation.Nonnull List<User> user, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -375,7 +375,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call createUsersWithListInputValidateBeforeCall(List<User> user, final ApiCallback _callback) throws ApiException { private okhttp3.Call createUsersWithListInputValidateBeforeCall(@javax.annotation.Nonnull List<User> user, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException("Missing the required parameter 'user' when calling createUsersWithListInput(Async)"); throw new ApiException("Missing the required parameter 'user' when calling createUsersWithListInput(Async)");
@ -397,7 +397,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithListInput(List<User> user) throws ApiException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
createUsersWithListInputWithHttpInfo(user); createUsersWithListInputWithHttpInfo(user);
} }
@ -414,7 +414,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<User> user) throws ApiException { public ApiResponse<Void> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws ApiException {
okhttp3.Call localVarCall = createUsersWithListInputValidateBeforeCall(user, null); okhttp3.Call localVarCall = createUsersWithListInputValidateBeforeCall(user, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -433,7 +433,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call createUsersWithListInputAsync(List<User> user, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call createUsersWithListInputAsync(@javax.annotation.Nonnull List<User> user, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = createUsersWithListInputValidateBeforeCall(user, _callback); okhttp3.Call localVarCall = createUsersWithListInputValidateBeforeCall(user, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -453,7 +453,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deleteUserCall(String username, final ApiCallback _callback) throws ApiException { public okhttp3.Call deleteUserCall(@javax.annotation.Nonnull String username, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -498,7 +498,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call deleteUserValidateBeforeCall(String username, final ApiCallback _callback) throws ApiException { private okhttp3.Call deleteUserValidateBeforeCall(@javax.annotation.Nonnull String username, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling deleteUser(Async)"); throw new ApiException("Missing the required parameter 'username' when calling deleteUser(Async)");
@ -521,7 +521,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteUser(String username) throws ApiException { public void deleteUser(@javax.annotation.Nonnull String username) throws ApiException {
deleteUserWithHttpInfo(username); deleteUserWithHttpInfo(username);
} }
@ -539,7 +539,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteUserWithHttpInfo(String username) throws ApiException { public ApiResponse<Void> deleteUserWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
okhttp3.Call localVarCall = deleteUserValidateBeforeCall(username, null); okhttp3.Call localVarCall = deleteUserValidateBeforeCall(username, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -559,7 +559,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call deleteUserAsync(String username, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call deleteUserAsync(@javax.annotation.Nonnull String username, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = deleteUserValidateBeforeCall(username, _callback); okhttp3.Call localVarCall = deleteUserValidateBeforeCall(username, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);
@ -580,7 +580,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getUserByNameCall(String username, final ApiCallback _callback) throws ApiException { public okhttp3.Call getUserByNameCall(@javax.annotation.Nonnull String username, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -627,7 +627,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call getUserByNameValidateBeforeCall(String username, final ApiCallback _callback) throws ApiException { private okhttp3.Call getUserByNameValidateBeforeCall(@javax.annotation.Nonnull String username, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling getUserByName(Async)"); throw new ApiException("Missing the required parameter 'username' when calling getUserByName(Async)");
@ -652,7 +652,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public User getUserByName(String username) throws ApiException { public User getUserByName(@javax.annotation.Nonnull String username) throws ApiException {
ApiResponse<User> localVarResp = getUserByNameWithHttpInfo(username); ApiResponse<User> localVarResp = getUserByNameWithHttpInfo(username);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -672,7 +672,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<User> getUserByNameWithHttpInfo(String username) throws ApiException { public ApiResponse<User> getUserByNameWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
okhttp3.Call localVarCall = getUserByNameValidateBeforeCall(username, null); okhttp3.Call localVarCall = getUserByNameValidateBeforeCall(username, null);
Type localVarReturnType = new TypeToken<User>(){}.getType(); Type localVarReturnType = new TypeToken<User>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -694,7 +694,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call getUserByNameAsync(String username, final ApiCallback<User> _callback) throws ApiException { public okhttp3.Call getUserByNameAsync(@javax.annotation.Nonnull String username, final ApiCallback<User> _callback) throws ApiException {
okhttp3.Call localVarCall = getUserByNameValidateBeforeCall(username, _callback); okhttp3.Call localVarCall = getUserByNameValidateBeforeCall(username, _callback);
Type localVarReturnType = new TypeToken<User>(){}.getType(); Type localVarReturnType = new TypeToken<User>(){}.getType();
@ -716,7 +716,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call loginUserCall(String username, String password, final ApiCallback _callback) throws ApiException { public okhttp3.Call loginUserCall(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -770,7 +770,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call loginUserValidateBeforeCall(String username, String password, final ApiCallback _callback) throws ApiException { private okhttp3.Call loginUserValidateBeforeCall(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling loginUser(Async)"); throw new ApiException("Missing the required parameter 'username' when calling loginUser(Async)");
@ -800,7 +800,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public String loginUser(String username, String password) throws ApiException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
ApiResponse<String> localVarResp = loginUserWithHttpInfo(username, password); ApiResponse<String> localVarResp = loginUserWithHttpInfo(username, password);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -820,7 +820,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> loginUserWithHttpInfo(String username, String password) throws ApiException { public ApiResponse<String> loginUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
okhttp3.Call localVarCall = loginUserValidateBeforeCall(username, password, null); okhttp3.Call localVarCall = loginUserValidateBeforeCall(username, password, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -842,7 +842,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call loginUserAsync(String username, String password, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call loginUserAsync(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = loginUserValidateBeforeCall(username, password, _callback); okhttp3.Call localVarCall = loginUserValidateBeforeCall(username, password, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -976,7 +976,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call updateUserCall(String username, User user, final ApiCallback _callback) throws ApiException { public okhttp3.Call updateUserCall(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1022,7 +1022,7 @@ public class UserApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call updateUserValidateBeforeCall(String username, User user, final ApiCallback _callback) throws ApiException { private okhttp3.Call updateUserValidateBeforeCall(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling updateUser(Async)"); throw new ApiException("Missing the required parameter 'username' when calling updateUser(Async)");
@ -1051,7 +1051,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void updateUser(String username, User user) throws ApiException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
updateUserWithHttpInfo(username, user); updateUserWithHttpInfo(username, user);
} }
@ -1070,7 +1070,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updateUserWithHttpInfo(String username, User user) throws ApiException { public ApiResponse<Void> updateUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
okhttp3.Call localVarCall = updateUserValidateBeforeCall(username, user, null); okhttp3.Call localVarCall = updateUserValidateBeforeCall(username, user, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -1091,7 +1091,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call updateUserAsync(String username, User user, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call updateUserAsync(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = updateUserValidateBeforeCall(username, user, _callback); okhttp3.Call localVarCall = updateUserValidateBeforeCall(username, user, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);

View File

@ -205,7 +205,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyApplicationOctetstreamBinaryCall(File body, final ApiCallback _callback) throws ApiException { public okhttp3.Call testBodyApplicationOctetstreamBinaryCall(@javax.annotation.Nullable File body, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -251,7 +251,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testBodyApplicationOctetstreamBinaryValidateBeforeCall(File body, final ApiCallback _callback) throws ApiException { private okhttp3.Call testBodyApplicationOctetstreamBinaryValidateBeforeCall(@javax.annotation.Nullable File body, final ApiCallback _callback) throws ApiException {
return testBodyApplicationOctetstreamBinaryCall(body, _callback); return testBodyApplicationOctetstreamBinaryCall(body, _callback);
} }
@ -269,7 +269,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testBodyApplicationOctetstreamBinary(File body) throws ApiException { public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body) throws ApiException {
ApiResponse<String> localVarResp = testBodyApplicationOctetstreamBinaryWithHttpInfo(body); ApiResponse<String> localVarResp = testBodyApplicationOctetstreamBinaryWithHttpInfo(body);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -287,7 +287,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(File body) throws ApiException { public ApiResponse<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(@javax.annotation.Nullable File body) throws ApiException {
okhttp3.Call localVarCall = testBodyApplicationOctetstreamBinaryValidateBeforeCall(body, null); okhttp3.Call localVarCall = testBodyApplicationOctetstreamBinaryValidateBeforeCall(body, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -307,7 +307,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyApplicationOctetstreamBinaryAsync(File body, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testBodyApplicationOctetstreamBinaryAsync(@javax.annotation.Nullable File body, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testBodyApplicationOctetstreamBinaryValidateBeforeCall(body, _callback); okhttp3.Call localVarCall = testBodyApplicationOctetstreamBinaryValidateBeforeCall(body, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -327,7 +327,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyMultipartFormdataArrayOfBinaryCall(List<File> files, final ApiCallback _callback) throws ApiException { public okhttp3.Call testBodyMultipartFormdataArrayOfBinaryCall(@javax.annotation.Nonnull List<File> files, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -377,7 +377,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(List<File> files, final ApiCallback _callback) throws ApiException { private okhttp3.Call testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(@javax.annotation.Nonnull List<File> files, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'files' is set // verify the required parameter 'files' is set
if (files == null) { if (files == null) {
throw new ApiException("Missing the required parameter 'files' when calling testBodyMultipartFormdataArrayOfBinary(Async)"); throw new ApiException("Missing the required parameter 'files' when calling testBodyMultipartFormdataArrayOfBinary(Async)");
@ -400,7 +400,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws ApiException { public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files) throws ApiException {
ApiResponse<String> localVarResp = testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(files); ApiResponse<String> localVarResp = testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(files);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -418,7 +418,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(List<File> files) throws ApiException { public ApiResponse<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@javax.annotation.Nonnull List<File> files) throws ApiException {
okhttp3.Call localVarCall = testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(files, null); okhttp3.Call localVarCall = testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(files, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -438,7 +438,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyMultipartFormdataArrayOfBinaryAsync(List<File> files, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testBodyMultipartFormdataArrayOfBinaryAsync(@javax.annotation.Nonnull List<File> files, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(files, _callback); okhttp3.Call localVarCall = testBodyMultipartFormdataArrayOfBinaryValidateBeforeCall(files, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -458,7 +458,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyMultipartFormdataSingleBinaryCall(File myFile, final ApiCallback _callback) throws ApiException { public okhttp3.Call testBodyMultipartFormdataSingleBinaryCall(@javax.annotation.Nullable File myFile, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -508,7 +508,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testBodyMultipartFormdataSingleBinaryValidateBeforeCall(File myFile, final ApiCallback _callback) throws ApiException { private okhttp3.Call testBodyMultipartFormdataSingleBinaryValidateBeforeCall(@javax.annotation.Nullable File myFile, final ApiCallback _callback) throws ApiException {
return testBodyMultipartFormdataSingleBinaryCall(myFile, _callback); return testBodyMultipartFormdataSingleBinaryCall(myFile, _callback);
} }
@ -526,7 +526,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile) throws ApiException { public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile) throws ApiException {
ApiResponse<String> localVarResp = testBodyMultipartFormdataSingleBinaryWithHttpInfo(myFile); ApiResponse<String> localVarResp = testBodyMultipartFormdataSingleBinaryWithHttpInfo(myFile);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -544,7 +544,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(File myFile) throws ApiException { public ApiResponse<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@javax.annotation.Nullable File myFile) throws ApiException {
okhttp3.Call localVarCall = testBodyMultipartFormdataSingleBinaryValidateBeforeCall(myFile, null); okhttp3.Call localVarCall = testBodyMultipartFormdataSingleBinaryValidateBeforeCall(myFile, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -564,7 +564,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testBodyMultipartFormdataSingleBinaryAsync(File myFile, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testBodyMultipartFormdataSingleBinaryAsync(@javax.annotation.Nullable File myFile, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testBodyMultipartFormdataSingleBinaryValidateBeforeCall(myFile, _callback); okhttp3.Call localVarCall = testBodyMultipartFormdataSingleBinaryValidateBeforeCall(myFile, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -584,7 +584,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyAllOfPetCall(Pet pet, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyAllOfPetCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -630,7 +630,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyAllOfPetValidateBeforeCall(Pet pet, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyAllOfPetValidateBeforeCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
return testEchoBodyAllOfPetCall(pet, _callback); return testEchoBodyAllOfPetCall(pet, _callback);
} }
@ -648,7 +648,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Pet testEchoBodyAllOfPet(Pet pet) throws ApiException { public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<Pet> localVarResp = testEchoBodyAllOfPetWithHttpInfo(pet); ApiResponse<Pet> localVarResp = testEchoBodyAllOfPetWithHttpInfo(pet);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -666,7 +666,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> testEchoBodyAllOfPetWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyAllOfPetValidateBeforeCall(pet, null); okhttp3.Call localVarCall = testEchoBodyAllOfPetValidateBeforeCall(pet, null);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -686,7 +686,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyAllOfPetAsync(Pet pet, final ApiCallback<Pet> _callback) throws ApiException { public okhttp3.Call testEchoBodyAllOfPetAsync(@javax.annotation.Nullable Pet pet, final ApiCallback<Pet> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyAllOfPetValidateBeforeCall(pet, _callback); okhttp3.Call localVarCall = testEchoBodyAllOfPetValidateBeforeCall(pet, _callback);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
@ -706,7 +706,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyFreeFormObjectResponseStringCall(Object body, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyFreeFormObjectResponseStringCall(@javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -752,7 +752,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(Object body, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(@javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException {
return testEchoBodyFreeFormObjectResponseStringCall(body, _callback); return testEchoBodyFreeFormObjectResponseStringCall(body, _callback);
} }
@ -770,7 +770,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body) throws ApiException { public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body) throws ApiException {
ApiResponse<String> localVarResp = testEchoBodyFreeFormObjectResponseStringWithHttpInfo(body); ApiResponse<String> localVarResp = testEchoBodyFreeFormObjectResponseStringWithHttpInfo(body);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -788,7 +788,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(Object body) throws ApiException { public ApiResponse<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(@javax.annotation.Nullable Object body) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(body, null); okhttp3.Call localVarCall = testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(body, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -808,7 +808,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyFreeFormObjectResponseStringAsync(Object body, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testEchoBodyFreeFormObjectResponseStringAsync(@javax.annotation.Nullable Object body, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(body, _callback); okhttp3.Call localVarCall = testEchoBodyFreeFormObjectResponseStringValidateBeforeCall(body, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -828,7 +828,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyPetCall(Pet pet, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyPetCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -874,7 +874,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyPetValidateBeforeCall(Pet pet, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyPetValidateBeforeCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
return testEchoBodyPetCall(pet, _callback); return testEchoBodyPetCall(pet, _callback);
} }
@ -892,7 +892,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Pet testEchoBodyPet(Pet pet) throws ApiException { public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<Pet> localVarResp = testEchoBodyPetWithHttpInfo(pet); ApiResponse<Pet> localVarResp = testEchoBodyPetWithHttpInfo(pet);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -910,7 +910,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> testEchoBodyPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> testEchoBodyPetWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyPetValidateBeforeCall(pet, null); okhttp3.Call localVarCall = testEchoBodyPetValidateBeforeCall(pet, null);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -930,7 +930,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyPetAsync(Pet pet, final ApiCallback<Pet> _callback) throws ApiException { public okhttp3.Call testEchoBodyPetAsync(@javax.annotation.Nullable Pet pet, final ApiCallback<Pet> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyPetValidateBeforeCall(pet, _callback); okhttp3.Call localVarCall = testEchoBodyPetValidateBeforeCall(pet, _callback);
Type localVarReturnType = new TypeToken<Pet>(){}.getType(); Type localVarReturnType = new TypeToken<Pet>(){}.getType();
@ -950,7 +950,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyPetResponseStringCall(Pet pet, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyPetResponseStringCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -996,7 +996,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyPetResponseStringValidateBeforeCall(Pet pet, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyPetResponseStringValidateBeforeCall(@javax.annotation.Nullable Pet pet, final ApiCallback _callback) throws ApiException {
return testEchoBodyPetResponseStringCall(pet, _callback); return testEchoBodyPetResponseStringCall(pet, _callback);
} }
@ -1014,7 +1014,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testEchoBodyPetResponseString(Pet pet) throws ApiException { public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet) throws ApiException {
ApiResponse<String> localVarResp = testEchoBodyPetResponseStringWithHttpInfo(pet); ApiResponse<String> localVarResp = testEchoBodyPetResponseStringWithHttpInfo(pet);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1032,7 +1032,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<String> testEchoBodyPetResponseStringWithHttpInfo(@javax.annotation.Nullable Pet pet) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyPetResponseStringValidateBeforeCall(pet, null); okhttp3.Call localVarCall = testEchoBodyPetResponseStringValidateBeforeCall(pet, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1052,7 +1052,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyPetResponseStringAsync(Pet pet, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testEchoBodyPetResponseStringAsync(@javax.annotation.Nullable Pet pet, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyPetResponseStringValidateBeforeCall(pet, _callback); okhttp3.Call localVarCall = testEchoBodyPetResponseStringValidateBeforeCall(pet, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -1072,7 +1072,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyStringEnumCall(String body, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyStringEnumCall(@javax.annotation.Nullable String body, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1118,7 +1118,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyStringEnumValidateBeforeCall(String body, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyStringEnumValidateBeforeCall(@javax.annotation.Nullable String body, final ApiCallback _callback) throws ApiException {
return testEchoBodyStringEnumCall(body, _callback); return testEchoBodyStringEnumCall(body, _callback);
} }
@ -1136,7 +1136,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public StringEnumRef testEchoBodyStringEnum(String body) throws ApiException { public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body) throws ApiException {
ApiResponse<StringEnumRef> localVarResp = testEchoBodyStringEnumWithHttpInfo(body); ApiResponse<StringEnumRef> localVarResp = testEchoBodyStringEnumWithHttpInfo(body);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1154,7 +1154,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(String body) throws ApiException { public ApiResponse<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(@javax.annotation.Nullable String body) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyStringEnumValidateBeforeCall(body, null); okhttp3.Call localVarCall = testEchoBodyStringEnumValidateBeforeCall(body, null);
Type localVarReturnType = new TypeToken<StringEnumRef>(){}.getType(); Type localVarReturnType = new TypeToken<StringEnumRef>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1174,7 +1174,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyStringEnumAsync(String body, final ApiCallback<StringEnumRef> _callback) throws ApiException { public okhttp3.Call testEchoBodyStringEnumAsync(@javax.annotation.Nullable String body, final ApiCallback<StringEnumRef> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyStringEnumValidateBeforeCall(body, _callback); okhttp3.Call localVarCall = testEchoBodyStringEnumValidateBeforeCall(body, _callback);
Type localVarReturnType = new TypeToken<StringEnumRef>(){}.getType(); Type localVarReturnType = new TypeToken<StringEnumRef>(){}.getType();
@ -1194,7 +1194,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyTagResponseStringCall(Tag tag, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEchoBodyTagResponseStringCall(@javax.annotation.Nullable Tag tag, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1240,7 +1240,7 @@ public class BodyApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEchoBodyTagResponseStringValidateBeforeCall(Tag tag, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEchoBodyTagResponseStringValidateBeforeCall(@javax.annotation.Nullable Tag tag, final ApiCallback _callback) throws ApiException {
return testEchoBodyTagResponseStringCall(tag, _callback); return testEchoBodyTagResponseStringCall(tag, _callback);
} }
@ -1258,7 +1258,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testEchoBodyTagResponseString(Tag tag) throws ApiException { public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag) throws ApiException {
ApiResponse<String> localVarResp = testEchoBodyTagResponseStringWithHttpInfo(tag); ApiResponse<String> localVarResp = testEchoBodyTagResponseStringWithHttpInfo(tag);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1276,7 +1276,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(Tag tag) throws ApiException { public ApiResponse<String> testEchoBodyTagResponseStringWithHttpInfo(@javax.annotation.Nullable Tag tag) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyTagResponseStringValidateBeforeCall(tag, null); okhttp3.Call localVarCall = testEchoBodyTagResponseStringValidateBeforeCall(tag, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1296,7 +1296,7 @@ public class BodyApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEchoBodyTagResponseStringAsync(Tag tag, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testEchoBodyTagResponseStringAsync(@javax.annotation.Nullable Tag tag, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testEchoBodyTagResponseStringValidateBeforeCall(tag, _callback); okhttp3.Call localVarCall = testEchoBodyTagResponseStringValidateBeforeCall(tag, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();

View File

@ -87,7 +87,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormIntegerBooleanStringCall(Integer integerForm, Boolean booleanForm, String stringForm, final ApiCallback _callback) throws ApiException { public okhttp3.Call testFormIntegerBooleanStringCall(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -145,7 +145,7 @@ public class FormApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testFormIntegerBooleanStringValidateBeforeCall(Integer integerForm, Boolean booleanForm, String stringForm, final ApiCallback _callback) throws ApiException { private okhttp3.Call testFormIntegerBooleanStringValidateBeforeCall(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm, final ApiCallback _callback) throws ApiException {
return testFormIntegerBooleanStringCall(integerForm, booleanForm, stringForm, _callback); return testFormIntegerBooleanStringCall(integerForm, booleanForm, stringForm, _callback);
} }
@ -165,7 +165,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
ApiResponse<String> localVarResp = testFormIntegerBooleanStringWithHttpInfo(integerForm, booleanForm, stringForm); ApiResponse<String> localVarResp = testFormIntegerBooleanStringWithHttpInfo(integerForm, booleanForm, stringForm);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -185,7 +185,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public ApiResponse<String> testFormIntegerBooleanStringWithHttpInfo(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
okhttp3.Call localVarCall = testFormIntegerBooleanStringValidateBeforeCall(integerForm, booleanForm, stringForm, null); okhttp3.Call localVarCall = testFormIntegerBooleanStringValidateBeforeCall(integerForm, booleanForm, stringForm, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -207,7 +207,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormIntegerBooleanStringAsync(Integer integerForm, Boolean booleanForm, String stringForm, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testFormIntegerBooleanStringAsync(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testFormIntegerBooleanStringValidateBeforeCall(integerForm, booleanForm, stringForm, _callback); okhttp3.Call localVarCall = testFormIntegerBooleanStringValidateBeforeCall(integerForm, booleanForm, stringForm, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -227,7 +227,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormObjectMultipartCall(TestFormObjectMultipartRequestMarker marker, final ApiCallback _callback) throws ApiException { public okhttp3.Call testFormObjectMultipartCall(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -277,7 +277,7 @@ public class FormApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testFormObjectMultipartValidateBeforeCall(TestFormObjectMultipartRequestMarker marker, final ApiCallback _callback) throws ApiException { private okhttp3.Call testFormObjectMultipartValidateBeforeCall(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'marker' is set // verify the required parameter 'marker' is set
if (marker == null) { if (marker == null) {
throw new ApiException("Missing the required parameter 'marker' when calling testFormObjectMultipart(Async)"); throw new ApiException("Missing the required parameter 'marker' when calling testFormObjectMultipart(Async)");
@ -300,7 +300,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws ApiException { public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
ApiResponse<String> localVarResp = testFormObjectMultipartWithHttpInfo(marker); ApiResponse<String> localVarResp = testFormObjectMultipartWithHttpInfo(marker);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -318,7 +318,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testFormObjectMultipartWithHttpInfo(TestFormObjectMultipartRequestMarker marker) throws ApiException { public ApiResponse<String> testFormObjectMultipartWithHttpInfo(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
okhttp3.Call localVarCall = testFormObjectMultipartValidateBeforeCall(marker, null); okhttp3.Call localVarCall = testFormObjectMultipartValidateBeforeCall(marker, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -338,7 +338,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormObjectMultipartAsync(TestFormObjectMultipartRequestMarker marker, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testFormObjectMultipartAsync(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testFormObjectMultipartValidateBeforeCall(marker, _callback); okhttp3.Call localVarCall = testFormObjectMultipartValidateBeforeCall(marker, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -363,7 +363,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormOneofCall(String form1, Integer form2, String form3, Boolean form4, Long id, String name, final ApiCallback _callback) throws ApiException { public okhttp3.Call testFormOneofCall(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -433,7 +433,7 @@ public class FormApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testFormOneofValidateBeforeCall(String form1, Integer form2, String form3, Boolean form4, Long id, String name, final ApiCallback _callback) throws ApiException { private okhttp3.Call testFormOneofValidateBeforeCall(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name, final ApiCallback _callback) throws ApiException {
return testFormOneofCall(form1, form2, form3, form4, id, name, _callback); return testFormOneofCall(form1, form2, form3, form4, id, name, _callback);
} }
@ -456,7 +456,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
ApiResponse<String> localVarResp = testFormOneofWithHttpInfo(form1, form2, form3, form4, id, name); ApiResponse<String> localVarResp = testFormOneofWithHttpInfo(form1, form2, form3, form4, id, name);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -479,7 +479,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testFormOneofWithHttpInfo(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public ApiResponse<String> testFormOneofWithHttpInfo(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
okhttp3.Call localVarCall = testFormOneofValidateBeforeCall(form1, form2, form3, form4, id, name, null); okhttp3.Call localVarCall = testFormOneofValidateBeforeCall(form1, form2, form3, form4, id, name, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -504,7 +504,7 @@ public class FormApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testFormOneofAsync(String form1, Integer form2, String form3, Boolean form4, Long id, String name, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testFormOneofAsync(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testFormOneofValidateBeforeCall(form1, form2, form3, form4, id, name, _callback); okhttp3.Call localVarCall = testFormOneofValidateBeforeCall(form1, form2, form3, form4, id, name, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();

View File

@ -89,7 +89,7 @@ public class HeaderApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testHeaderIntegerBooleanStringEnumsCall(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader, final ApiCallback _callback) throws ApiException { public okhttp3.Call testHeaderIntegerBooleanStringEnumsCall(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -159,7 +159,7 @@ public class HeaderApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testHeaderIntegerBooleanStringEnumsValidateBeforeCall(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader, final ApiCallback _callback) throws ApiException { private okhttp3.Call testHeaderIntegerBooleanStringEnumsValidateBeforeCall(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader, final ApiCallback _callback) throws ApiException {
return testHeaderIntegerBooleanStringEnumsCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, _callback); return testHeaderIntegerBooleanStringEnumsCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, _callback);
} }
@ -181,7 +181,7 @@ public class HeaderApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
ApiResponse<String> localVarResp = testHeaderIntegerBooleanStringEnumsWithHttpInfo(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader); ApiResponse<String> localVarResp = testHeaderIntegerBooleanStringEnumsWithHttpInfo(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -203,7 +203,7 @@ public class HeaderApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public ApiResponse<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
okhttp3.Call localVarCall = testHeaderIntegerBooleanStringEnumsValidateBeforeCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, null); okhttp3.Call localVarCall = testHeaderIntegerBooleanStringEnumsValidateBeforeCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -227,7 +227,7 @@ public class HeaderApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testHeaderIntegerBooleanStringEnumsAsync(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testHeaderIntegerBooleanStringEnumsAsync(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testHeaderIntegerBooleanStringEnumsValidateBeforeCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, _callback); okhttp3.Call localVarCall = testHeaderIntegerBooleanStringEnumsValidateBeforeCall(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();

View File

@ -88,7 +88,7 @@ public class PathApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException { public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -137,7 +137,7 @@ public class PathApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException { private okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'pathString' is set // verify the required parameter 'pathString' is set
if (pathString == null) { if (pathString == null) {
throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)"); throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
@ -178,7 +178,7 @@ public class PathApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
ApiResponse<String> localVarResp = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath); ApiResponse<String> localVarResp = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -199,7 +199,7 @@ public class PathApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, null); okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -222,7 +222,7 @@ public class PathApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback); okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();

View File

@ -92,7 +92,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEnumRefStringCall(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery, final ApiCallback _callback) throws ApiException { public okhttp3.Call testEnumRefStringCall(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -145,7 +145,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testEnumRefStringValidateBeforeCall(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery, final ApiCallback _callback) throws ApiException { private okhttp3.Call testEnumRefStringValidateBeforeCall(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery, final ApiCallback _callback) throws ApiException {
return testEnumRefStringCall(enumNonrefStringQuery, enumRefStringQuery, _callback); return testEnumRefStringCall(enumNonrefStringQuery, enumRefStringQuery, _callback);
} }
@ -164,7 +164,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
ApiResponse<String> localVarResp = testEnumRefStringWithHttpInfo(enumNonrefStringQuery, enumRefStringQuery); ApiResponse<String> localVarResp = testEnumRefStringWithHttpInfo(enumNonrefStringQuery, enumRefStringQuery);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -183,7 +183,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testEnumRefStringWithHttpInfo(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public ApiResponse<String> testEnumRefStringWithHttpInfo(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
okhttp3.Call localVarCall = testEnumRefStringValidateBeforeCall(enumNonrefStringQuery, enumRefStringQuery, null); okhttp3.Call localVarCall = testEnumRefStringValidateBeforeCall(enumNonrefStringQuery, enumRefStringQuery, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -204,7 +204,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testEnumRefStringAsync(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testEnumRefStringAsync(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testEnumRefStringValidateBeforeCall(enumNonrefStringQuery, enumRefStringQuery, _callback); okhttp3.Call localVarCall = testEnumRefStringValidateBeforeCall(enumNonrefStringQuery, enumRefStringQuery, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -226,7 +226,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryDatetimeDateStringCall(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryDatetimeDateStringCall(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -283,7 +283,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryDatetimeDateStringValidateBeforeCall(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryDatetimeDateStringValidateBeforeCall(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback _callback) throws ApiException {
return testQueryDatetimeDateStringCall(datetimeQuery, dateQuery, stringQuery, _callback); return testQueryDatetimeDateStringCall(datetimeQuery, dateQuery, stringQuery, _callback);
} }
@ -303,7 +303,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
ApiResponse<String> localVarResp = testQueryDatetimeDateStringWithHttpInfo(datetimeQuery, dateQuery, stringQuery); ApiResponse<String> localVarResp = testQueryDatetimeDateStringWithHttpInfo(datetimeQuery, dateQuery, stringQuery);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -323,7 +323,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
okhttp3.Call localVarCall = testQueryDatetimeDateStringValidateBeforeCall(datetimeQuery, dateQuery, stringQuery, null); okhttp3.Call localVarCall = testQueryDatetimeDateStringValidateBeforeCall(datetimeQuery, dateQuery, stringQuery, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -345,7 +345,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryDatetimeDateStringAsync(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryDatetimeDateStringAsync(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryDatetimeDateStringValidateBeforeCall(datetimeQuery, dateQuery, stringQuery, _callback); okhttp3.Call localVarCall = testQueryDatetimeDateStringValidateBeforeCall(datetimeQuery, dateQuery, stringQuery, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -367,7 +367,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryIntegerBooleanStringCall(Integer integerQuery, Boolean booleanQuery, String stringQuery, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryIntegerBooleanStringCall(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -424,7 +424,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryIntegerBooleanStringValidateBeforeCall(Integer integerQuery, Boolean booleanQuery, String stringQuery, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryIntegerBooleanStringValidateBeforeCall(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback _callback) throws ApiException {
return testQueryIntegerBooleanStringCall(integerQuery, booleanQuery, stringQuery, _callback); return testQueryIntegerBooleanStringCall(integerQuery, booleanQuery, stringQuery, _callback);
} }
@ -444,7 +444,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
ApiResponse<String> localVarResp = testQueryIntegerBooleanStringWithHttpInfo(integerQuery, booleanQuery, stringQuery); ApiResponse<String> localVarResp = testQueryIntegerBooleanStringWithHttpInfo(integerQuery, booleanQuery, stringQuery);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -464,7 +464,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
okhttp3.Call localVarCall = testQueryIntegerBooleanStringValidateBeforeCall(integerQuery, booleanQuery, stringQuery, null); okhttp3.Call localVarCall = testQueryIntegerBooleanStringValidateBeforeCall(integerQuery, booleanQuery, stringQuery, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -486,7 +486,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryIntegerBooleanStringAsync(Integer integerQuery, Boolean booleanQuery, String stringQuery, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryIntegerBooleanStringAsync(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryIntegerBooleanStringValidateBeforeCall(integerQuery, booleanQuery, stringQuery, _callback); okhttp3.Call localVarCall = testQueryIntegerBooleanStringValidateBeforeCall(integerQuery, booleanQuery, stringQuery, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -506,7 +506,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectCall(Pet queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectCall(@javax.annotation.Nullable Pet queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -555,7 +555,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(Pet queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(@javax.annotation.Nullable Pet queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleDeepObjectExplodeTrueObjectCall(queryObject, _callback); return testQueryStyleDeepObjectExplodeTrueObjectCall(queryObject, _callback);
} }
@ -573,7 +573,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -591,7 +591,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(Pet queryObject) throws ApiException { public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@javax.annotation.Nullable Pet queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -611,7 +611,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAsync(Pet queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAsync(@javax.annotation.Nullable Pet queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -631,7 +631,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfCall(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfCall(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -680,7 +680,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleDeepObjectExplodeTrueObjectAllOfCall(queryObject, _callback); return testQueryStyleDeepObjectExplodeTrueObjectAllOfCall(queryObject, _callback);
} }
@ -698,7 +698,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -716,7 +716,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -736,7 +736,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfAsync(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleDeepObjectExplodeTrueObjectAllOfAsync(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleDeepObjectExplodeTrueObjectAllOfValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -756,7 +756,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerCall(List<Integer> queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerCall(@javax.annotation.Nullable List<Integer> queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -805,7 +805,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(List<Integer> queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(@javax.annotation.Nullable List<Integer> queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleFormExplodeFalseArrayIntegerCall(queryObject, _callback); return testQueryStyleFormExplodeFalseArrayIntegerCall(queryObject, _callback);
} }
@ -823,7 +823,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -841,7 +841,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List<Integer> queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -861,7 +861,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerAsync(List<Integer> queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeFalseArrayIntegerAsync(@javax.annotation.Nullable List<Integer> queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayIntegerValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -881,7 +881,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeFalseArrayStringCall(List<String> queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeFalseArrayStringCall(@javax.annotation.Nullable List<String> queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -930,7 +930,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(List<String> queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(@javax.annotation.Nullable List<String> queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleFormExplodeFalseArrayStringCall(queryObject, _callback); return testQueryStyleFormExplodeFalseArrayStringCall(queryObject, _callback);
} }
@ -948,7 +948,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -966,7 +966,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(List<String> queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -986,7 +986,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeFalseArrayStringAsync(List<String> queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeFalseArrayStringAsync(@javax.annotation.Nullable List<String> queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleFormExplodeFalseArrayStringValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -1006,7 +1006,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueArrayStringCall(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueArrayStringCall(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1055,7 +1055,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleFormExplodeTrueArrayStringCall(queryObject, _callback); return testQueryStyleFormExplodeTrueArrayStringCall(queryObject, _callback);
} }
@ -1073,7 +1073,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1091,7 +1091,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1111,7 +1111,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueArrayStringAsync(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueArrayStringAsync(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueArrayStringValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -1131,7 +1131,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueObjectCall(Pet queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueObjectCall(@javax.annotation.Nullable Pet queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1180,7 +1180,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleFormExplodeTrueObjectValidateBeforeCall(Pet queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleFormExplodeTrueObjectValidateBeforeCall(@javax.annotation.Nullable Pet queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleFormExplodeTrueObjectCall(queryObject, _callback); return testQueryStyleFormExplodeTrueObjectCall(queryObject, _callback);
} }
@ -1198,7 +1198,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueObjectWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueObjectWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1216,7 +1216,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(Pet queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@javax.annotation.Nullable Pet queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1236,7 +1236,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueObjectAsync(Pet queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueObjectAsync(@javax.annotation.Nullable Pet queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
@ -1256,7 +1256,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfCall(DataQuery queryObject, final ApiCallback _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfCall(@javax.annotation.Nullable DataQuery queryObject, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -1305,7 +1305,7 @@ public class QueryApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(DataQuery queryObject, final ApiCallback _callback) throws ApiException { private okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(@javax.annotation.Nullable DataQuery queryObject, final ApiCallback _callback) throws ApiException {
return testQueryStyleFormExplodeTrueObjectAllOfCall(queryObject, _callback); return testQueryStyleFormExplodeTrueObjectAllOfCall(queryObject, _callback);
} }
@ -1323,7 +1323,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(queryObject); ApiResponse<String> localVarResp = testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(queryObject);
return localVarResp.getData(); return localVarResp.getData();
} }
@ -1341,7 +1341,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(DataQuery queryObject) throws ApiException { public ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(queryObject, null); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(queryObject, null);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType); return localVarApiClient.execute(localVarCall, localVarReturnType);
@ -1361,7 +1361,7 @@ public class QueryApi {
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfAsync(DataQuery queryObject, final ApiCallback<String> _callback) throws ApiException { public okhttp3.Call testQueryStyleFormExplodeTrueObjectAllOfAsync(@javax.annotation.Nullable DataQuery queryObject, final ApiCallback<String> _callback) throws ApiException {
okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(queryObject, _callback); okhttp3.Call localVarCall = testQueryStyleFormExplodeTrueObjectAllOfValidateBeforeCall(queryObject, _callback);
Type localVarReturnType = new TypeToken<String>(){}.getType(); Type localVarReturnType = new TypeToken<String>(){}.getType();

View File

@ -119,7 +119,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(File body) throws RestClientResponseException { private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
Object postBody = body; Object postBody = body;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -152,7 +152,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testBodyApplicationOctetstreamBinary(File body) throws RestClientResponseException { public String testBodyApplicationOctetstreamBinary(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyApplicationOctetstreamBinaryRequestCreation(body).body(localVarReturnType); return testBodyApplicationOctetstreamBinaryRequestCreation(body).body(localVarReturnType);
} }
@ -165,7 +165,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(File body) throws RestClientResponseException { public ResponseEntity<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyApplicationOctetstreamBinaryRequestCreation(body).toEntity(localVarReturnType); return testBodyApplicationOctetstreamBinaryRequestCreation(body).toEntity(localVarReturnType);
} }
@ -178,7 +178,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testBodyApplicationOctetstreamBinaryWithResponseSpec(File body) throws RestClientResponseException { public ResponseSpec testBodyApplicationOctetstreamBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
return testBodyApplicationOctetstreamBinaryRequestCreation(body); return testBodyApplicationOctetstreamBinaryRequestCreation(body);
} }
/** /**
@ -189,7 +189,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testBodyMultipartFormdataArrayOfBinaryRequestCreation(List<File> files) throws RestClientResponseException { private ResponseSpec testBodyMultipartFormdataArrayOfBinaryRequestCreation(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// verify the required parameter 'files' is set // verify the required parameter 'files' is set
if (files == null) { if (files == null) {
@ -229,7 +229,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws RestClientResponseException { public String testBodyMultipartFormdataArrayOfBinary(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).body(localVarReturnType); return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).body(localVarReturnType);
} }
@ -242,7 +242,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(List<File> files) throws RestClientResponseException { public ResponseEntity<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).toEntity(localVarReturnType); return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).toEntity(localVarReturnType);
} }
@ -255,7 +255,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testBodyMultipartFormdataArrayOfBinaryWithResponseSpec(List<File> files) throws RestClientResponseException { public ResponseSpec testBodyMultipartFormdataArrayOfBinaryWithResponseSpec(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files); return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files);
} }
/** /**
@ -266,7 +266,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(File myFile) throws RestClientResponseException { private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -302,7 +302,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile) throws RestClientResponseException { public String testBodyMultipartFormdataSingleBinary(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).body(localVarReturnType); return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).body(localVarReturnType);
} }
@ -315,7 +315,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(File myFile) throws RestClientResponseException { public ResponseEntity<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).toEntity(localVarReturnType); return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).toEntity(localVarReturnType);
} }
@ -328,7 +328,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testBodyMultipartFormdataSingleBinaryWithResponseSpec(File myFile) throws RestClientResponseException { public ResponseSpec testBodyMultipartFormdataSingleBinaryWithResponseSpec(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile); return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile);
} }
/** /**
@ -339,7 +339,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyAllOfPetRequestCreation(Pet pet) throws RestClientResponseException { private ResponseSpec testEchoBodyAllOfPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet; Object postBody = pet;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -372,7 +372,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public Pet testEchoBodyAllOfPet(Pet pet) throws RestClientResponseException { public Pet testEchoBodyAllOfPet(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyAllOfPetRequestCreation(pet).body(localVarReturnType); return testEchoBodyAllOfPetRequestCreation(pet).body(localVarReturnType);
} }
@ -385,7 +385,7 @@ public class BodyApi {
* @return ResponseEntity&lt;Pet&gt; * @return ResponseEntity&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<Pet> testEchoBodyAllOfPetWithHttpInfo(Pet pet) throws RestClientResponseException { public ResponseEntity<Pet> testEchoBodyAllOfPetWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyAllOfPetRequestCreation(pet).toEntity(localVarReturnType); return testEchoBodyAllOfPetRequestCreation(pet).toEntity(localVarReturnType);
} }
@ -398,7 +398,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyAllOfPetWithResponseSpec(Pet pet) throws RestClientResponseException { public ResponseSpec testEchoBodyAllOfPetWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyAllOfPetRequestCreation(pet); return testEchoBodyAllOfPetRequestCreation(pet);
} }
/** /**
@ -409,7 +409,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(Object body) throws RestClientResponseException { private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
Object postBody = body; Object postBody = body;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -442,7 +442,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body) throws RestClientResponseException { public String testEchoBodyFreeFormObjectResponseString(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).body(localVarReturnType); return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).body(localVarReturnType);
} }
@ -455,7 +455,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(Object body) throws RestClientResponseException { public ResponseEntity<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).toEntity(localVarReturnType); return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).toEntity(localVarReturnType);
} }
@ -468,7 +468,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyFreeFormObjectResponseStringWithResponseSpec(Object body) throws RestClientResponseException { public ResponseSpec testEchoBodyFreeFormObjectResponseStringWithResponseSpec(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body); return testEchoBodyFreeFormObjectResponseStringRequestCreation(body);
} }
/** /**
@ -479,7 +479,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyPetRequestCreation(Pet pet) throws RestClientResponseException { private ResponseSpec testEchoBodyPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet; Object postBody = pet;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -512,7 +512,7 @@ public class BodyApi {
* @return Pet * @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public Pet testEchoBodyPet(Pet pet) throws RestClientResponseException { public Pet testEchoBodyPet(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetRequestCreation(pet).body(localVarReturnType); return testEchoBodyPetRequestCreation(pet).body(localVarReturnType);
} }
@ -525,7 +525,7 @@ public class BodyApi {
* @return ResponseEntity&lt;Pet&gt; * @return ResponseEntity&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<Pet> testEchoBodyPetWithHttpInfo(Pet pet) throws RestClientResponseException { public ResponseEntity<Pet> testEchoBodyPetWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetRequestCreation(pet).toEntity(localVarReturnType); return testEchoBodyPetRequestCreation(pet).toEntity(localVarReturnType);
} }
@ -538,7 +538,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyPetWithResponseSpec(Pet pet) throws RestClientResponseException { public ResponseSpec testEchoBodyPetWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyPetRequestCreation(pet); return testEchoBodyPetRequestCreation(pet);
} }
/** /**
@ -549,7 +549,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyPetResponseStringRequestCreation(Pet pet) throws RestClientResponseException { private ResponseSpec testEchoBodyPetResponseStringRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet; Object postBody = pet;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -582,7 +582,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testEchoBodyPetResponseString(Pet pet) throws RestClientResponseException { public String testEchoBodyPetResponseString(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetResponseStringRequestCreation(pet).body(localVarReturnType); return testEchoBodyPetResponseStringRequestCreation(pet).body(localVarReturnType);
} }
@ -595,7 +595,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testEchoBodyPetResponseStringWithHttpInfo(Pet pet) throws RestClientResponseException { public ResponseEntity<String> testEchoBodyPetResponseStringWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetResponseStringRequestCreation(pet).toEntity(localVarReturnType); return testEchoBodyPetResponseStringRequestCreation(pet).toEntity(localVarReturnType);
} }
@ -608,7 +608,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyPetResponseStringWithResponseSpec(Pet pet) throws RestClientResponseException { public ResponseSpec testEchoBodyPetResponseStringWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyPetResponseStringRequestCreation(pet); return testEchoBodyPetResponseStringRequestCreation(pet);
} }
/** /**
@ -619,7 +619,7 @@ public class BodyApi {
* @return StringEnumRef * @return StringEnumRef
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyStringEnumRequestCreation(String body) throws RestClientResponseException { private ResponseSpec testEchoBodyStringEnumRequestCreation(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
Object postBody = body; Object postBody = body;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -652,7 +652,7 @@ public class BodyApi {
* @return StringEnumRef * @return StringEnumRef
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public StringEnumRef testEchoBodyStringEnum(String body) throws RestClientResponseException { public StringEnumRef testEchoBodyStringEnum(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyStringEnumRequestCreation(body).body(localVarReturnType); return testEchoBodyStringEnumRequestCreation(body).body(localVarReturnType);
} }
@ -665,7 +665,7 @@ public class BodyApi {
* @return ResponseEntity&lt;StringEnumRef&gt; * @return ResponseEntity&lt;StringEnumRef&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(String body) throws RestClientResponseException { public ResponseEntity<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyStringEnumRequestCreation(body).toEntity(localVarReturnType); return testEchoBodyStringEnumRequestCreation(body).toEntity(localVarReturnType);
} }
@ -678,7 +678,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyStringEnumWithResponseSpec(String body) throws RestClientResponseException { public ResponseSpec testEchoBodyStringEnumWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
return testEchoBodyStringEnumRequestCreation(body); return testEchoBodyStringEnumRequestCreation(body);
} }
/** /**
@ -689,7 +689,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEchoBodyTagResponseStringRequestCreation(Tag tag) throws RestClientResponseException { private ResponseSpec testEchoBodyTagResponseStringRequestCreation(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
Object postBody = tag; Object postBody = tag;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -722,7 +722,7 @@ public class BodyApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testEchoBodyTagResponseString(Tag tag) throws RestClientResponseException { public String testEchoBodyTagResponseString(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyTagResponseStringRequestCreation(tag).body(localVarReturnType); return testEchoBodyTagResponseStringRequestCreation(tag).body(localVarReturnType);
} }
@ -735,7 +735,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testEchoBodyTagResponseStringWithHttpInfo(Tag tag) throws RestClientResponseException { public ResponseEntity<String> testEchoBodyTagResponseStringWithHttpInfo(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyTagResponseStringRequestCreation(tag).toEntity(localVarReturnType); return testEchoBodyTagResponseStringRequestCreation(tag).toEntity(localVarReturnType);
} }
@ -748,7 +748,7 @@ public class BodyApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEchoBodyTagResponseStringWithResponseSpec(Tag tag) throws RestClientResponseException { public ResponseSpec testEchoBodyTagResponseStringWithResponseSpec(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
return testEchoBodyTagResponseStringRequestCreation(tag); return testEchoBodyTagResponseStringRequestCreation(tag);
} }
} }

View File

@ -54,7 +54,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testFormIntegerBooleanStringRequestCreation(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException { private ResponseSpec testFormIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -96,7 +96,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException { public String testFormIntegerBooleanString(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).body(localVarReturnType); return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).body(localVarReturnType);
} }
@ -111,7 +111,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testFormIntegerBooleanStringWithHttpInfo(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException { public ResponseEntity<String> testFormIntegerBooleanStringWithHttpInfo(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).toEntity(localVarReturnType); return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).toEntity(localVarReturnType);
} }
@ -126,7 +126,7 @@ public class FormApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testFormIntegerBooleanStringWithResponseSpec(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException { public ResponseSpec testFormIntegerBooleanStringWithResponseSpec(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm); return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm);
} }
/** /**
@ -137,7 +137,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testFormObjectMultipartRequestCreation(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException { private ResponseSpec testFormObjectMultipartRequestCreation(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// verify the required parameter 'marker' is set // verify the required parameter 'marker' is set
if (marker == null) { if (marker == null) {
@ -177,7 +177,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException { public String testFormObjectMultipart(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormObjectMultipartRequestCreation(marker).body(localVarReturnType); return testFormObjectMultipartRequestCreation(marker).body(localVarReturnType);
} }
@ -190,7 +190,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testFormObjectMultipartWithHttpInfo(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException { public ResponseEntity<String> testFormObjectMultipartWithHttpInfo(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormObjectMultipartRequestCreation(marker).toEntity(localVarReturnType); return testFormObjectMultipartRequestCreation(marker).toEntity(localVarReturnType);
} }
@ -203,7 +203,7 @@ public class FormApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testFormObjectMultipartWithResponseSpec(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException { public ResponseSpec testFormObjectMultipartWithResponseSpec(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
return testFormObjectMultipartRequestCreation(marker); return testFormObjectMultipartRequestCreation(marker);
} }
/** /**
@ -219,7 +219,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testFormOneofRequestCreation(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException { private ResponseSpec testFormOneofRequestCreation(@jakarta.annotation.Nullable String form1, @jakarta.annotation.Nullable Integer form2, @jakarta.annotation.Nullable String form3, @jakarta.annotation.Nullable Boolean form4, @jakarta.annotation.Nullable Long id, @jakarta.annotation.Nullable String name) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -270,7 +270,7 @@ public class FormApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException { public String testFormOneof(@jakarta.annotation.Nullable String form1, @jakarta.annotation.Nullable Integer form2, @jakarta.annotation.Nullable String form3, @jakarta.annotation.Nullable Boolean form4, @jakarta.annotation.Nullable Long id, @jakarta.annotation.Nullable String name) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).body(localVarReturnType); return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).body(localVarReturnType);
} }
@ -288,7 +288,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testFormOneofWithHttpInfo(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException { public ResponseEntity<String> testFormOneofWithHttpInfo(@jakarta.annotation.Nullable String form1, @jakarta.annotation.Nullable Integer form2, @jakarta.annotation.Nullable String form3, @jakarta.annotation.Nullable Boolean form4, @jakarta.annotation.Nullable Long id, @jakarta.annotation.Nullable String name) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).toEntity(localVarReturnType); return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).toEntity(localVarReturnType);
} }
@ -306,7 +306,7 @@ public class FormApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testFormOneofWithResponseSpec(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException { public ResponseSpec testFormOneofWithResponseSpec(@jakarta.annotation.Nullable String form1, @jakarta.annotation.Nullable Integer form2, @jakarta.annotation.Nullable String form3, @jakarta.annotation.Nullable Boolean form4, @jakarta.annotation.Nullable Long id, @jakarta.annotation.Nullable String name) throws RestClientResponseException {
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name); return testFormOneofRequestCreation(form1, form2, form3, form4, id, name);
} }
} }

View File

@ -56,7 +56,7 @@ public class HeaderApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testHeaderIntegerBooleanStringEnumsRequestCreation(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException { private ResponseSpec testHeaderIntegerBooleanStringEnumsRequestCreation(@jakarta.annotation.Nullable Integer integerHeader, @jakarta.annotation.Nullable Boolean booleanHeader, @jakarta.annotation.Nullable String stringHeader, @jakarta.annotation.Nullable String enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef enumRefStringHeader) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -102,7 +102,7 @@ public class HeaderApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException { public String testHeaderIntegerBooleanStringEnums(@jakarta.annotation.Nullable Integer integerHeader, @jakarta.annotation.Nullable Boolean booleanHeader, @jakarta.annotation.Nullable String stringHeader, @jakarta.annotation.Nullable String enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef enumRefStringHeader) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).body(localVarReturnType); return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).body(localVarReturnType);
} }
@ -119,7 +119,7 @@ public class HeaderApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException { public ResponseEntity<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@jakarta.annotation.Nullable Integer integerHeader, @jakarta.annotation.Nullable Boolean booleanHeader, @jakarta.annotation.Nullable String stringHeader, @jakarta.annotation.Nullable String enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef enumRefStringHeader) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).toEntity(localVarReturnType); return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).toEntity(localVarReturnType);
} }
@ -136,7 +136,7 @@ public class HeaderApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testHeaderIntegerBooleanStringEnumsWithResponseSpec(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException { public ResponseSpec testHeaderIntegerBooleanStringEnumsWithResponseSpec(@jakarta.annotation.Nullable Integer integerHeader, @jakarta.annotation.Nullable Boolean booleanHeader, @jakarta.annotation.Nullable String stringHeader, @jakarta.annotation.Nullable String enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef enumRefStringHeader) throws RestClientResponseException {
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader); return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
} }
} }

View File

@ -55,7 +55,7 @@ public class PathApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException { private ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// verify the required parameter 'pathString' is set // verify the required parameter 'pathString' is set
if (pathString == null) { if (pathString == null) {
@ -110,7 +110,7 @@ public class PathApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).body(localVarReturnType); return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).body(localVarReturnType);
} }
@ -126,7 +126,7 @@ public class PathApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException { public ResponseEntity<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).toEntity(localVarReturnType); return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).toEntity(localVarReturnType);
} }
@ -142,7 +142,7 @@ public class PathApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithResponseSpec(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException { public ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithResponseSpec(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath); return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
} }
} }

View File

@ -59,7 +59,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testEnumRefStringRequestCreation(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException { private ResponseSpec testEnumRefStringRequestCreation(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -94,7 +94,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException { public String testEnumRefString(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).body(localVarReturnType); return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).body(localVarReturnType);
} }
@ -108,7 +108,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testEnumRefStringWithHttpInfo(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException { public ResponseEntity<String> testEnumRefStringWithHttpInfo(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).toEntity(localVarReturnType); return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).toEntity(localVarReturnType);
} }
@ -122,7 +122,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testEnumRefStringWithResponseSpec(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException { public ResponseSpec testEnumRefStringWithResponseSpec(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery); return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery);
} }
/** /**
@ -135,7 +135,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryDatetimeDateStringRequestCreation(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException { private ResponseSpec testQueryDatetimeDateStringRequestCreation(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -172,7 +172,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryDatetimeDateString(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException { public String testQueryDatetimeDateString(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).body(localVarReturnType); return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).body(localVarReturnType);
} }
@ -187,7 +187,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryDatetimeDateStringWithHttpInfo(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException { public ResponseEntity<String> testQueryDatetimeDateStringWithHttpInfo(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).toEntity(localVarReturnType); return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).toEntity(localVarReturnType);
} }
@ -202,7 +202,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryDatetimeDateStringWithResponseSpec(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException { public ResponseSpec testQueryDatetimeDateStringWithResponseSpec(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery); return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery);
} }
/** /**
@ -215,7 +215,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryIntegerBooleanStringRequestCreation(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException { private ResponseSpec testQueryIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -252,7 +252,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException { public String testQueryIntegerBooleanString(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).body(localVarReturnType); return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).body(localVarReturnType);
} }
@ -267,7 +267,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryIntegerBooleanStringWithHttpInfo(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException { public ResponseEntity<String> testQueryIntegerBooleanStringWithHttpInfo(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).toEntity(localVarReturnType); return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).toEntity(localVarReturnType);
} }
@ -282,7 +282,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryIntegerBooleanStringWithResponseSpec(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException { public ResponseSpec testQueryIntegerBooleanStringWithResponseSpec(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery); return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery);
} }
/** /**
@ -293,7 +293,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(Pet queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -331,7 +331,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws RestClientResponseException { public String testQueryStyleDeepObjectExplodeTrueObject(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType);
} }
@ -344,7 +344,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(Pet queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -357,7 +357,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectWithResponseSpec(Pet queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectWithResponseSpec(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject); return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject);
} }
/** /**
@ -368,7 +368,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -401,7 +401,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType);
} }
@ -414,7 +414,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -427,7 +427,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfWithResponseSpec(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfWithResponseSpec(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject); return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject);
} }
/** /**
@ -438,7 +438,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(List<Integer> queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -471,7 +471,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws RestClientResponseException { public String testQueryStyleFormExplodeFalseArrayInteger(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).body(localVarReturnType);
} }
@ -484,7 +484,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List<Integer> queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -497,7 +497,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerWithResponseSpec(List<Integer> queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerWithResponseSpec(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject); return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject);
} }
/** /**
@ -508,7 +508,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleFormExplodeFalseArrayStringRequestCreation(List<String> queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleFormExplodeFalseArrayStringRequestCreation(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -541,7 +541,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws RestClientResponseException { public String testQueryStyleFormExplodeFalseArrayString(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).body(localVarReturnType);
} }
@ -554,7 +554,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(List<String> queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -567,7 +567,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleFormExplodeFalseArrayStringWithResponseSpec(List<String> queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleFormExplodeFalseArrayStringWithResponseSpec(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject); return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject);
} }
/** /**
@ -578,7 +578,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -611,7 +611,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException { public String testQueryStyleFormExplodeTrueArrayString(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).body(localVarReturnType);
} }
@ -624,7 +624,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -637,7 +637,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleFormExplodeTrueArrayStringWithResponseSpec(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleFormExplodeTrueArrayStringWithResponseSpec(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject); return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject);
} }
/** /**
@ -648,7 +648,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(Pet queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -686,7 +686,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws RestClientResponseException { public String testQueryStyleFormExplodeTrueObject(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType);
} }
@ -699,7 +699,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(Pet queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -712,7 +712,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleFormExplodeTrueObjectWithResponseSpec(Pet queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleFormExplodeTrueObjectWithResponseSpec(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject); return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject);
} }
/** /**
@ -723,7 +723,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(DataQuery queryObject) throws RestClientResponseException { private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
Object postBody = null; Object postBody = null;
// create path and map variables // create path and map variables
final Map<String, Object> pathParams = new HashMap<>(); final Map<String, Object> pathParams = new HashMap<>();
@ -756,7 +756,7 @@ public class QueryApi {
* @return String * @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws RestClientResponseException { public String testQueryStyleFormExplodeTrueObjectAllOf(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType); return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType);
} }
@ -769,7 +769,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt; * @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(DataQuery queryObject) throws RestClientResponseException { public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {}; ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType); return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType);
} }
@ -782,7 +782,7 @@ public class QueryApi {
* @return ResponseSpec * @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API * @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/ */
public ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfWithResponseSpec(DataQuery queryObject) throws RestClientResponseException { public ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfWithResponseSpec(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject); return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject);
} }
} }

View File

@ -81,7 +81,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyApplicationOctetstreamBinary(File body) throws ApiException { public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -119,7 +119,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws ApiException { public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'files' is set // verify the required parameter 'files' is set
@ -164,7 +164,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testBodyMultipartFormdataSingleBinary(File myFile) throws ApiException { public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -204,7 +204,7 @@ public class BodyApi {
* @return a {@code Pet} * @return a {@code Pet}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyAllOfPet(Pet pet) throws ApiException { public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -242,7 +242,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyFreeFormObjectResponseString(Object body) throws ApiException { public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -280,7 +280,7 @@ public class BodyApi {
* @return a {@code Pet} * @return a {@code Pet}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet testEchoBodyPet(Pet pet) throws ApiException { public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -318,7 +318,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyPetResponseString(Pet pet) throws ApiException { public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// create path and map variables // create path and map variables
@ -356,7 +356,7 @@ public class BodyApi {
* @return a {@code StringEnumRef} * @return a {@code StringEnumRef}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public StringEnumRef testEchoBodyStringEnum(String body) throws ApiException { public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -394,7 +394,7 @@ public class BodyApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEchoBodyTagResponseString(Tag tag) throws ApiException { public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag) throws ApiException {
Object localVarPostBody = tag; Object localVarPostBody = tag;
// create path and map variables // create path and map variables

View File

@ -43,7 +43,7 @@ public class FormApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException { public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -87,7 +87,7 @@ if (stringForm != null)
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws ApiException { public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'marker' is set // verify the required parameter 'marker' is set
@ -137,7 +137,7 @@ if (stringForm != null)
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException { public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -45,7 +45,7 @@ public class HeaderApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException { public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -44,7 +44,7 @@ public class PathApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException { public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'pathString' is set // verify the required parameter 'pathString' is set

View File

@ -48,7 +48,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException { public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -90,7 +90,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException { public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -133,7 +133,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException { public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -174,7 +174,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -213,7 +213,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -252,7 +252,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -291,7 +291,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws ApiException { public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -330,7 +330,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -369,7 +369,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -408,7 +408,7 @@ public class QueryApi {
* @return a {@code String} * @return a {@code String}
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws ApiException { public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables

View File

@ -85,7 +85,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call myExamplePostCall(MyExamplePostRequest myExamplePostRequest, final ApiCallback _callback) throws ApiException { public okhttp3.Call myExamplePostCall(@javax.annotation.Nullable MyExamplePostRequest myExamplePostRequest, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -130,7 +130,7 @@ public class DefaultApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call myExamplePostValidateBeforeCall(MyExamplePostRequest myExamplePostRequest, final ApiCallback _callback) throws ApiException { private okhttp3.Call myExamplePostValidateBeforeCall(@javax.annotation.Nullable MyExamplePostRequest myExamplePostRequest, final ApiCallback _callback) throws ApiException {
return myExamplePostCall(myExamplePostRequest, _callback); return myExamplePostCall(myExamplePostRequest, _callback);
} }
@ -147,7 +147,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public void myExamplePost(MyExamplePostRequest myExamplePostRequest) throws ApiException { public void myExamplePost(@javax.annotation.Nullable MyExamplePostRequest myExamplePostRequest) throws ApiException {
myExamplePostWithHttpInfo(myExamplePostRequest); myExamplePostWithHttpInfo(myExamplePostRequest);
} }
@ -164,7 +164,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> myExamplePostWithHttpInfo(MyExamplePostRequest myExamplePostRequest) throws ApiException { public ApiResponse<Void> myExamplePostWithHttpInfo(@javax.annotation.Nullable MyExamplePostRequest myExamplePostRequest) throws ApiException {
okhttp3.Call localVarCall = myExamplePostValidateBeforeCall(myExamplePostRequest, null); okhttp3.Call localVarCall = myExamplePostValidateBeforeCall(myExamplePostRequest, null);
return localVarApiClient.execute(localVarCall); return localVarApiClient.execute(localVarCall);
} }
@ -183,7 +183,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call myExamplePostAsync(MyExamplePostRequest myExamplePostRequest, final ApiCallback<Void> _callback) throws ApiException { public okhttp3.Call myExamplePostAsync(@javax.annotation.Nullable MyExamplePostRequest myExamplePostRequest, final ApiCallback<Void> _callback) throws ApiException {
okhttp3.Call localVarCall = myExamplePostValidateBeforeCall(myExamplePostRequest, _callback); okhttp3.Call localVarCall = myExamplePostValidateBeforeCall(myExamplePostRequest, _callback);
localVarApiClient.executeAsync(localVarCall, _callback); localVarApiClient.executeAsync(localVarCall, _callback);

View File

@ -73,7 +73,7 @@ public class PingApi {
this.localCustomBaseUrl = customBaseUrl; this.localCustomBaseUrl = customBaseUrl;
} }
private okhttp3.Call getPingCall(Long petId, String name, String status, final ApiCallback _callback) throws ApiException { private okhttp3.Call getPingCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -131,7 +131,7 @@ public class PingApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call getPingValidateBeforeCall(Long petId, String name, String status, final ApiCallback _callback) throws ApiException { private okhttp3.Call getPingValidateBeforeCall(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException("Missing the required parameter 'petId' when calling getPing(Async)"); throw new ApiException("Missing the required parameter 'petId' when calling getPing(Async)");
@ -142,13 +142,13 @@ public class PingApi {
} }
private InputStream getPingWithHttpInfo(Long petId, String name, String status) throws ApiException { private InputStream getPingWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
okhttp3.Call localVarCall = getPingValidateBeforeCall(petId, name, status, null); okhttp3.Call localVarCall = getPingValidateBeforeCall(petId, name, status, null);
Type localVarReturnType = new TypeToken<SomeObj>(){}.getType(); Type localVarReturnType = new TypeToken<SomeObj>(){}.getType();
return localVarApiClient.executeStream(localVarCall, localVarReturnType); return localVarApiClient.executeStream(localVarCall, localVarReturnType);
} }
private okhttp3.Call getPingAsync(Long petId, String name, String status, final ApiCallback<SomeObj> _callback) throws ApiException { private okhttp3.Call getPingAsync(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, final ApiCallback<SomeObj> _callback) throws ApiException {
okhttp3.Call localVarCall = getPingValidateBeforeCall(petId, name, status, _callback); okhttp3.Call localVarCall = getPingValidateBeforeCall(petId, name, status, _callback);
Type localVarReturnType = new TypeToken<SomeObj>(){}.getType(); Type localVarReturnType = new TypeToken<SomeObj>(){}.getType();
@ -157,11 +157,14 @@ public class PingApi {
} }
public class APIgetPingRequest { public class APIgetPingRequest {
@javax.annotation.Nonnull
private final Long petId; private final Long petId;
@javax.annotation.Nullable
private String name; private String name;
@javax.annotation.Nullable
private String status; private String status;
private APIgetPingRequest(Long petId) { private APIgetPingRequest(@javax.annotation.Nonnull Long petId) {
this.petId = petId; this.petId = petId;
} }
@ -170,7 +173,7 @@ public class PingApi {
* @param name Updated name of the pet (optional) * @param name Updated name of the pet (optional)
* @return APIgetPingRequest * @return APIgetPingRequest
*/ */
public APIgetPingRequest name(String name) { public APIgetPingRequest name(@javax.annotation.Nullable String name) {
this.name = name; this.name = name;
return this; return this;
} }
@ -180,7 +183,7 @@ public class PingApi {
* @param status Updated status of the pet (optional) * @param status Updated status of the pet (optional)
* @return APIgetPingRequest * @return APIgetPingRequest
*/ */
public APIgetPingRequest status(String status) { public APIgetPingRequest status(@javax.annotation.Nullable String status) {
this.status = status; this.status = status;
return this; return this;
} }
@ -260,7 +263,7 @@ public class PingApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public APIgetPingRequest getPing(Long petId) { public APIgetPingRequest getPing(@javax.annotation.Nonnull Long petId) {
return new APIgetPingRequest(petId); return new APIgetPingRequest(petId);
} }
/** /**
@ -276,7 +279,7 @@ public class PingApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call postPingCall(SomeObj someObj, final ApiCallback _callback) throws ApiException { public okhttp3.Call postPingCall(@javax.annotation.Nullable SomeObj someObj, final ApiCallback _callback) throws ApiException {
String basePath = null; String basePath = null;
// Operation Servers // Operation Servers
String[] localBasePaths = new String[] { }; String[] localBasePaths = new String[] { };
@ -322,7 +325,7 @@ public class PingApi {
} }
@SuppressWarnings("rawtypes") @SuppressWarnings("rawtypes")
private okhttp3.Call postPingValidateBeforeCall(SomeObj someObj, final ApiCallback _callback) throws ApiException { private okhttp3.Call postPingValidateBeforeCall(@javax.annotation.Nullable SomeObj someObj, final ApiCallback _callback) throws ApiException {
return postPingCall(someObj, _callback); return postPingCall(someObj, _callback);
} }
@ -340,7 +343,7 @@ public class PingApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public InputStream postPing(SomeObj someObj) throws ApiException { public InputStream postPing(@javax.annotation.Nullable SomeObj someObj) throws ApiException {
InputStream localVarResp = postPingWithHttpInfo(someObj); InputStream localVarResp = postPingWithHttpInfo(someObj);
return localVarResp; return localVarResp;
} }
@ -358,7 +361,7 @@ public class PingApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public InputStream postPingWithHttpInfo(SomeObj someObj) throws ApiException { public InputStream postPingWithHttpInfo(@javax.annotation.Nullable SomeObj someObj) throws ApiException {
okhttp3.Call localVarCall = postPingValidateBeforeCall(someObj, null); okhttp3.Call localVarCall = postPingValidateBeforeCall(someObj, null);
Type localVarReturnType = new TypeToken<SomeObj>(){}.getType(); Type localVarReturnType = new TypeToken<SomeObj>(){}.getType();
return localVarApiClient.executeStream(localVarCall, localVarReturnType); return localVarApiClient.executeStream(localVarCall, localVarReturnType);
@ -378,7 +381,7 @@ public class PingApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public okhttp3.Call postPingAsync(SomeObj someObj, final ApiCallback<SomeObj> _callback) throws ApiException { public okhttp3.Call postPingAsync(@javax.annotation.Nullable SomeObj someObj, final ApiCallback<SomeObj> _callback) throws ApiException {
okhttp3.Call localVarCall = postPingValidateBeforeCall(someObj, _callback); okhttp3.Call localVarCall = postPingValidateBeforeCall(someObj, _callback);
Type localVarReturnType = new TypeToken<SomeObj>(){}.getType(); Type localVarReturnType = new TypeToken<SomeObj>(){}.getType();

View File

@ -48,7 +48,7 @@ public class AnotherFakeApi extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client call123testSpecialTags(Client client) throws ApiException { public Client call123testSpecialTags(@javax.annotation.Nonnull Client client) throws ApiException {
return this.call123testSpecialTags(client, Collections.emptyMap()); return this.call123testSpecialTags(client, Collections.emptyMap());
} }
@ -61,7 +61,7 @@ public class AnotherFakeApi extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client call123testSpecialTags(Client client, Map<String, String> additionalHeaders) throws ApiException { public Client call123testSpecialTags(@javax.annotation.Nonnull Client client, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = client; Object localVarPostBody = client;
// verify the required parameter 'client' is set // verify the required parameter 'client' is set

View File

@ -197,7 +197,7 @@ public class FakeApi extends BaseApi {
* @param header1 header parameter (optional) * @param header1 header parameter (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void fakeHttpSignatureTest(Pet pet, String query1, String header1) throws ApiException { public void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1) throws ApiException {
this.fakeHttpSignatureTest(pet, query1, header1, Collections.emptyMap()); this.fakeHttpSignatureTest(pet, query1, header1, Collections.emptyMap());
} }
@ -211,7 +211,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void fakeHttpSignatureTest(Pet pet, String query1, String header1, Map<String, String> additionalHeaders) throws ApiException { public void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
@ -274,7 +274,7 @@ public class FakeApi extends BaseApi {
* @return Boolean * @return Boolean
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Boolean fakeOuterBooleanSerialize(Boolean body) throws ApiException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws ApiException {
return this.fakeOuterBooleanSerialize(body, Collections.emptyMap()); return this.fakeOuterBooleanSerialize(body, Collections.emptyMap());
} }
@ -287,7 +287,7 @@ public class FakeApi extends BaseApi {
* @return Boolean * @return Boolean
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Boolean fakeOuterBooleanSerialize(Boolean body, Map<String, String> additionalHeaders) throws ApiException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -343,7 +343,7 @@ public class FakeApi extends BaseApi {
* @return OuterComposite * @return OuterComposite
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public OuterComposite fakeOuterCompositeSerialize(OuterComposite outerComposite) throws ApiException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite outerComposite) throws ApiException {
return this.fakeOuterCompositeSerialize(outerComposite, Collections.emptyMap()); return this.fakeOuterCompositeSerialize(outerComposite, Collections.emptyMap());
} }
@ -356,7 +356,7 @@ public class FakeApi extends BaseApi {
* @return OuterComposite * @return OuterComposite
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public OuterComposite fakeOuterCompositeSerialize(OuterComposite outerComposite, Map<String, String> additionalHeaders) throws ApiException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite outerComposite, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = outerComposite; Object localVarPostBody = outerComposite;
// create path and map variables // create path and map variables
@ -412,7 +412,7 @@ public class FakeApi extends BaseApi {
* @return BigDecimal * @return BigDecimal
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws ApiException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws ApiException {
return this.fakeOuterNumberSerialize(body, Collections.emptyMap()); return this.fakeOuterNumberSerialize(body, Collections.emptyMap());
} }
@ -425,7 +425,7 @@ public class FakeApi extends BaseApi {
* @return BigDecimal * @return BigDecimal
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public BigDecimal fakeOuterNumberSerialize(BigDecimal body, Map<String, String> additionalHeaders) throws ApiException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -481,7 +481,7 @@ public class FakeApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String fakeOuterStringSerialize(String body) throws ApiException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws ApiException {
return this.fakeOuterStringSerialize(body, Collections.emptyMap()); return this.fakeOuterStringSerialize(body, Collections.emptyMap());
} }
@ -494,7 +494,7 @@ public class FakeApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String fakeOuterStringSerialize(String body, Map<String, String> additionalHeaders) throws ApiException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// create path and map variables // create path and map variables
@ -550,7 +550,7 @@ public class FakeApi extends BaseApi {
* @return OuterObjectWithEnumProperty * @return OuterObjectWithEnumProperty
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws ApiException { public OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws ApiException {
return this.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty, Collections.emptyMap()); return this.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty, Collections.emptyMap());
} }
@ -563,7 +563,7 @@ public class FakeApi extends BaseApi {
* @return OuterObjectWithEnumProperty * @return OuterObjectWithEnumProperty
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(OuterObjectWithEnumProperty outerObjectWithEnumProperty, Map<String, String> additionalHeaders) throws ApiException { public OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = outerObjectWithEnumProperty; Object localVarPostBody = outerObjectWithEnumProperty;
// verify the required parameter 'outerObjectWithEnumProperty' is set // verify the required parameter 'outerObjectWithEnumProperty' is set
@ -623,7 +623,7 @@ public class FakeApi extends BaseApi {
* @param requestBody request body (required) * @param requestBody request body (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testAdditionalPropertiesReference(Map<String, Object> requestBody) throws ApiException { public void testAdditionalPropertiesReference(@javax.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
this.testAdditionalPropertiesReference(requestBody, Collections.emptyMap()); this.testAdditionalPropertiesReference(requestBody, Collections.emptyMap());
} }
@ -635,7 +635,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testAdditionalPropertiesReference(Map<String, Object> requestBody, Map<String, String> additionalHeaders) throws ApiException { public void testAdditionalPropertiesReference(@javax.annotation.Nonnull Map<String, Object> requestBody, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = requestBody; Object localVarPostBody = requestBody;
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set
@ -694,7 +694,7 @@ public class FakeApi extends BaseApi {
* @param body image to upload (required) * @param body image to upload (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithBinary(File body) throws ApiException { public void testBodyWithBinary(@javax.annotation.Nullable File body) throws ApiException {
this.testBodyWithBinary(body, Collections.emptyMap()); this.testBodyWithBinary(body, Collections.emptyMap());
} }
@ -706,7 +706,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithBinary(File body, Map<String, String> additionalHeaders) throws ApiException { public void testBodyWithBinary(@javax.annotation.Nullable File body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body; Object localVarPostBody = body;
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
@ -765,7 +765,7 @@ public class FakeApi extends BaseApi {
* @param fileSchemaTestClass (required) * @param fileSchemaTestClass (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) throws ApiException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
this.testBodyWithFileSchema(fileSchemaTestClass, Collections.emptyMap()); this.testBodyWithFileSchema(fileSchemaTestClass, Collections.emptyMap());
} }
@ -777,7 +777,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass, Map<String, String> additionalHeaders) throws ApiException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = fileSchemaTestClass; Object localVarPostBody = fileSchemaTestClass;
// verify the required parameter 'fileSchemaTestClass' is set // verify the required parameter 'fileSchemaTestClass' is set
@ -837,7 +837,7 @@ public class FakeApi extends BaseApi {
* @param user (required) * @param user (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithQueryParams(String query, User user) throws ApiException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws ApiException {
this.testBodyWithQueryParams(query, user, Collections.emptyMap()); this.testBodyWithQueryParams(query, user, Collections.emptyMap());
} }
@ -850,7 +850,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testBodyWithQueryParams(String query, User user, Map<String, String> additionalHeaders) throws ApiException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = user; Object localVarPostBody = user;
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
@ -916,7 +916,7 @@ public class FakeApi extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client testClientModel(Client client) throws ApiException { public Client testClientModel(@javax.annotation.Nonnull Client client) throws ApiException {
return this.testClientModel(client, Collections.emptyMap()); return this.testClientModel(client, Collections.emptyMap());
} }
@ -929,7 +929,7 @@ public class FakeApi extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client testClientModel(Client client, Map<String, String> additionalHeaders) throws ApiException { public Client testClientModel(@javax.annotation.Nonnull Client client, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = client; Object localVarPostBody = client;
// verify the required parameter 'client' is set // verify the required parameter 'client' is set
@ -1002,7 +1002,7 @@ public class FakeApi extends BaseApi {
* @param paramCallback None (optional) * @param paramCallback None (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
this.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, Collections.emptyMap()); this.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback, Collections.emptyMap());
} }
@ -1027,7 +1027,7 @@ public class FakeApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, Map<String, String> additionalHeaders) throws ApiException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'number' is set // verify the required parameter 'number' is set
@ -1137,7 +1137,7 @@ if (paramCallback != null)
* @param enumFormString Form parameter enum test (string) (optional, default to -efg) * @param enumFormString Form parameter enum test (string) (optional, default to -efg)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString) throws ApiException { public void testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
this.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, Collections.emptyMap()); this.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, Collections.emptyMap());
} }
@ -1157,7 +1157,7 @@ if (paramCallback != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString, Map<String, String> additionalHeaders) throws ApiException { public void testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// create path and map variables // create path and map variables
@ -1229,7 +1229,7 @@ if (enumFormString != null)
* @param int64Group Integer in group parameters (optional) * @param int64Group Integer in group parameters (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { public void testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
this.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, Collections.emptyMap()); this.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group, Collections.emptyMap());
} }
@ -1246,7 +1246,7 @@ if (enumFormString != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, Map<String, String> additionalHeaders) throws ApiException { public void testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'requiredStringGroup' is set // verify the required parameter 'requiredStringGroup' is set
@ -1323,7 +1323,7 @@ if (booleanGroup != null)
* @param requestBody request body (required) * @param requestBody request body (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testInlineAdditionalProperties(Map<String, String> requestBody) throws ApiException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
this.testInlineAdditionalProperties(requestBody, Collections.emptyMap()); this.testInlineAdditionalProperties(requestBody, Collections.emptyMap());
} }
@ -1335,7 +1335,7 @@ if (booleanGroup != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testInlineAdditionalProperties(Map<String, String> requestBody, Map<String, String> additionalHeaders) throws ApiException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> requestBody, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = requestBody; Object localVarPostBody = requestBody;
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set
@ -1394,7 +1394,7 @@ if (booleanGroup != null)
* @param testInlineFreeformAdditionalPropertiesRequest request body (required) * @param testInlineFreeformAdditionalPropertiesRequest request body (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { public void testInlineFreeformAdditionalProperties(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
this.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest, Collections.emptyMap()); this.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest, Collections.emptyMap());
} }
@ -1406,7 +1406,7 @@ if (booleanGroup != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest, Map<String, String> additionalHeaders) throws ApiException { public void testInlineFreeformAdditionalProperties(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = testInlineFreeformAdditionalPropertiesRequest; Object localVarPostBody = testInlineFreeformAdditionalPropertiesRequest;
// verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set // verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set
@ -1466,7 +1466,7 @@ if (booleanGroup != null)
* @param param2 field2 (required) * @param param2 field2 (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testJsonFormData(String param, String param2) throws ApiException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
this.testJsonFormData(param, param2, Collections.emptyMap()); this.testJsonFormData(param, param2, Collections.emptyMap());
} }
@ -1479,7 +1479,7 @@ if (booleanGroup != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testJsonFormData(String param, String param2, Map<String, String> additionalHeaders) throws ApiException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
@ -1547,7 +1547,7 @@ if (param2 != null)
* @param childWithNullable request body (required) * @param childWithNullable request body (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testNullable(ChildWithNullable childWithNullable) throws ApiException { public void testNullable(@javax.annotation.Nonnull ChildWithNullable childWithNullable) throws ApiException {
this.testNullable(childWithNullable, Collections.emptyMap()); this.testNullable(childWithNullable, Collections.emptyMap());
} }
@ -1559,7 +1559,7 @@ if (param2 != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testNullable(ChildWithNullable childWithNullable, Map<String, String> additionalHeaders) throws ApiException { public void testNullable(@javax.annotation.Nonnull ChildWithNullable childWithNullable, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = childWithNullable; Object localVarPostBody = childWithNullable;
// verify the required parameter 'childWithNullable' is set // verify the required parameter 'childWithNullable' is set
@ -1624,7 +1624,7 @@ if (param2 != null)
* @param language (optional) * @param language (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language) throws ApiException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language) throws ApiException {
this.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, Collections.emptyMap()); this.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, Collections.emptyMap());
} }
@ -1642,7 +1642,7 @@ if (param2 != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language, Map<String, String> additionalHeaders) throws ApiException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
@ -1733,7 +1733,7 @@ if (param2 != null)
* @param requestBody request body (required) * @param requestBody request body (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testStringMapReference(Map<String, String> requestBody) throws ApiException { public void testStringMapReference(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
this.testStringMapReference(requestBody, Collections.emptyMap()); this.testStringMapReference(requestBody, Collections.emptyMap());
} }
@ -1745,7 +1745,7 @@ if (param2 != null)
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void testStringMapReference(Map<String, String> requestBody, Map<String, String> additionalHeaders) throws ApiException { public void testStringMapReference(@javax.annotation.Nonnull Map<String, String> requestBody, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = requestBody; Object localVarPostBody = requestBody;
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set

View File

@ -48,7 +48,7 @@ public class FakeClassnameTags123Api extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client testClassname(Client client) throws ApiException { public Client testClassname(@javax.annotation.Nonnull Client client) throws ApiException {
return this.testClassname(client, Collections.emptyMap()); return this.testClassname(client, Collections.emptyMap());
} }
@ -61,7 +61,7 @@ public class FakeClassnameTags123Api extends BaseApi {
* @return Client * @return Client
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Client testClassname(Client client, Map<String, String> additionalHeaders) throws ApiException { public Client testClassname(@javax.annotation.Nonnull Client client, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = client; Object localVarPostBody = client;
// verify the required parameter 'client' is set // verify the required parameter 'client' is set

View File

@ -50,7 +50,7 @@ public class PetApi extends BaseApi {
* @param pet Pet object that needs to be added to the store (required) * @param pet Pet object that needs to be added to the store (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void addPet(Pet pet) throws ApiException { public void addPet(@javax.annotation.Nonnull Pet pet) throws ApiException {
this.addPet(pet, Collections.emptyMap()); this.addPet(pet, Collections.emptyMap());
} }
@ -62,7 +62,7 @@ public class PetApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void addPet(Pet pet, Map<String, String> additionalHeaders) throws ApiException { public void addPet(@javax.annotation.Nonnull Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
@ -122,7 +122,7 @@ public class PetApi extends BaseApi {
* @param apiKey (optional) * @param apiKey (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
this.deletePet(petId, apiKey, Collections.emptyMap()); this.deletePet(petId, apiKey, Collections.emptyMap());
} }
@ -135,7 +135,7 @@ public class PetApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deletePet(Long petId, String apiKey, Map<String, String> additionalHeaders) throws ApiException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
@ -198,7 +198,7 @@ public class PetApi extends BaseApi {
* @return List&lt;Pet&gt; * @return List&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws ApiException {
return this.findPetsByStatus(status, Collections.emptyMap()); return this.findPetsByStatus(status, Collections.emptyMap());
} }
@ -211,7 +211,7 @@ public class PetApi extends BaseApi {
* @return List&lt;Pet&gt; * @return List&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public List<Pet> findPetsByStatus(List<String> status, Map<String, String> additionalHeaders) throws ApiException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
@ -275,7 +275,7 @@ public class PetApi extends BaseApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags) throws ApiException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags) throws ApiException {
return this.findPetsByTags(tags, Collections.emptyMap()); return this.findPetsByTags(tags, Collections.emptyMap());
} }
@ -290,7 +290,7 @@ public class PetApi extends BaseApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags, Map<String, String> additionalHeaders) throws ApiException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
@ -352,7 +352,7 @@ public class PetApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@javax.annotation.Nonnull Long petId) throws ApiException {
return this.getPetById(petId, Collections.emptyMap()); return this.getPetById(petId, Collections.emptyMap());
} }
@ -365,7 +365,7 @@ public class PetApi extends BaseApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet getPetById(Long petId, Map<String, String> additionalHeaders) throws ApiException { public Pet getPetById(@javax.annotation.Nonnull Long petId, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
@ -426,7 +426,7 @@ public class PetApi extends BaseApi {
* @param pet Pet object that needs to be added to the store (required) * @param pet Pet object that needs to be added to the store (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updatePet(Pet pet) throws ApiException { public void updatePet(@javax.annotation.Nonnull Pet pet) throws ApiException {
this.updatePet(pet, Collections.emptyMap()); this.updatePet(pet, Collections.emptyMap());
} }
@ -438,7 +438,7 @@ public class PetApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updatePet(Pet pet, Map<String, String> additionalHeaders) throws ApiException { public void updatePet(@javax.annotation.Nonnull Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet; Object localVarPostBody = pet;
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
@ -499,7 +499,7 @@ public class PetApi extends BaseApi {
* @param status Updated status of the pet (optional) * @param status Updated status of the pet (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
this.updatePetWithForm(petId, name, status, Collections.emptyMap()); this.updatePetWithForm(petId, name, status, Collections.emptyMap());
} }
@ -513,7 +513,7 @@ public class PetApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updatePetWithForm(Long petId, String name, String status, Map<String, String> additionalHeaders) throws ApiException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
@ -580,7 +580,7 @@ if (status != null)
* @return ModelApiResponse * @return ModelApiResponse
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
return this.uploadFile(petId, additionalMetadata, _file, Collections.emptyMap()); return this.uploadFile(petId, additionalMetadata, _file, Collections.emptyMap());
} }
@ -595,7 +595,7 @@ if (status != null)
* @return ModelApiResponse * @return ModelApiResponse
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file, Map<String, String> additionalHeaders) throws ApiException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
@ -663,7 +663,7 @@ if (_file != null)
* @return ModelApiResponse * @return ModelApiResponse
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
return this.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, Collections.emptyMap()); return this.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata, Collections.emptyMap());
} }
@ -678,7 +678,7 @@ if (_file != null)
* @return ModelApiResponse * @return ModelApiResponse
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata, Map<String, String> additionalHeaders) throws ApiException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set

View File

@ -47,7 +47,7 @@ public class StoreApi extends BaseApi {
* @param orderId ID of the order that needs to be deleted (required) * @param orderId ID of the order that needs to be deleted (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@javax.annotation.Nonnull String orderId) throws ApiException {
this.deleteOrder(orderId, Collections.emptyMap()); this.deleteOrder(orderId, Collections.emptyMap());
} }
@ -59,7 +59,7 @@ public class StoreApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deleteOrder(String orderId, Map<String, String> additionalHeaders) throws ApiException { public void deleteOrder(@javax.annotation.Nonnull String orderId, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
@ -187,7 +187,7 @@ public class StoreApi extends BaseApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@javax.annotation.Nonnull Long orderId) throws ApiException {
return this.getOrderById(orderId, Collections.emptyMap()); return this.getOrderById(orderId, Collections.emptyMap());
} }
@ -200,7 +200,7 @@ public class StoreApi extends BaseApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order getOrderById(Long orderId, Map<String, String> additionalHeaders) throws ApiException { public Order getOrderById(@javax.annotation.Nonnull Long orderId, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
@ -262,7 +262,7 @@ public class StoreApi extends BaseApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order placeOrder(Order order) throws ApiException { public Order placeOrder(@javax.annotation.Nonnull Order order) throws ApiException {
return this.placeOrder(order, Collections.emptyMap()); return this.placeOrder(order, Collections.emptyMap());
} }
@ -275,7 +275,7 @@ public class StoreApi extends BaseApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order placeOrder(Order order, Map<String, String> additionalHeaders) throws ApiException { public Order placeOrder(@javax.annotation.Nonnull Order order, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = order; Object localVarPostBody = order;
// verify the required parameter 'order' is set // verify the required parameter 'order' is set

View File

@ -48,7 +48,7 @@ public class UserApi extends BaseApi {
* @param user Created user object (required) * @param user Created user object (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUser(User user) throws ApiException { public void createUser(@javax.annotation.Nonnull User user) throws ApiException {
this.createUser(user, Collections.emptyMap()); this.createUser(user, Collections.emptyMap());
} }
@ -60,7 +60,7 @@ public class UserApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUser(User user, Map<String, String> additionalHeaders) throws ApiException { public void createUser(@javax.annotation.Nonnull User user, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = user; Object localVarPostBody = user;
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
@ -119,7 +119,7 @@ public class UserApi extends BaseApi {
* @param user List of user object (required) * @param user List of user object (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUsersWithArrayInput(List<User> user) throws ApiException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
this.createUsersWithArrayInput(user, Collections.emptyMap()); this.createUsersWithArrayInput(user, Collections.emptyMap());
} }
@ -131,7 +131,7 @@ public class UserApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUsersWithArrayInput(List<User> user, Map<String, String> additionalHeaders) throws ApiException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = user; Object localVarPostBody = user;
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
@ -190,7 +190,7 @@ public class UserApi extends BaseApi {
* @param user List of user object (required) * @param user List of user object (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUsersWithListInput(List<User> user) throws ApiException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
this.createUsersWithListInput(user, Collections.emptyMap()); this.createUsersWithListInput(user, Collections.emptyMap());
} }
@ -202,7 +202,7 @@ public class UserApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void createUsersWithListInput(List<User> user, Map<String, String> additionalHeaders) throws ApiException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> user, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = user; Object localVarPostBody = user;
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
@ -261,7 +261,7 @@ public class UserApi extends BaseApi {
* @param username The name that needs to be deleted (required) * @param username The name that needs to be deleted (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deleteUser(String username) throws ApiException { public void deleteUser(@javax.annotation.Nonnull String username) throws ApiException {
this.deleteUser(username, Collections.emptyMap()); this.deleteUser(username, Collections.emptyMap());
} }
@ -273,7 +273,7 @@ public class UserApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deleteUser(String username, Map<String, String> additionalHeaders) throws ApiException { public void deleteUser(@javax.annotation.Nonnull String username, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
@ -334,7 +334,7 @@ public class UserApi extends BaseApi {
* @return User * @return User
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public User getUserByName(String username) throws ApiException { public User getUserByName(@javax.annotation.Nonnull String username) throws ApiException {
return this.getUserByName(username, Collections.emptyMap()); return this.getUserByName(username, Collections.emptyMap());
} }
@ -347,7 +347,7 @@ public class UserApi extends BaseApi {
* @return User * @return User
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public User getUserByName(String username, Map<String, String> additionalHeaders) throws ApiException { public User getUserByName(@javax.annotation.Nonnull String username, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
@ -410,7 +410,7 @@ public class UserApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String loginUser(String username, String password) throws ApiException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
return this.loginUser(username, password, Collections.emptyMap()); return this.loginUser(username, password, Collections.emptyMap());
} }
@ -424,7 +424,7 @@ public class UserApi extends BaseApi {
* @return String * @return String
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public String loginUser(String username, String password, Map<String, String> additionalHeaders) throws ApiException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null; Object localVarPostBody = null;
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
@ -556,7 +556,7 @@ public class UserApi extends BaseApi {
* @param user Updated user object (required) * @param user Updated user object (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updateUser(String username, User user) throws ApiException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
this.updateUser(username, user, Collections.emptyMap()); this.updateUser(username, user, Collections.emptyMap());
} }
@ -569,7 +569,7 @@ public class UserApi extends BaseApi {
* @param additionalHeaders additionalHeaders for this call * @param additionalHeaders additionalHeaders for this call
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updateUser(String username, User user, Map<String, String> additionalHeaders) throws ApiException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = user; Object localVarPostBody = user;
// verify the required parameter 'username' is set // verify the required parameter 'username' is set

View File

@ -30,7 +30,7 @@ public interface AnotherFakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"uuid_test: {uuidTest}" "uuid_test: {uuidTest}"
}) })
Client call123testSpecialTags(@Param("uuidTest") UUID uuidTest, Client body); Client call123testSpecialTags(@Param("uuidTest") @javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body);
/** /**
* To test special tags * To test special tags
@ -46,7 +46,7 @@ public interface AnotherFakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"uuid_test: {uuidTest}" "uuid_test: {uuidTest}"
}) })
ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@Param("uuidTest") UUID uuidTest, Client body); ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@Param("uuidTest") @javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body);
} }

View File

@ -34,7 +34,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/xml", "Content-Type: application/xml",
"Accept: application/json", "Accept: application/json",
}) })
void createXmlItem(XmlItem xmlItem); void createXmlItem(@javax.annotation.Nonnull XmlItem xmlItem);
/** /**
* creates an XmlItem * creates an XmlItem
@ -47,7 +47,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/xml", "Content-Type: application/xml",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createXmlItemWithHttpInfo(XmlItem xmlItem); ApiResponse<Void> createXmlItemWithHttpInfo(@javax.annotation.Nonnull XmlItem xmlItem);
@ -62,7 +62,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
Boolean fakeOuterBooleanSerialize(Boolean body); Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body);
/** /**
* *
@ -76,7 +76,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(Boolean body); ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body);
@ -91,7 +91,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
OuterComposite fakeOuterCompositeSerialize(OuterComposite body); OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite body);
/** /**
* *
@ -105,7 +105,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite body); ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite body);
@ -120,7 +120,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
BigDecimal fakeOuterNumberSerialize(BigDecimal body); BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body);
/** /**
* *
@ -134,7 +134,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body); ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body);
@ -149,7 +149,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
String fakeOuterStringSerialize(String body); String fakeOuterStringSerialize(@javax.annotation.Nullable String body);
/** /**
* *
@ -163,7 +163,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(String body); ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body);
@ -177,7 +177,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithFileSchema(FileSchemaTestClass body); void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass body);
/** /**
* *
@ -190,7 +190,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass body); ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass body);
@ -205,7 +205,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithQueryParams(@Param("query") String query, User body); void testBodyWithQueryParams(@Param("query") @javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body);
/** /**
* *
@ -219,7 +219,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@Param("query") String query, User body); ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@Param("query") @javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body);
/** /**
@ -242,7 +242,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithQueryParams(User body, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams); void testBodyWithQueryParams(@javax.annotation.Nonnull User body, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
/** /**
* *
@ -261,7 +261,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(User body, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams); ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull User body, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
/** /**
@ -269,7 +269,7 @@ public interface FakeApi extends ApiClient.Api {
* <code>testBodyWithQueryParams</code> method in a fluent style. * <code>testBodyWithQueryParams</code> method in a fluent style.
*/ */
public static class TestBodyWithQueryParamsQueryParams extends HashMap<String, Object> { public static class TestBodyWithQueryParamsQueryParams extends HashMap<String, Object> {
public TestBodyWithQueryParamsQueryParams query(final String value) { public TestBodyWithQueryParamsQueryParams query(@javax.annotation.Nonnull final String value) {
put("query", EncodingUtils.encode(value)); put("query", EncodingUtils.encode(value));
return this; return this;
} }
@ -286,7 +286,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Client testClientModel(Client body); Client testClientModel(@javax.annotation.Nonnull Client body);
/** /**
* To test \&quot;client\&quot; model * To test \&quot;client\&quot; model
@ -300,7 +300,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Client> testClientModelWithHttpInfo(Client body); ApiResponse<Client> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client body);
@ -327,7 +327,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback); void testEndpointParameters(@Param("number") @javax.annotation.Nonnull BigDecimal number, @Param("double") @javax.annotation.Nonnull Double _double, @Param("pattern_without_delimiter") @javax.annotation.Nonnull String patternWithoutDelimiter, @Param("byte") @javax.annotation.Nonnull byte[] _byte, @Param("integer") @javax.annotation.Nullable Integer integer, @Param("int32") @javax.annotation.Nullable Integer int32, @Param("int64") @javax.annotation.Nullable Long int64, @Param("float") @javax.annotation.Nullable Float _float, @Param("string") @javax.annotation.Nullable String string, @Param("binary") @javax.annotation.Nullable File binary, @Param("date") @javax.annotation.Nullable LocalDate date, @Param("dateTime") @javax.annotation.Nullable OffsetDateTime dateTime, @Param("password") @javax.annotation.Nullable String password, @Param("callback") @javax.annotation.Nullable String paramCallback);
/** /**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@ -353,7 +353,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback); ApiResponse<Void> testEndpointParametersWithHttpInfo(@Param("number") @javax.annotation.Nonnull BigDecimal number, @Param("double") @javax.annotation.Nonnull Double _double, @Param("pattern_without_delimiter") @javax.annotation.Nonnull String patternWithoutDelimiter, @Param("byte") @javax.annotation.Nonnull byte[] _byte, @Param("integer") @javax.annotation.Nullable Integer integer, @Param("int32") @javax.annotation.Nullable Integer int32, @Param("int64") @javax.annotation.Nullable Long int64, @Param("float") @javax.annotation.Nullable Float _float, @Param("string") @javax.annotation.Nullable String string, @Param("binary") @javax.annotation.Nullable File binary, @Param("date") @javax.annotation.Nullable LocalDate date, @Param("dateTime") @javax.annotation.Nullable OffsetDateTime dateTime, @Param("password") @javax.annotation.Nullable String password, @Param("callback") @javax.annotation.Nullable String paramCallback);
@ -377,7 +377,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
void testEnumParameters(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enumQueryStringArray") List<String> enumQueryStringArray, @Param("enumQueryString") String enumQueryString, @Param("enumQueryInteger") Integer enumQueryInteger, @Param("enumQueryDouble") Double enumQueryDouble, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString); void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enumQueryStringArray") @javax.annotation.Nullable List<String> enumQueryStringArray, @Param("enumQueryString") @javax.annotation.Nullable String enumQueryString, @Param("enumQueryInteger") @javax.annotation.Nullable Integer enumQueryInteger, @Param("enumQueryDouble") @javax.annotation.Nullable Double enumQueryDouble, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString);
/** /**
* To test enum parameters * To test enum parameters
@ -400,7 +400,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enumQueryStringArray") List<String> enumQueryStringArray, @Param("enumQueryString") String enumQueryString, @Param("enumQueryInteger") Integer enumQueryInteger, @Param("enumQueryDouble") Double enumQueryDouble, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString); ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enumQueryStringArray") @javax.annotation.Nullable List<String> enumQueryStringArray, @Param("enumQueryString") @javax.annotation.Nullable String enumQueryString, @Param("enumQueryInteger") @javax.annotation.Nullable Integer enumQueryInteger, @Param("enumQueryDouble") @javax.annotation.Nullable Double enumQueryDouble, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString);
/** /**
@ -432,7 +432,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
void testEnumParameters(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams); void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
/** /**
* To test enum parameters * To test enum parameters
@ -460,7 +460,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams); ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
/** /**
@ -468,19 +468,19 @@ public interface FakeApi extends ApiClient.Api {
* <code>testEnumParameters</code> method in a fluent style. * <code>testEnumParameters</code> method in a fluent style.
*/ */
public static class TestEnumParametersQueryParams extends HashMap<String, Object> { public static class TestEnumParametersQueryParams extends HashMap<String, Object> {
public TestEnumParametersQueryParams enumQueryStringArray(final List<String> value) { public TestEnumParametersQueryParams enumQueryStringArray(@javax.annotation.Nullable final List<String> value) {
put("enum_query_string_array", EncodingUtils.encodeCollection(value, "csv")); put("enum_query_string_array", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryString(final String value) { public TestEnumParametersQueryParams enumQueryString(@javax.annotation.Nullable final String value) {
put("enum_query_string", EncodingUtils.encode(value)); put("enum_query_string", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryInteger(final Integer value) { public TestEnumParametersQueryParams enumQueryInteger(@javax.annotation.Nullable final Integer value) {
put("enum_query_integer", EncodingUtils.encode(value)); put("enum_query_integer", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryDouble(final Double value) { public TestEnumParametersQueryParams enumQueryDouble(@javax.annotation.Nullable final Double value) {
put("enum_query_double", EncodingUtils.encode(value)); put("enum_query_double", EncodingUtils.encode(value));
return this; return this;
} }
@ -503,7 +503,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
void testGroupParameters(@Param("requiredStringGroup") Integer requiredStringGroup, @Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("requiredInt64Group") Long requiredInt64Group, @Param("stringGroup") Integer stringGroup, @Param("booleanGroup") Boolean booleanGroup, @Param("int64Group") Long int64Group); void testGroupParameters(@Param("requiredStringGroup") @javax.annotation.Nonnull Integer requiredStringGroup, @Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("requiredInt64Group") @javax.annotation.Nonnull Long requiredInt64Group, @Param("stringGroup") @javax.annotation.Nullable Integer stringGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @Param("int64Group") @javax.annotation.Nullable Long int64Group);
/** /**
* Fake endpoint to test group parameters (optional) * Fake endpoint to test group parameters (optional)
@ -523,7 +523,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredStringGroup") Integer requiredStringGroup, @Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("requiredInt64Group") Long requiredInt64Group, @Param("stringGroup") Integer stringGroup, @Param("booleanGroup") Boolean booleanGroup, @Param("int64Group") Long int64Group); ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredStringGroup") @javax.annotation.Nonnull Integer requiredStringGroup, @Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("requiredInt64Group") @javax.annotation.Nonnull Long requiredInt64Group, @Param("stringGroup") @javax.annotation.Nullable Integer stringGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @Param("int64Group") @javax.annotation.Nullable Long int64Group);
/** /**
@ -552,7 +552,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
void testGroupParameters(@Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("booleanGroup") Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams); void testGroupParameters(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
/** /**
* Fake endpoint to test group parameters (optional) * Fake endpoint to test group parameters (optional)
@ -577,7 +577,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("booleanGroup") Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams); ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
/** /**
@ -585,19 +585,19 @@ public interface FakeApi extends ApiClient.Api {
* <code>testGroupParameters</code> method in a fluent style. * <code>testGroupParameters</code> method in a fluent style.
*/ */
public static class TestGroupParametersQueryParams extends HashMap<String, Object> { public static class TestGroupParametersQueryParams extends HashMap<String, Object> {
public TestGroupParametersQueryParams requiredStringGroup(final Integer value) { public TestGroupParametersQueryParams requiredStringGroup(@javax.annotation.Nonnull final Integer value) {
put("required_string_group", EncodingUtils.encode(value)); put("required_string_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams requiredInt64Group(final Long value) { public TestGroupParametersQueryParams requiredInt64Group(@javax.annotation.Nonnull final Long value) {
put("required_int64_group", EncodingUtils.encode(value)); put("required_int64_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams stringGroup(final Integer value) { public TestGroupParametersQueryParams stringGroup(@javax.annotation.Nullable final Integer value) {
put("string_group", EncodingUtils.encode(value)); put("string_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams int64Group(final Long value) { public TestGroupParametersQueryParams int64Group(@javax.annotation.Nullable final Long value) {
put("int64_group", EncodingUtils.encode(value)); put("int64_group", EncodingUtils.encode(value));
return this; return this;
} }
@ -613,7 +613,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testInlineAdditionalProperties(Map<String, String> param); void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> param);
/** /**
* test inline additionalProperties * test inline additionalProperties
@ -626,7 +626,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> param); ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> param);
@ -641,7 +641,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void testJsonFormData(@Param("param") String param, @Param("param2") String param2); void testJsonFormData(@Param("param") @javax.annotation.Nonnull String param, @Param("param2") @javax.annotation.Nonnull String param2);
/** /**
* test json serialization of form data * test json serialization of form data
@ -655,7 +655,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testJsonFormDataWithHttpInfo(@Param("param") String param, @Param("param2") String param2); ApiResponse<Void> testJsonFormDataWithHttpInfo(@Param("param") @javax.annotation.Nonnull String param, @Param("param2") @javax.annotation.Nonnull String param2);
@ -672,7 +672,7 @@ public interface FakeApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void testQueryParameterCollectionFormat(@Param("pipe") List<String> pipe, @Param("ioutil") List<String> ioutil, @Param("http") List<String> http, @Param("url") List<String> url, @Param("context") List<String> context); void testQueryParameterCollectionFormat(@Param("pipe") @javax.annotation.Nonnull List<String> pipe, @Param("ioutil") @javax.annotation.Nonnull List<String> ioutil, @Param("http") @javax.annotation.Nonnull List<String> http, @Param("url") @javax.annotation.Nonnull List<String> url, @Param("context") @javax.annotation.Nonnull List<String> context);
/** /**
* *
@ -688,7 +688,7 @@ public interface FakeApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@Param("pipe") List<String> pipe, @Param("ioutil") List<String> ioutil, @Param("http") List<String> http, @Param("url") List<String> url, @Param("context") List<String> context); ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@Param("pipe") @javax.annotation.Nonnull List<String> pipe, @Param("ioutil") @javax.annotation.Nonnull List<String> ioutil, @Param("http") @javax.annotation.Nonnull List<String> http, @Param("url") @javax.annotation.Nonnull List<String> url, @Param("context") @javax.annotation.Nonnull List<String> context);
/** /**
@ -742,23 +742,23 @@ public interface FakeApi extends ApiClient.Api {
* <code>testQueryParameterCollectionFormat</code> method in a fluent style. * <code>testQueryParameterCollectionFormat</code> method in a fluent style.
*/ */
public static class TestQueryParameterCollectionFormatQueryParams extends HashMap<String, Object> { public static class TestQueryParameterCollectionFormatQueryParams extends HashMap<String, Object> {
public TestQueryParameterCollectionFormatQueryParams pipe(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams pipe(@javax.annotation.Nonnull final List<String> value) {
put("pipe", EncodingUtils.encodeCollection(value, "csv")); put("pipe", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams ioutil(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams ioutil(@javax.annotation.Nonnull final List<String> value) {
put("ioutil", EncodingUtils.encodeCollection(value, "csv")); put("ioutil", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams http(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams http(@javax.annotation.Nonnull final List<String> value) {
put("http", EncodingUtils.encodeCollection(value, "ssv")); put("http", EncodingUtils.encodeCollection(value, "ssv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams url(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams url(@javax.annotation.Nonnull final List<String> value) {
put("url", EncodingUtils.encodeCollection(value, "csv")); put("url", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams context(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams context(@javax.annotation.Nonnull final List<String> value) {
put("context", EncodingUtils.encodeCollection(value, "multi")); put("context", EncodingUtils.encodeCollection(value, "multi"));
return this; return this;
} }

View File

@ -27,7 +27,7 @@ public interface FakeClassnameTags123Api extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Client testClassname(Client body); Client testClassname(@javax.annotation.Nonnull Client body);
/** /**
* To test class name in snake case * To test class name in snake case
@ -41,7 +41,7 @@ public interface FakeClassnameTags123Api extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Client> testClassnameWithHttpInfo(Client body); ApiResponse<Client> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client body);
} }

View File

@ -29,7 +29,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void addPet(Pet body); void addPet(@javax.annotation.Nonnull Pet body);
/** /**
* Add a new pet to the store * Add a new pet to the store
@ -42,7 +42,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> addPetWithHttpInfo(Pet body); ApiResponse<Void> addPetWithHttpInfo(@javax.annotation.Nonnull Pet body);
@ -57,7 +57,7 @@ public interface PetApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"api_key: {apiKey}" "api_key: {apiKey}"
}) })
void deletePet(@Param("petId") Long petId, @Param("apiKey") String apiKey); void deletePet(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("apiKey") @javax.annotation.Nullable String apiKey);
/** /**
* Deletes a pet * Deletes a pet
@ -71,7 +71,7 @@ public interface PetApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"api_key: {apiKey}" "api_key: {apiKey}"
}) })
ApiResponse<Void> deletePetWithHttpInfo(@Param("petId") Long petId, @Param("apiKey") String apiKey); ApiResponse<Void> deletePetWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("apiKey") @javax.annotation.Nullable String apiKey);
@ -85,7 +85,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
List<Pet> findPetsByStatus(@Param("status") List<String> status); List<Pet> findPetsByStatus(@Param("status") @javax.annotation.Nonnull List<String> status);
/** /**
* Finds Pets by status * Finds Pets by status
@ -98,7 +98,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@Param("status") List<String> status); ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@Param("status") @javax.annotation.Nonnull List<String> status);
/** /**
@ -146,7 +146,7 @@ public interface PetApi extends ApiClient.Api {
* <code>findPetsByStatus</code> method in a fluent style. * <code>findPetsByStatus</code> method in a fluent style.
*/ */
public static class FindPetsByStatusQueryParams extends HashMap<String, Object> { public static class FindPetsByStatusQueryParams extends HashMap<String, Object> {
public FindPetsByStatusQueryParams status(final List<String> value) { public FindPetsByStatusQueryParams status(@javax.annotation.Nonnull final List<String> value) {
put("status", EncodingUtils.encodeCollection(value, "csv")); put("status", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -164,7 +164,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Set<Pet> findPetsByTags(@Param("tags") Set<String> tags); Set<Pet> findPetsByTags(@Param("tags") @javax.annotation.Nonnull Set<String> tags);
/** /**
* Finds Pets by tags * Finds Pets by tags
@ -179,7 +179,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@Param("tags") Set<String> tags); ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@Param("tags") @javax.annotation.Nonnull Set<String> tags);
/** /**
@ -231,7 +231,7 @@ public interface PetApi extends ApiClient.Api {
* <code>findPetsByTags</code> method in a fluent style. * <code>findPetsByTags</code> method in a fluent style.
*/ */
public static class FindPetsByTagsQueryParams extends HashMap<String, Object> { public static class FindPetsByTagsQueryParams extends HashMap<String, Object> {
public FindPetsByTagsQueryParams tags(final Set<String> value) { public FindPetsByTagsQueryParams tags(@javax.annotation.Nonnull final Set<String> value) {
put("tags", EncodingUtils.encodeCollection(value, "csv")); put("tags", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -247,7 +247,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Pet getPetById(@Param("petId") Long petId); Pet getPetById(@Param("petId") @javax.annotation.Nonnull Long petId);
/** /**
* Find pet by ID * Find pet by ID
@ -260,7 +260,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Pet> getPetByIdWithHttpInfo(@Param("petId") Long petId); ApiResponse<Pet> getPetByIdWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId);
@ -274,7 +274,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void updatePet(Pet body); void updatePet(@javax.annotation.Nonnull Pet body);
/** /**
* Update an existing pet * Update an existing pet
@ -287,7 +287,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updatePetWithHttpInfo(Pet body); ApiResponse<Void> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet body);
@ -303,7 +303,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void updatePetWithForm(@Param("petId") Long petId, @Param("name") String name, @Param("status") String status); void updatePetWithForm(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("name") @javax.annotation.Nullable String name, @Param("status") @javax.annotation.Nullable String status);
/** /**
* Updates a pet in the store with form data * Updates a pet in the store with form data
@ -318,7 +318,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updatePetWithFormWithHttpInfo(@Param("petId") Long petId, @Param("name") String name, @Param("status") String status); ApiResponse<Void> updatePetWithFormWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("name") @javax.annotation.Nullable String name, @Param("status") @javax.annotation.Nullable String status);
@ -335,7 +335,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ModelApiResponse uploadFile(@Param("petId") Long petId, @Param("additionalMetadata") String additionalMetadata, @Param("file") File file); ModelApiResponse uploadFile(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata, @Param("file") @javax.annotation.Nullable File file);
/** /**
* uploads an image * uploads an image
@ -351,7 +351,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@Param("petId") Long petId, @Param("additionalMetadata") String additionalMetadata, @Param("file") File file); ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata, @Param("file") @javax.annotation.Nullable File file);
@ -368,7 +368,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ModelApiResponse uploadFileWithRequiredFile(@Param("petId") Long petId, @Param("requiredFile") File requiredFile, @Param("additionalMetadata") String additionalMetadata); ModelApiResponse uploadFileWithRequiredFile(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("requiredFile") @javax.annotation.Nonnull File requiredFile, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata);
/** /**
* uploads an image (required) * uploads an image (required)
@ -384,7 +384,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@Param("petId") Long petId, @Param("requiredFile") File requiredFile, @Param("additionalMetadata") String additionalMetadata); ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("requiredFile") @javax.annotation.Nonnull File requiredFile, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata);
} }

View File

@ -25,7 +25,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void deleteOrder(@Param("orderId") String orderId); void deleteOrder(@Param("orderId") @javax.annotation.Nonnull String orderId);
/** /**
* Delete purchase order by ID * Delete purchase order by ID
@ -37,7 +37,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> deleteOrderWithHttpInfo(@Param("orderId") String orderId); ApiResponse<Void> deleteOrderWithHttpInfo(@Param("orderId") @javax.annotation.Nonnull String orderId);
@ -76,7 +76,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Order getOrderById(@Param("orderId") Long orderId); Order getOrderById(@Param("orderId") @javax.annotation.Nonnull Long orderId);
/** /**
* Find purchase order by ID * Find purchase order by ID
@ -89,7 +89,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Order> getOrderByIdWithHttpInfo(@Param("orderId") Long orderId); ApiResponse<Order> getOrderByIdWithHttpInfo(@Param("orderId") @javax.annotation.Nonnull Long orderId);
@ -104,7 +104,7 @@ public interface StoreApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Order placeOrder(Order body); Order placeOrder(@javax.annotation.Nonnull Order body);
/** /**
* Place an order for a pet * Place an order for a pet
@ -118,7 +118,7 @@ public interface StoreApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Order> placeOrderWithHttpInfo(Order body); ApiResponse<Order> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order body);
} }

View File

@ -27,7 +27,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
void createUser(User body); void createUser(@javax.annotation.Nonnull User body);
/** /**
* Create user * Create user
@ -40,7 +40,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUserWithHttpInfo(User body); ApiResponse<Void> createUserWithHttpInfo(@javax.annotation.Nonnull User body);
@ -54,7 +54,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
void createUsersWithArrayInput(List<User> body); void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> body);
/** /**
* Creates list of users with given input array * Creates list of users with given input array
@ -67,7 +67,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<User> body); ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> body);
@ -81,7 +81,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
void createUsersWithListInput(List<User> body); void createUsersWithListInput(@javax.annotation.Nonnull List<User> body);
/** /**
* Creates list of users with given input array * Creates list of users with given input array
@ -94,7 +94,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<User> body); ApiResponse<Void> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> body);
@ -107,7 +107,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void deleteUser(@Param("username") String username); void deleteUser(@Param("username") @javax.annotation.Nonnull String username);
/** /**
* Delete user * Delete user
@ -119,7 +119,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> deleteUserWithHttpInfo(@Param("username") String username); ApiResponse<Void> deleteUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username);
@ -133,7 +133,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
User getUserByName(@Param("username") String username); User getUserByName(@Param("username") @javax.annotation.Nonnull String username);
/** /**
* Get user by user name * Get user by user name
@ -146,7 +146,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<User> getUserByNameWithHttpInfo(@Param("username") String username); ApiResponse<User> getUserByNameWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username);
@ -161,7 +161,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
String loginUser(@Param("username") String username, @Param("password") String password); String loginUser(@Param("username") @javax.annotation.Nonnull String username, @Param("password") @javax.annotation.Nonnull String password);
/** /**
* Logs user into the system * Logs user into the system
@ -175,7 +175,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<String> loginUserWithHttpInfo(@Param("username") String username, @Param("password") String password); ApiResponse<String> loginUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username, @Param("password") @javax.annotation.Nonnull String password);
/** /**
@ -225,11 +225,11 @@ public interface UserApi extends ApiClient.Api {
* <code>loginUser</code> method in a fluent style. * <code>loginUser</code> method in a fluent style.
*/ */
public static class LoginUserQueryParams extends HashMap<String, Object> { public static class LoginUserQueryParams extends HashMap<String, Object> {
public LoginUserQueryParams username(final String value) { public LoginUserQueryParams username(@javax.annotation.Nonnull final String value) {
put("username", EncodingUtils.encode(value)); put("username", EncodingUtils.encode(value));
return this; return this;
} }
public LoginUserQueryParams password(final String value) { public LoginUserQueryParams password(@javax.annotation.Nonnull final String value) {
put("password", EncodingUtils.encode(value)); put("password", EncodingUtils.encode(value));
return this; return this;
} }
@ -269,7 +269,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
void updateUser(@Param("username") String username, User body); void updateUser(@Param("username") @javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body);
/** /**
* Updated user * Updated user
@ -283,7 +283,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: */*", "Content-Type: */*",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updateUserWithHttpInfo(@Param("username") String username, User body); ApiResponse<Void> updateUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body);
} }

View File

@ -27,7 +27,7 @@ public interface AnotherFakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Client call123testSpecialTags(Client client); Client call123testSpecialTags(@javax.annotation.Nonnull Client client);
/** /**
* To test special tags * To test special tags
@ -41,7 +41,7 @@ public interface AnotherFakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client client); ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@javax.annotation.Nonnull Client client);
} }

View File

@ -93,7 +93,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"header_1: {header1}" "header_1: {header1}"
}) })
void fakeHttpSignatureTest(Pet pet, @Param("query1") String query1, @Param("header1") String header1); void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @Param("query1") @javax.annotation.Nullable String query1, @Param("header1") @javax.annotation.Nullable String header1);
/** /**
* test http signature authentication * test http signature authentication
@ -109,7 +109,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"header_1: {header1}" "header_1: {header1}"
}) })
ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(Pet pet, @Param("query1") String query1, @Param("header1") String header1); ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(@javax.annotation.Nonnull Pet pet, @Param("query1") @javax.annotation.Nullable String query1, @Param("header1") @javax.annotation.Nullable String header1);
/** /**
@ -134,7 +134,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"header_1: {header1}" "header_1: {header1}"
}) })
void fakeHttpSignatureTest(Pet pet, @Param("header1") String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams); void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams);
/** /**
* test http signature authentication * test http signature authentication
@ -155,7 +155,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"header_1: {header1}" "header_1: {header1}"
}) })
ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(Pet pet, @Param("header1") String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams); ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams);
/** /**
@ -163,7 +163,7 @@ public interface FakeApi extends ApiClient.Api {
* <code>fakeHttpSignatureTest</code> method in a fluent style. * <code>fakeHttpSignatureTest</code> method in a fluent style.
*/ */
public static class FakeHttpSignatureTestQueryParams extends HashMap<String, Object> { public static class FakeHttpSignatureTestQueryParams extends HashMap<String, Object> {
public FakeHttpSignatureTestQueryParams query1(final String value) { public FakeHttpSignatureTestQueryParams query1(@javax.annotation.Nullable final String value) {
put("query_1", EncodingUtils.encode(value)); put("query_1", EncodingUtils.encode(value));
return this; return this;
} }
@ -180,7 +180,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
Boolean fakeOuterBooleanSerialize(Boolean body); Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body);
/** /**
* *
@ -194,7 +194,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(Boolean body); ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body);
@ -209,7 +209,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
OuterComposite fakeOuterCompositeSerialize(OuterComposite outerComposite); OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite outerComposite);
/** /**
* *
@ -223,7 +223,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite); ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite outerComposite);
@ -238,7 +238,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
BigDecimal fakeOuterNumberSerialize(BigDecimal body); BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body);
/** /**
* *
@ -252,7 +252,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body); ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body);
@ -267,7 +267,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
String fakeOuterStringSerialize(String body); String fakeOuterStringSerialize(@javax.annotation.Nullable String body);
/** /**
* *
@ -281,7 +281,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(String body); ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body);
@ -296,7 +296,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(OuterObjectWithEnumProperty outerObjectWithEnumProperty); OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty);
/** /**
* *
@ -310,7 +310,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: */*", "Accept: */*",
}) })
ApiResponse<OuterObjectWithEnumProperty> fakePropertyEnumIntegerSerializeWithHttpInfo(OuterObjectWithEnumProperty outerObjectWithEnumProperty); ApiResponse<OuterObjectWithEnumProperty> fakePropertyEnumIntegerSerializeWithHttpInfo(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty);
@ -324,7 +324,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testAdditionalPropertiesReference(Map<String, Object> requestBody); void testAdditionalPropertiesReference(@javax.annotation.Nonnull Map<String, Object> requestBody);
/** /**
* test referenced additionalProperties * test referenced additionalProperties
@ -337,7 +337,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testAdditionalPropertiesReferenceWithHttpInfo(Map<String, Object> requestBody); ApiResponse<Void> testAdditionalPropertiesReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, Object> requestBody);
@ -351,7 +351,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: image/png", "Content-Type: image/png",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithBinary(File body); void testBodyWithBinary(@javax.annotation.Nullable File body);
/** /**
* *
@ -364,7 +364,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: image/png", "Content-Type: image/png",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithBinaryWithHttpInfo(File body); ApiResponse<Void> testBodyWithBinaryWithHttpInfo(@javax.annotation.Nullable File body);
@ -378,7 +378,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass); void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass);
/** /**
* *
@ -391,7 +391,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass); ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass);
@ -406,7 +406,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithQueryParams(@Param("query") String query, User user); void testBodyWithQueryParams(@Param("query") @javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user);
/** /**
* *
@ -420,7 +420,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@Param("query") String query, User user); ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@Param("query") @javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user);
/** /**
@ -443,7 +443,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testBodyWithQueryParams(User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams); void testBodyWithQueryParams(@javax.annotation.Nonnull User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
/** /**
* *
@ -462,7 +462,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams); ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
/** /**
@ -470,7 +470,7 @@ public interface FakeApi extends ApiClient.Api {
* <code>testBodyWithQueryParams</code> method in a fluent style. * <code>testBodyWithQueryParams</code> method in a fluent style.
*/ */
public static class TestBodyWithQueryParamsQueryParams extends HashMap<String, Object> { public static class TestBodyWithQueryParamsQueryParams extends HashMap<String, Object> {
public TestBodyWithQueryParamsQueryParams query(final String value) { public TestBodyWithQueryParamsQueryParams query(@javax.annotation.Nonnull final String value) {
put("query", EncodingUtils.encode(value)); put("query", EncodingUtils.encode(value));
return this; return this;
} }
@ -487,7 +487,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Client testClientModel(Client client); Client testClientModel(@javax.annotation.Nonnull Client client);
/** /**
* To test \&quot;client\&quot; model * To test \&quot;client\&quot; model
@ -501,7 +501,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Client> testClientModelWithHttpInfo(Client client); ApiResponse<Client> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client client);
@ -528,7 +528,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void testEndpointParameters(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback); void testEndpointParameters(@Param("number") @javax.annotation.Nonnull BigDecimal number, @Param("double") @javax.annotation.Nonnull Double _double, @Param("pattern_without_delimiter") @javax.annotation.Nonnull String patternWithoutDelimiter, @Param("byte") @javax.annotation.Nonnull byte[] _byte, @Param("integer") @javax.annotation.Nullable Integer integer, @Param("int32") @javax.annotation.Nullable Integer int32, @Param("int64") @javax.annotation.Nullable Long int64, @Param("float") @javax.annotation.Nullable Float _float, @Param("string") @javax.annotation.Nullable String string, @Param("binary") @javax.annotation.Nullable File binary, @Param("date") @javax.annotation.Nullable LocalDate date, @Param("dateTime") @javax.annotation.Nullable OffsetDateTime dateTime, @Param("password") @javax.annotation.Nullable String password, @Param("callback") @javax.annotation.Nullable String paramCallback);
/** /**
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
@ -554,7 +554,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testEndpointParametersWithHttpInfo(@Param("number") BigDecimal number, @Param("double") Double _double, @Param("pattern_without_delimiter") String patternWithoutDelimiter, @Param("byte") byte[] _byte, @Param("integer") Integer integer, @Param("int32") Integer int32, @Param("int64") Long int64, @Param("float") Float _float, @Param("string") String string, @Param("binary") File binary, @Param("date") LocalDate date, @Param("dateTime") OffsetDateTime dateTime, @Param("password") String password, @Param("callback") String paramCallback); ApiResponse<Void> testEndpointParametersWithHttpInfo(@Param("number") @javax.annotation.Nonnull BigDecimal number, @Param("double") @javax.annotation.Nonnull Double _double, @Param("pattern_without_delimiter") @javax.annotation.Nonnull String patternWithoutDelimiter, @Param("byte") @javax.annotation.Nonnull byte[] _byte, @Param("integer") @javax.annotation.Nullable Integer integer, @Param("int32") @javax.annotation.Nullable Integer int32, @Param("int64") @javax.annotation.Nullable Long int64, @Param("float") @javax.annotation.Nullable Float _float, @Param("string") @javax.annotation.Nullable String string, @Param("binary") @javax.annotation.Nullable File binary, @Param("date") @javax.annotation.Nullable LocalDate date, @Param("dateTime") @javax.annotation.Nullable OffsetDateTime dateTime, @Param("password") @javax.annotation.Nullable String password, @Param("callback") @javax.annotation.Nullable String paramCallback);
@ -579,7 +579,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
void testEnumParameters(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enumQueryStringArray") List<String> enumQueryStringArray, @Param("enumQueryString") String enumQueryString, @Param("enumQueryInteger") Integer enumQueryInteger, @Param("enumQueryDouble") Double enumQueryDouble, @Param("enumQueryModelArray") List<EnumClass> enumQueryModelArray, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString); void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enumQueryStringArray") @javax.annotation.Nullable List<String> enumQueryStringArray, @Param("enumQueryString") @javax.annotation.Nullable String enumQueryString, @Param("enumQueryInteger") @javax.annotation.Nullable Integer enumQueryInteger, @Param("enumQueryDouble") @javax.annotation.Nullable Double enumQueryDouble, @Param("enumQueryModelArray") @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString);
/** /**
* To test enum parameters * To test enum parameters
@ -603,7 +603,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enumQueryStringArray") List<String> enumQueryStringArray, @Param("enumQueryString") String enumQueryString, @Param("enumQueryInteger") Integer enumQueryInteger, @Param("enumQueryDouble") Double enumQueryDouble, @Param("enumQueryModelArray") List<EnumClass> enumQueryModelArray, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString); ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enumQueryStringArray") @javax.annotation.Nullable List<String> enumQueryStringArray, @Param("enumQueryString") @javax.annotation.Nullable String enumQueryString, @Param("enumQueryInteger") @javax.annotation.Nullable Integer enumQueryInteger, @Param("enumQueryDouble") @javax.annotation.Nullable Double enumQueryDouble, @Param("enumQueryModelArray") @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString);
/** /**
@ -636,7 +636,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
void testEnumParameters(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams); void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
/** /**
* To test enum parameters * To test enum parameters
@ -665,7 +665,7 @@ public interface FakeApi extends ApiClient.Api {
"enum_header_string: {enumHeaderString}" "enum_header_string: {enumHeaderString}"
}) })
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") List<String> enumHeaderStringArray, @Param("enumHeaderString") String enumHeaderString, @Param("enum_form_string_array") List<String> enumFormStringArray, @Param("enum_form_string") String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams); ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
/** /**
@ -673,23 +673,23 @@ public interface FakeApi extends ApiClient.Api {
* <code>testEnumParameters</code> method in a fluent style. * <code>testEnumParameters</code> method in a fluent style.
*/ */
public static class TestEnumParametersQueryParams extends HashMap<String, Object> { public static class TestEnumParametersQueryParams extends HashMap<String, Object> {
public TestEnumParametersQueryParams enumQueryStringArray(final List<String> value) { public TestEnumParametersQueryParams enumQueryStringArray(@javax.annotation.Nullable final List<String> value) {
put("enum_query_string_array", EncodingUtils.encodeCollection(value, "multi")); put("enum_query_string_array", EncodingUtils.encodeCollection(value, "multi"));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryString(final String value) { public TestEnumParametersQueryParams enumQueryString(@javax.annotation.Nullable final String value) {
put("enum_query_string", EncodingUtils.encode(value)); put("enum_query_string", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryInteger(final Integer value) { public TestEnumParametersQueryParams enumQueryInteger(@javax.annotation.Nullable final Integer value) {
put("enum_query_integer", EncodingUtils.encode(value)); put("enum_query_integer", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryDouble(final Double value) { public TestEnumParametersQueryParams enumQueryDouble(@javax.annotation.Nullable final Double value) {
put("enum_query_double", EncodingUtils.encode(value)); put("enum_query_double", EncodingUtils.encode(value));
return this; return this;
} }
public TestEnumParametersQueryParams enumQueryModelArray(final List<EnumClass> value) { public TestEnumParametersQueryParams enumQueryModelArray(@javax.annotation.Nullable final List<EnumClass> value) {
put("enum_query_model_array", EncodingUtils.encodeCollection(value, "multi")); put("enum_query_model_array", EncodingUtils.encodeCollection(value, "multi"));
return this; return this;
} }
@ -712,7 +712,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
void testGroupParameters(@Param("requiredStringGroup") Integer requiredStringGroup, @Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("requiredInt64Group") Long requiredInt64Group, @Param("stringGroup") Integer stringGroup, @Param("booleanGroup") Boolean booleanGroup, @Param("int64Group") Long int64Group); void testGroupParameters(@Param("requiredStringGroup") @javax.annotation.Nonnull Integer requiredStringGroup, @Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("requiredInt64Group") @javax.annotation.Nonnull Long requiredInt64Group, @Param("stringGroup") @javax.annotation.Nullable Integer stringGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @Param("int64Group") @javax.annotation.Nullable Long int64Group);
/** /**
* Fake endpoint to test group parameters (optional) * Fake endpoint to test group parameters (optional)
@ -732,7 +732,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredStringGroup") Integer requiredStringGroup, @Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("requiredInt64Group") Long requiredInt64Group, @Param("stringGroup") Integer stringGroup, @Param("booleanGroup") Boolean booleanGroup, @Param("int64Group") Long int64Group); ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredStringGroup") @javax.annotation.Nonnull Integer requiredStringGroup, @Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("requiredInt64Group") @javax.annotation.Nonnull Long requiredInt64Group, @Param("stringGroup") @javax.annotation.Nullable Integer stringGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @Param("int64Group") @javax.annotation.Nullable Long int64Group);
/** /**
@ -761,7 +761,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
void testGroupParameters(@Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("booleanGroup") Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams); void testGroupParameters(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
/** /**
* Fake endpoint to test group parameters (optional) * Fake endpoint to test group parameters (optional)
@ -786,7 +786,7 @@ public interface FakeApi extends ApiClient.Api {
"boolean_group: {booleanGroup}" "boolean_group: {booleanGroup}"
}) })
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") Boolean requiredBooleanGroup, @Param("booleanGroup") Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams); ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
/** /**
@ -794,19 +794,19 @@ public interface FakeApi extends ApiClient.Api {
* <code>testGroupParameters</code> method in a fluent style. * <code>testGroupParameters</code> method in a fluent style.
*/ */
public static class TestGroupParametersQueryParams extends HashMap<String, Object> { public static class TestGroupParametersQueryParams extends HashMap<String, Object> {
public TestGroupParametersQueryParams requiredStringGroup(final Integer value) { public TestGroupParametersQueryParams requiredStringGroup(@javax.annotation.Nonnull final Integer value) {
put("required_string_group", EncodingUtils.encode(value)); put("required_string_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams requiredInt64Group(final Long value) { public TestGroupParametersQueryParams requiredInt64Group(@javax.annotation.Nonnull final Long value) {
put("required_int64_group", EncodingUtils.encode(value)); put("required_int64_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams stringGroup(final Integer value) { public TestGroupParametersQueryParams stringGroup(@javax.annotation.Nullable final Integer value) {
put("string_group", EncodingUtils.encode(value)); put("string_group", EncodingUtils.encode(value));
return this; return this;
} }
public TestGroupParametersQueryParams int64Group(final Long value) { public TestGroupParametersQueryParams int64Group(@javax.annotation.Nullable final Long value) {
put("int64_group", EncodingUtils.encode(value)); put("int64_group", EncodingUtils.encode(value));
return this; return this;
} }
@ -822,7 +822,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testInlineAdditionalProperties(Map<String, String> requestBody); void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> requestBody);
/** /**
* test inline additionalProperties * test inline additionalProperties
@ -835,7 +835,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> requestBody); ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody);
@ -849,7 +849,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest); void testInlineFreeformAdditionalProperties(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest);
/** /**
* test inline free-form additionalProperties * test inline free-form additionalProperties
@ -862,7 +862,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testInlineFreeformAdditionalPropertiesWithHttpInfo(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest); ApiResponse<Void> testInlineFreeformAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest);
@ -877,7 +877,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void testJsonFormData(@Param("param") String param, @Param("param2") String param2); void testJsonFormData(@Param("param") @javax.annotation.Nonnull String param, @Param("param2") @javax.annotation.Nonnull String param2);
/** /**
* test json serialization of form data * test json serialization of form data
@ -891,7 +891,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testJsonFormDataWithHttpInfo(@Param("param") String param, @Param("param2") String param2); ApiResponse<Void> testJsonFormDataWithHttpInfo(@Param("param") @javax.annotation.Nonnull String param, @Param("param2") @javax.annotation.Nonnull String param2);
@ -905,7 +905,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testNullable(ChildWithNullable childWithNullable); void testNullable(@javax.annotation.Nonnull ChildWithNullable childWithNullable);
/** /**
* test nullable parent property * test nullable parent property
@ -918,7 +918,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testNullableWithHttpInfo(ChildWithNullable childWithNullable); ApiResponse<Void> testNullableWithHttpInfo(@javax.annotation.Nonnull ChildWithNullable childWithNullable);
@ -937,7 +937,7 @@ public interface FakeApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void testQueryParameterCollectionFormat(@Param("pipe") List<String> pipe, @Param("ioutil") List<String> ioutil, @Param("http") List<String> http, @Param("url") List<String> url, @Param("context") List<String> context, @Param("allowEmpty") String allowEmpty, @Param("language") Map<String, String> language); void testQueryParameterCollectionFormat(@Param("pipe") @javax.annotation.Nonnull List<String> pipe, @Param("ioutil") @javax.annotation.Nonnull List<String> ioutil, @Param("http") @javax.annotation.Nonnull List<String> http, @Param("url") @javax.annotation.Nonnull List<String> url, @Param("context") @javax.annotation.Nonnull List<String> context, @Param("allowEmpty") @javax.annotation.Nonnull String allowEmpty, @Param("language") @javax.annotation.Nullable Map<String, String> language);
/** /**
* *
@ -955,7 +955,7 @@ public interface FakeApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@Param("pipe") List<String> pipe, @Param("ioutil") List<String> ioutil, @Param("http") List<String> http, @Param("url") List<String> url, @Param("context") List<String> context, @Param("allowEmpty") String allowEmpty, @Param("language") Map<String, String> language); ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@Param("pipe") @javax.annotation.Nonnull List<String> pipe, @Param("ioutil") @javax.annotation.Nonnull List<String> ioutil, @Param("http") @javax.annotation.Nonnull List<String> http, @Param("url") @javax.annotation.Nonnull List<String> url, @Param("context") @javax.annotation.Nonnull List<String> context, @Param("allowEmpty") @javax.annotation.Nonnull String allowEmpty, @Param("language") @javax.annotation.Nullable Map<String, String> language);
/** /**
@ -1013,31 +1013,31 @@ public interface FakeApi extends ApiClient.Api {
* <code>testQueryParameterCollectionFormat</code> method in a fluent style. * <code>testQueryParameterCollectionFormat</code> method in a fluent style.
*/ */
public static class TestQueryParameterCollectionFormatQueryParams extends HashMap<String, Object> { public static class TestQueryParameterCollectionFormatQueryParams extends HashMap<String, Object> {
public TestQueryParameterCollectionFormatQueryParams pipe(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams pipe(@javax.annotation.Nonnull final List<String> value) {
put("pipe", EncodingUtils.encodeCollection(value, "pipes")); put("pipe", EncodingUtils.encodeCollection(value, "pipes"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams ioutil(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams ioutil(@javax.annotation.Nonnull final List<String> value) {
put("ioutil", EncodingUtils.encodeCollection(value, "csv")); put("ioutil", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams http(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams http(@javax.annotation.Nonnull final List<String> value) {
put("http", EncodingUtils.encodeCollection(value, "ssv")); put("http", EncodingUtils.encodeCollection(value, "ssv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams url(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams url(@javax.annotation.Nonnull final List<String> value) {
put("url", EncodingUtils.encodeCollection(value, "csv")); put("url", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams context(final List<String> value) { public TestQueryParameterCollectionFormatQueryParams context(@javax.annotation.Nonnull final List<String> value) {
put("context", EncodingUtils.encodeCollection(value, "multi")); put("context", EncodingUtils.encodeCollection(value, "multi"));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams language(final Map<String, String> value) { public TestQueryParameterCollectionFormatQueryParams language(@javax.annotation.Nullable final Map<String, String> value) {
put("language", EncodingUtils.encode(value)); put("language", EncodingUtils.encode(value));
return this; return this;
} }
public TestQueryParameterCollectionFormatQueryParams allowEmpty(final String value) { public TestQueryParameterCollectionFormatQueryParams allowEmpty(@javax.annotation.Nonnull final String value) {
put("allowEmpty", EncodingUtils.encode(value)); put("allowEmpty", EncodingUtils.encode(value));
return this; return this;
} }
@ -1053,7 +1053,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void testStringMapReference(Map<String, String> requestBody); void testStringMapReference(@javax.annotation.Nonnull Map<String, String> requestBody);
/** /**
* test referenced string map * test referenced string map
@ -1066,7 +1066,7 @@ public interface FakeApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> testStringMapReferenceWithHttpInfo(Map<String, String> requestBody); ApiResponse<Void> testStringMapReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody);
} }

View File

@ -27,7 +27,7 @@ public interface FakeClassnameTags123Api extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
Client testClassname(Client client); Client testClassname(@javax.annotation.Nonnull Client client);
/** /**
* To test class name in snake case * To test class name in snake case
@ -41,7 +41,7 @@ public interface FakeClassnameTags123Api extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Client> testClassnameWithHttpInfo(Client client); ApiResponse<Client> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client client);
} }

View File

@ -29,7 +29,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void addPet(Pet pet); void addPet(@javax.annotation.Nonnull Pet pet);
/** /**
* Add a new pet to the store * Add a new pet to the store
@ -42,7 +42,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> addPetWithHttpInfo(Pet pet); ApiResponse<Void> addPetWithHttpInfo(@javax.annotation.Nonnull Pet pet);
@ -57,7 +57,7 @@ public interface PetApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"api_key: {apiKey}" "api_key: {apiKey}"
}) })
void deletePet(@Param("petId") Long petId, @Param("apiKey") String apiKey); void deletePet(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("apiKey") @javax.annotation.Nullable String apiKey);
/** /**
* Deletes a pet * Deletes a pet
@ -71,7 +71,7 @@ public interface PetApi extends ApiClient.Api {
"Accept: application/json", "Accept: application/json",
"api_key: {apiKey}" "api_key: {apiKey}"
}) })
ApiResponse<Void> deletePetWithHttpInfo(@Param("petId") Long petId, @Param("apiKey") String apiKey); ApiResponse<Void> deletePetWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("apiKey") @javax.annotation.Nullable String apiKey);
@ -85,7 +85,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
List<Pet> findPetsByStatus(@Param("status") List<String> status); List<Pet> findPetsByStatus(@Param("status") @javax.annotation.Nonnull List<String> status);
/** /**
* Finds Pets by status * Finds Pets by status
@ -98,7 +98,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@Param("status") List<String> status); ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@Param("status") @javax.annotation.Nonnull List<String> status);
/** /**
@ -146,7 +146,7 @@ public interface PetApi extends ApiClient.Api {
* <code>findPetsByStatus</code> method in a fluent style. * <code>findPetsByStatus</code> method in a fluent style.
*/ */
public static class FindPetsByStatusQueryParams extends HashMap<String, Object> { public static class FindPetsByStatusQueryParams extends HashMap<String, Object> {
public FindPetsByStatusQueryParams status(final List<String> value) { public FindPetsByStatusQueryParams status(@javax.annotation.Nonnull final List<String> value) {
put("status", EncodingUtils.encodeCollection(value, "csv")); put("status", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -164,7 +164,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Set<Pet> findPetsByTags(@Param("tags") Set<String> tags); Set<Pet> findPetsByTags(@Param("tags") @javax.annotation.Nonnull Set<String> tags);
/** /**
* Finds Pets by tags * Finds Pets by tags
@ -179,7 +179,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@Param("tags") Set<String> tags); ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@Param("tags") @javax.annotation.Nonnull Set<String> tags);
/** /**
@ -231,7 +231,7 @@ public interface PetApi extends ApiClient.Api {
* <code>findPetsByTags</code> method in a fluent style. * <code>findPetsByTags</code> method in a fluent style.
*/ */
public static class FindPetsByTagsQueryParams extends HashMap<String, Object> { public static class FindPetsByTagsQueryParams extends HashMap<String, Object> {
public FindPetsByTagsQueryParams tags(final Set<String> value) { public FindPetsByTagsQueryParams tags(@javax.annotation.Nonnull final Set<String> value) {
put("tags", EncodingUtils.encodeCollection(value, "csv")); put("tags", EncodingUtils.encodeCollection(value, "csv"));
return this; return this;
} }
@ -247,7 +247,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Pet getPetById(@Param("petId") Long petId); Pet getPetById(@Param("petId") @javax.annotation.Nonnull Long petId);
/** /**
* Find pet by ID * Find pet by ID
@ -260,7 +260,7 @@ public interface PetApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Pet> getPetByIdWithHttpInfo(@Param("petId") Long petId); ApiResponse<Pet> getPetByIdWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId);
@ -274,7 +274,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void updatePet(Pet pet); void updatePet(@javax.annotation.Nonnull Pet pet);
/** /**
* Update an existing pet * Update an existing pet
@ -287,7 +287,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updatePetWithHttpInfo(Pet pet); ApiResponse<Void> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet pet);
@ -303,7 +303,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
void updatePetWithForm(@Param("petId") Long petId, @Param("name") String name, @Param("status") String status); void updatePetWithForm(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("name") @javax.annotation.Nullable String name, @Param("status") @javax.annotation.Nullable String status);
/** /**
* Updates a pet in the store with form data * Updates a pet in the store with form data
@ -318,7 +318,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: application/x-www-form-urlencoded", "Content-Type: application/x-www-form-urlencoded",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updatePetWithFormWithHttpInfo(@Param("petId") Long petId, @Param("name") String name, @Param("status") String status); ApiResponse<Void> updatePetWithFormWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("name") @javax.annotation.Nullable String name, @Param("status") @javax.annotation.Nullable String status);
@ -335,7 +335,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ModelApiResponse uploadFile(@Param("petId") Long petId, @Param("additionalMetadata") String additionalMetadata, @Param("file") File file); ModelApiResponse uploadFile(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata, @Param("file") @javax.annotation.Nullable File file);
/** /**
* uploads an image * uploads an image
@ -351,7 +351,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@Param("petId") Long petId, @Param("additionalMetadata") String additionalMetadata, @Param("file") File file); ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata, @Param("file") @javax.annotation.Nullable File file);
@ -368,7 +368,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ModelApiResponse uploadFileWithRequiredFile(@Param("petId") Long petId, @Param("requiredFile") File requiredFile, @Param("additionalMetadata") String additionalMetadata); ModelApiResponse uploadFileWithRequiredFile(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("requiredFile") @javax.annotation.Nonnull File requiredFile, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata);
/** /**
* uploads an image (required) * uploads an image (required)
@ -384,7 +384,7 @@ public interface PetApi extends ApiClient.Api {
"Content-Type: multipart/form-data", "Content-Type: multipart/form-data",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@Param("petId") Long petId, @Param("requiredFile") File requiredFile, @Param("additionalMetadata") String additionalMetadata); ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@Param("petId") @javax.annotation.Nonnull Long petId, @Param("requiredFile") @javax.annotation.Nonnull File requiredFile, @Param("additionalMetadata") @javax.annotation.Nullable String additionalMetadata);
} }

View File

@ -25,7 +25,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void deleteOrder(@Param("orderId") String orderId); void deleteOrder(@Param("orderId") @javax.annotation.Nonnull String orderId);
/** /**
* Delete purchase order by ID * Delete purchase order by ID
@ -37,7 +37,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> deleteOrderWithHttpInfo(@Param("orderId") String orderId); ApiResponse<Void> deleteOrderWithHttpInfo(@Param("orderId") @javax.annotation.Nonnull String orderId);
@ -76,7 +76,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Order getOrderById(@Param("orderId") Long orderId); Order getOrderById(@Param("orderId") @javax.annotation.Nonnull Long orderId);
/** /**
* Find purchase order by ID * Find purchase order by ID
@ -89,7 +89,7 @@ public interface StoreApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Order> getOrderByIdWithHttpInfo(@Param("orderId") Long orderId); ApiResponse<Order> getOrderByIdWithHttpInfo(@Param("orderId") @javax.annotation.Nonnull Long orderId);
@ -104,7 +104,7 @@ public interface StoreApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
Order placeOrder(Order order); Order placeOrder(@javax.annotation.Nonnull Order order);
/** /**
* Place an order for a pet * Place an order for a pet
@ -118,7 +118,7 @@ public interface StoreApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<Order> placeOrderWithHttpInfo(Order order); ApiResponse<Order> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order order);
} }

View File

@ -27,7 +27,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void createUser(User user); void createUser(@javax.annotation.Nonnull User user);
/** /**
* Create user * Create user
@ -40,7 +40,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUserWithHttpInfo(User user); ApiResponse<Void> createUserWithHttpInfo(@javax.annotation.Nonnull User user);
@ -54,7 +54,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void createUsersWithArrayInput(List<User> user); void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user);
/** /**
* Creates list of users with given input array * Creates list of users with given input array
@ -67,7 +67,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<User> user); ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> user);
@ -81,7 +81,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void createUsersWithListInput(List<User> user); void createUsersWithListInput(@javax.annotation.Nonnull List<User> user);
/** /**
* Creates list of users with given input array * Creates list of users with given input array
@ -94,7 +94,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<User> user); ApiResponse<Void> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> user);
@ -107,7 +107,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
void deleteUser(@Param("username") String username); void deleteUser(@Param("username") @javax.annotation.Nonnull String username);
/** /**
* Delete user * Delete user
@ -119,7 +119,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> deleteUserWithHttpInfo(@Param("username") String username); ApiResponse<Void> deleteUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username);
@ -133,7 +133,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
User getUserByName(@Param("username") String username); User getUserByName(@Param("username") @javax.annotation.Nonnull String username);
/** /**
* Get user by user name * Get user by user name
@ -146,7 +146,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<User> getUserByNameWithHttpInfo(@Param("username") String username); ApiResponse<User> getUserByNameWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username);
@ -161,7 +161,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
String loginUser(@Param("username") String username, @Param("password") String password); String loginUser(@Param("username") @javax.annotation.Nonnull String username, @Param("password") @javax.annotation.Nonnull String password);
/** /**
* Logs user into the system * Logs user into the system
@ -175,7 +175,7 @@ public interface UserApi extends ApiClient.Api {
@Headers({ @Headers({
"Accept: application/json,application/xml", "Accept: application/json,application/xml",
}) })
ApiResponse<String> loginUserWithHttpInfo(@Param("username") String username, @Param("password") String password); ApiResponse<String> loginUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username, @Param("password") @javax.annotation.Nonnull String password);
/** /**
@ -225,11 +225,11 @@ public interface UserApi extends ApiClient.Api {
* <code>loginUser</code> method in a fluent style. * <code>loginUser</code> method in a fluent style.
*/ */
public static class LoginUserQueryParams extends HashMap<String, Object> { public static class LoginUserQueryParams extends HashMap<String, Object> {
public LoginUserQueryParams username(final String value) { public LoginUserQueryParams username(@javax.annotation.Nonnull final String value) {
put("username", EncodingUtils.encode(value)); put("username", EncodingUtils.encode(value));
return this; return this;
} }
public LoginUserQueryParams password(final String value) { public LoginUserQueryParams password(@javax.annotation.Nonnull final String value) {
put("password", EncodingUtils.encode(value)); put("password", EncodingUtils.encode(value));
return this; return this;
} }
@ -269,7 +269,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
void updateUser(@Param("username") String username, User user); void updateUser(@Param("username") @javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user);
/** /**
* Updated user * Updated user
@ -283,7 +283,7 @@ public interface UserApi extends ApiClient.Api {
"Content-Type: application/json", "Content-Type: application/json",
"Accept: application/json", "Accept: application/json",
}) })
ApiResponse<Void> updateUserWithHttpInfo(@Param("username") String username, User user); ApiResponse<Void> updateUserWithHttpInfo(@Param("username") @javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user);
} }

View File

@ -51,7 +51,7 @@ public class AnotherFakeApi {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client call123testSpecialTags(UUID uuidTest, Client body) throws IOException { public Client call123testSpecialTags(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws IOException {
HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body); HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -67,13 +67,13 @@ public class AnotherFakeApi {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client call123testSpecialTags(UUID uuidTest, Client body, Map<String, Object> params) throws IOException { public Client call123testSpecialTags(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body, params); HttpResponse response = call123testSpecialTagsForHttpResponse(uuidTest, body, params);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, Client body) throws IOException { public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws IOException {
// verify the required parameter 'uuidTest' is set // verify the required parameter 'uuidTest' is set
if (uuidTest == null) { if (uuidTest == null) {
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags"); throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
@ -90,7 +90,7 @@ public class AnotherFakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
} }
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, java.io.InputStream body, String mediaType) throws IOException { public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonnull UUID uuidTest, java.io.InputStream body, String mediaType) throws IOException {
// verify the required parameter 'uuidTest' is set // verify the required parameter 'uuidTest' is set
if (uuidTest == null) { if (uuidTest == null) {
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags"); throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");
@ -109,7 +109,7 @@ public class AnotherFakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
} }
public HttpResponse call123testSpecialTagsForHttpResponse(UUID uuidTest, Client body, Map<String, Object> params) throws IOException { public HttpResponse call123testSpecialTagsForHttpResponse(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
// verify the required parameter 'uuidTest' is set // verify the required parameter 'uuidTest' is set
if (uuidTest == null) { if (uuidTest == null) {
throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags"); throw new IllegalArgumentException("Missing the required parameter 'uuidTest' when calling call123testSpecialTags");

View File

@ -56,7 +56,7 @@ public class FakeApi {
* @param xmlItem XmlItem Body * @param xmlItem XmlItem Body
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createXmlItem(XmlItem xmlItem) throws IOException { public void createXmlItem(@javax.annotation.Nonnull XmlItem xmlItem) throws IOException {
createXmlItemForHttpResponse(xmlItem); createXmlItemForHttpResponse(xmlItem);
} }
@ -68,11 +68,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createXmlItem(XmlItem xmlItem, Map<String, Object> params) throws IOException { public void createXmlItem(@javax.annotation.Nonnull XmlItem xmlItem, Map<String, Object> params) throws IOException {
createXmlItemForHttpResponse(xmlItem, params); createXmlItemForHttpResponse(xmlItem, params);
} }
public HttpResponse createXmlItemForHttpResponse(XmlItem xmlItem) throws IOException { public HttpResponse createXmlItemForHttpResponse(@javax.annotation.Nonnull XmlItem xmlItem) throws IOException {
// verify the required parameter 'xmlItem' is set // verify the required parameter 'xmlItem' is set
if (xmlItem == null) { if (xmlItem == null) {
throw new IllegalArgumentException("Missing the required parameter 'xmlItem' when calling createXmlItem"); throw new IllegalArgumentException("Missing the required parameter 'xmlItem' when calling createXmlItem");
@ -102,7 +102,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse createXmlItemForHttpResponse(XmlItem xmlItem, Map<String, Object> params) throws IOException { public HttpResponse createXmlItemForHttpResponse(@javax.annotation.Nonnull XmlItem xmlItem, Map<String, Object> params) throws IOException {
// verify the required parameter 'xmlItem' is set // verify the required parameter 'xmlItem' is set
if (xmlItem == null) { if (xmlItem == null) {
throw new IllegalArgumentException("Missing the required parameter 'xmlItem' when calling createXmlItem"); throw new IllegalArgumentException("Missing the required parameter 'xmlItem' when calling createXmlItem");
@ -142,7 +142,7 @@ public class FakeApi {
* @return Boolean * @return Boolean
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Boolean fakeOuterBooleanSerialize(Boolean body) throws IOException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws IOException {
HttpResponse response = fakeOuterBooleanSerializeForHttpResponse(body); HttpResponse response = fakeOuterBooleanSerializeForHttpResponse(body);
TypeReference<Boolean> typeRef = new TypeReference<Boolean>() {}; TypeReference<Boolean> typeRef = new TypeReference<Boolean>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -155,13 +155,13 @@ public class FakeApi {
* @return Boolean * @return Boolean
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Boolean fakeOuterBooleanSerialize(Boolean body, Map<String, Object> params) throws IOException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body, Map<String, Object> params) throws IOException {
HttpResponse response = fakeOuterBooleanSerializeForHttpResponse(body, params); HttpResponse response = fakeOuterBooleanSerializeForHttpResponse(body, params);
TypeReference<Boolean> typeRef = new TypeReference<Boolean>() {}; TypeReference<Boolean> typeRef = new TypeReference<Boolean>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse fakeOuterBooleanSerializeForHttpResponse(Boolean body) throws IOException { public HttpResponse fakeOuterBooleanSerializeForHttpResponse(@javax.annotation.Nullable Boolean body) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/boolean"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/boolean");
@ -185,7 +185,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse fakeOuterBooleanSerializeForHttpResponse(Boolean body, Map<String, Object> params) throws IOException { public HttpResponse fakeOuterBooleanSerializeForHttpResponse(@javax.annotation.Nullable Boolean body, Map<String, Object> params) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/boolean"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/boolean");
@ -222,7 +222,7 @@ public class FakeApi {
* @return OuterComposite * @return OuterComposite
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public OuterComposite fakeOuterCompositeSerialize(OuterComposite body) throws IOException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite body) throws IOException {
HttpResponse response = fakeOuterCompositeSerializeForHttpResponse(body); HttpResponse response = fakeOuterCompositeSerializeForHttpResponse(body);
TypeReference<OuterComposite> typeRef = new TypeReference<OuterComposite>() {}; TypeReference<OuterComposite> typeRef = new TypeReference<OuterComposite>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -235,13 +235,13 @@ public class FakeApi {
* @return OuterComposite * @return OuterComposite
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public OuterComposite fakeOuterCompositeSerialize(OuterComposite body, Map<String, Object> params) throws IOException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite body, Map<String, Object> params) throws IOException {
HttpResponse response = fakeOuterCompositeSerializeForHttpResponse(body, params); HttpResponse response = fakeOuterCompositeSerializeForHttpResponse(body, params);
TypeReference<OuterComposite> typeRef = new TypeReference<OuterComposite>() {}; TypeReference<OuterComposite> typeRef = new TypeReference<OuterComposite>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse fakeOuterCompositeSerializeForHttpResponse(OuterComposite body) throws IOException { public HttpResponse fakeOuterCompositeSerializeForHttpResponse(@javax.annotation.Nullable OuterComposite body) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/composite"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/composite");
@ -265,7 +265,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse fakeOuterCompositeSerializeForHttpResponse(OuterComposite body, Map<String, Object> params) throws IOException { public HttpResponse fakeOuterCompositeSerializeForHttpResponse(@javax.annotation.Nullable OuterComposite body, Map<String, Object> params) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/composite"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/composite");
@ -302,7 +302,7 @@ public class FakeApi {
* @return BigDecimal * @return BigDecimal
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws IOException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws IOException {
HttpResponse response = fakeOuterNumberSerializeForHttpResponse(body); HttpResponse response = fakeOuterNumberSerializeForHttpResponse(body);
TypeReference<BigDecimal> typeRef = new TypeReference<BigDecimal>() {}; TypeReference<BigDecimal> typeRef = new TypeReference<BigDecimal>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -315,13 +315,13 @@ public class FakeApi {
* @return BigDecimal * @return BigDecimal
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public BigDecimal fakeOuterNumberSerialize(BigDecimal body, Map<String, Object> params) throws IOException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body, Map<String, Object> params) throws IOException {
HttpResponse response = fakeOuterNumberSerializeForHttpResponse(body, params); HttpResponse response = fakeOuterNumberSerializeForHttpResponse(body, params);
TypeReference<BigDecimal> typeRef = new TypeReference<BigDecimal>() {}; TypeReference<BigDecimal> typeRef = new TypeReference<BigDecimal>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse fakeOuterNumberSerializeForHttpResponse(BigDecimal body) throws IOException { public HttpResponse fakeOuterNumberSerializeForHttpResponse(@javax.annotation.Nullable BigDecimal body) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/number"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/number");
@ -345,7 +345,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse fakeOuterNumberSerializeForHttpResponse(BigDecimal body, Map<String, Object> params) throws IOException { public HttpResponse fakeOuterNumberSerializeForHttpResponse(@javax.annotation.Nullable BigDecimal body, Map<String, Object> params) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/number"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/number");
@ -382,7 +382,7 @@ public class FakeApi {
* @return String * @return String
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public String fakeOuterStringSerialize(String body) throws IOException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws IOException {
HttpResponse response = fakeOuterStringSerializeForHttpResponse(body); HttpResponse response = fakeOuterStringSerializeForHttpResponse(body);
TypeReference<String> typeRef = new TypeReference<String>() {}; TypeReference<String> typeRef = new TypeReference<String>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -395,13 +395,13 @@ public class FakeApi {
* @return String * @return String
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public String fakeOuterStringSerialize(String body, Map<String, Object> params) throws IOException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body, Map<String, Object> params) throws IOException {
HttpResponse response = fakeOuterStringSerializeForHttpResponse(body, params); HttpResponse response = fakeOuterStringSerializeForHttpResponse(body, params);
TypeReference<String> typeRef = new TypeReference<String>() {}; TypeReference<String> typeRef = new TypeReference<String>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse fakeOuterStringSerializeForHttpResponse(String body) throws IOException { public HttpResponse fakeOuterStringSerializeForHttpResponse(@javax.annotation.Nullable String body) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/string"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/string");
@ -425,7 +425,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse fakeOuterStringSerializeForHttpResponse(String body, Map<String, Object> params) throws IOException { public HttpResponse fakeOuterStringSerializeForHttpResponse(@javax.annotation.Nullable String body, Map<String, Object> params) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/string"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake/outer/string");
@ -461,7 +461,7 @@ public class FakeApi {
* @param body The body parameter * @param body The body parameter
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testBodyWithFileSchema(FileSchemaTestClass body) throws IOException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass body) throws IOException {
testBodyWithFileSchemaForHttpResponse(body); testBodyWithFileSchemaForHttpResponse(body);
} }
@ -472,11 +472,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testBodyWithFileSchema(FileSchemaTestClass body, Map<String, Object> params) throws IOException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass body, Map<String, Object> params) throws IOException {
testBodyWithFileSchemaForHttpResponse(body, params); testBodyWithFileSchemaForHttpResponse(body, params);
} }
public HttpResponse testBodyWithFileSchemaForHttpResponse(FileSchemaTestClass body) throws IOException { public HttpResponse testBodyWithFileSchemaForHttpResponse(@javax.annotation.Nonnull FileSchemaTestClass body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testBodyWithFileSchema"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testBodyWithFileSchema");
@ -506,7 +506,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse testBodyWithFileSchemaForHttpResponse(FileSchemaTestClass body, Map<String, Object> params) throws IOException { public HttpResponse testBodyWithFileSchemaForHttpResponse(@javax.annotation.Nonnull FileSchemaTestClass body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testBodyWithFileSchema"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testBodyWithFileSchema");
@ -545,7 +545,7 @@ public class FakeApi {
* @param body The body parameter * @param body The body parameter
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testBodyWithQueryParams(String query, User body) throws IOException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws IOException {
testBodyWithQueryParamsForHttpResponse(query, body); testBodyWithQueryParamsForHttpResponse(query, body);
} }
@ -556,11 +556,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testBodyWithQueryParams(String query, User body, Map<String, Object> params) throws IOException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
testBodyWithQueryParamsForHttpResponse(query, body, params); testBodyWithQueryParamsForHttpResponse(query, body, params);
} }
public HttpResponse testBodyWithQueryParamsForHttpResponse(String query, User body) throws IOException { public HttpResponse testBodyWithQueryParamsForHttpResponse(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws IOException {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) { if (query == null) {
throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -588,7 +588,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse testBodyWithQueryParamsForHttpResponse(String query, java.io.InputStream body, String mediaType) throws IOException { public HttpResponse testBodyWithQueryParamsForHttpResponse(@javax.annotation.Nonnull String query, java.io.InputStream body, String mediaType) throws IOException {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) { if (query == null) {
throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -618,7 +618,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse testBodyWithQueryParamsForHttpResponse(String query, User body, Map<String, Object> params) throws IOException { public HttpResponse testBodyWithQueryParamsForHttpResponse(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) { if (query == null) {
throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new IllegalArgumentException("Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -664,7 +664,7 @@ public class FakeApi {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client testClientModel(Client body) throws IOException { public Client testClientModel(@javax.annotation.Nonnull Client body) throws IOException {
HttpResponse response = testClientModelForHttpResponse(body); HttpResponse response = testClientModelForHttpResponse(body);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -679,13 +679,13 @@ public class FakeApi {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client testClientModel(Client body, Map<String, Object> params) throws IOException { public Client testClientModel(@javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
HttpResponse response = testClientModelForHttpResponse(body, params); HttpResponse response = testClientModelForHttpResponse(body, params);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse testClientModelForHttpResponse(Client body) throws IOException { public HttpResponse testClientModelForHttpResponse(@javax.annotation.Nonnull Client body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClientModel"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClientModel");
@ -715,7 +715,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
} }
public HttpResponse testClientModelForHttpResponse(Client body, Map<String, Object> params) throws IOException { public HttpResponse testClientModelForHttpResponse(@javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClientModel"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClientModel");
@ -769,7 +769,7 @@ public class FakeApi {
* @param paramCallback None * @param paramCallback None
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws IOException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws IOException {
testEndpointParametersForHttpResponse(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); testEndpointParametersForHttpResponse(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
} }
@ -785,11 +785,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Map<String, Object> params) throws IOException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, Map<String, Object> params) throws IOException {
testEndpointParametersForHttpResponse(number, _double, patternWithoutDelimiter, _byte, params); testEndpointParametersForHttpResponse(number, _double, patternWithoutDelimiter, _byte, params);
} }
public HttpResponse testEndpointParametersForHttpResponse(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws IOException { public HttpResponse testEndpointParametersForHttpResponse(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws IOException {
// verify the required parameter 'number' is set // verify the required parameter 'number' is set
if (number == null) { if (number == null) {
throw new IllegalArgumentException("Missing the required parameter 'number' when calling testEndpointParameters"); throw new IllegalArgumentException("Missing the required parameter 'number' when calling testEndpointParameters");
@ -812,7 +812,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse testEndpointParametersForHttpResponse(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Map<String, Object> params) throws IOException { public HttpResponse testEndpointParametersForHttpResponse(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, Map<String, Object> params) throws IOException {
// verify the required parameter 'number' is set // verify the required parameter 'number' is set
if (number == null) { if (number == null) {
throw new IllegalArgumentException("Missing the required parameter 'number' when calling testEndpointParameters"); throw new IllegalArgumentException("Missing the required parameter 'number' when calling testEndpointParameters");
@ -869,7 +869,7 @@ public class FakeApi {
* @param enumFormString Form parameter enum test (string) * @param enumFormString Form parameter enum test (string)
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws IOException { public void testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws IOException {
testEnumParametersForHttpResponse(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); testEnumParametersForHttpResponse(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
} }
@ -885,7 +885,7 @@ public class FakeApi {
testEnumParametersForHttpResponse(params); testEnumParametersForHttpResponse(params);
} }
public HttpResponse testEnumParametersForHttpResponse(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws IOException { public HttpResponse testEnumParametersForHttpResponse(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws IOException {
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake"); UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/fake");
if (enumQueryStringArray != null) { if (enumQueryStringArray != null) {
@ -979,7 +979,7 @@ public class FakeApi {
* @param int64Group Integer in group parameters * @param int64Group Integer in group parameters
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws IOException { public void testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws IOException {
testGroupParametersForHttpResponse(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); testGroupParametersForHttpResponse(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
} }
@ -993,11 +993,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Map<String, Object> params) throws IOException { public void testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, Map<String, Object> params) throws IOException {
testGroupParametersForHttpResponse(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, params); testGroupParametersForHttpResponse(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, params);
} }
public HttpResponse testGroupParametersForHttpResponse(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws IOException { public HttpResponse testGroupParametersForHttpResponse(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws IOException {
// verify the required parameter 'requiredStringGroup' is set // verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new IllegalArgumentException("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new IllegalArgumentException("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -1058,7 +1058,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
} }
public HttpResponse testGroupParametersForHttpResponse(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Map<String, Object> params) throws IOException { public HttpResponse testGroupParametersForHttpResponse(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, Map<String, Object> params) throws IOException {
// verify the required parameter 'requiredStringGroup' is set // verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new IllegalArgumentException("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new IllegalArgumentException("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -1107,7 +1107,7 @@ public class FakeApi {
* @param param request body * @param param request body
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testInlineAdditionalProperties(Map<String, String> param) throws IOException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> param) throws IOException {
testInlineAdditionalPropertiesForHttpResponse(param); testInlineAdditionalPropertiesForHttpResponse(param);
} }
@ -1118,11 +1118,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testInlineAdditionalProperties(Map<String, String> param, Map<String, Object> params) throws IOException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> param, Map<String, Object> params) throws IOException {
testInlineAdditionalPropertiesForHttpResponse(param, params); testInlineAdditionalPropertiesForHttpResponse(param, params);
} }
public HttpResponse testInlineAdditionalPropertiesForHttpResponse(Map<String, String> param) throws IOException { public HttpResponse testInlineAdditionalPropertiesForHttpResponse(@javax.annotation.Nonnull Map<String, String> param) throws IOException {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) { if (param == null) {
throw new IllegalArgumentException("Missing the required parameter 'param' when calling testInlineAdditionalProperties"); throw new IllegalArgumentException("Missing the required parameter 'param' when calling testInlineAdditionalProperties");
@ -1152,7 +1152,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse testInlineAdditionalPropertiesForHttpResponse(Map<String, String> param, Map<String, Object> params) throws IOException { public HttpResponse testInlineAdditionalPropertiesForHttpResponse(@javax.annotation.Nonnull Map<String, String> param, Map<String, Object> params) throws IOException {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) { if (param == null) {
throw new IllegalArgumentException("Missing the required parameter 'param' when calling testInlineAdditionalProperties"); throw new IllegalArgumentException("Missing the required parameter 'param' when calling testInlineAdditionalProperties");
@ -1192,7 +1192,7 @@ public class FakeApi {
* @param param2 field2 * @param param2 field2
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testJsonFormData(String param, String param2) throws IOException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws IOException {
testJsonFormDataForHttpResponse(param, param2); testJsonFormDataForHttpResponse(param, param2);
} }
@ -1204,11 +1204,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testJsonFormData(String param, String param2, Map<String, Object> params) throws IOException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2, Map<String, Object> params) throws IOException {
testJsonFormDataForHttpResponse(param, param2, params); testJsonFormDataForHttpResponse(param, param2, params);
} }
public HttpResponse testJsonFormDataForHttpResponse(String param, String param2) throws IOException { public HttpResponse testJsonFormDataForHttpResponse(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws IOException {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) { if (param == null) {
throw new IllegalArgumentException("Missing the required parameter 'param' when calling testJsonFormData"); throw new IllegalArgumentException("Missing the required parameter 'param' when calling testJsonFormData");
@ -1225,7 +1225,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse testJsonFormDataForHttpResponse(String param, String param2, Map<String, Object> params) throws IOException { public HttpResponse testJsonFormDataForHttpResponse(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2, Map<String, Object> params) throws IOException {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) { if (param == null) {
throw new IllegalArgumentException("Missing the required parameter 'param' when calling testJsonFormData"); throw new IllegalArgumentException("Missing the required parameter 'param' when calling testJsonFormData");
@ -1271,7 +1271,7 @@ public class FakeApi {
* @param context The context parameter * @param context The context parameter
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws IOException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws IOException {
testQueryParameterCollectionFormatForHttpResponse(pipe, ioutil, http, url, context); testQueryParameterCollectionFormatForHttpResponse(pipe, ioutil, http, url, context);
} }
@ -1286,11 +1286,11 @@ public class FakeApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, Map<String, Object> params) throws IOException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, Map<String, Object> params) throws IOException {
testQueryParameterCollectionFormatForHttpResponse(pipe, ioutil, http, url, context, params); testQueryParameterCollectionFormatForHttpResponse(pipe, ioutil, http, url, context, params);
} }
public HttpResponse testQueryParameterCollectionFormatForHttpResponse(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws IOException { public HttpResponse testQueryParameterCollectionFormatForHttpResponse(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws IOException {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) { if (pipe == null) {
throw new IllegalArgumentException("Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new IllegalArgumentException("Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");
@ -1367,7 +1367,7 @@ public class FakeApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse testQueryParameterCollectionFormatForHttpResponse(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, Map<String, Object> params) throws IOException { public HttpResponse testQueryParameterCollectionFormatForHttpResponse(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, Map<String, Object> params) throws IOException {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) { if (pipe == null) {
throw new IllegalArgumentException("Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new IllegalArgumentException("Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");

View File

@ -49,7 +49,7 @@ public class FakeClassnameTags123Api {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client testClassname(Client body) throws IOException { public Client testClassname(@javax.annotation.Nonnull Client body) throws IOException {
HttpResponse response = testClassnameForHttpResponse(body); HttpResponse response = testClassnameForHttpResponse(body);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -64,13 +64,13 @@ public class FakeClassnameTags123Api {
* @return Client * @return Client
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Client testClassname(Client body, Map<String, Object> params) throws IOException { public Client testClassname(@javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
HttpResponse response = testClassnameForHttpResponse(body, params); HttpResponse response = testClassnameForHttpResponse(body, params);
TypeReference<Client> typeRef = new TypeReference<Client>() {}; TypeReference<Client> typeRef = new TypeReference<Client>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse testClassnameForHttpResponse(Client body) throws IOException { public HttpResponse testClassnameForHttpResponse(@javax.annotation.Nonnull Client body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClassname"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClassname");
@ -100,7 +100,7 @@ public class FakeClassnameTags123Api {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PATCH, genericUrl, content).execute();
} }
public HttpResponse testClassnameForHttpResponse(Client body, Map<String, Object> params) throws IOException { public HttpResponse testClassnameForHttpResponse(@javax.annotation.Nonnull Client body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClassname"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling testClassname");

View File

@ -51,7 +51,7 @@ public class PetApi {
* @param body Pet object that needs to be added to the store * @param body Pet object that needs to be added to the store
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void addPet(Pet body) throws IOException { public void addPet(@javax.annotation.Nonnull Pet body) throws IOException {
addPetForHttpResponse(body); addPetForHttpResponse(body);
} }
@ -63,11 +63,11 @@ public class PetApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void addPet(Pet body, Map<String, Object> params) throws IOException { public void addPet(@javax.annotation.Nonnull Pet body, Map<String, Object> params) throws IOException {
addPetForHttpResponse(body, params); addPetForHttpResponse(body, params);
} }
public HttpResponse addPetForHttpResponse(Pet body) throws IOException { public HttpResponse addPetForHttpResponse(@javax.annotation.Nonnull Pet body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling addPet"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling addPet");
@ -97,7 +97,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse addPetForHttpResponse(Pet body, Map<String, Object> params) throws IOException { public HttpResponse addPetForHttpResponse(@javax.annotation.Nonnull Pet body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling addPet"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling addPet");
@ -138,7 +138,7 @@ public class PetApi {
* @param apiKey The apiKey parameter * @param apiKey The apiKey parameter
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deletePet(Long petId, String apiKey) throws IOException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws IOException {
deletePetForHttpResponse(petId, apiKey); deletePetForHttpResponse(petId, apiKey);
} }
@ -150,11 +150,11 @@ public class PetApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deletePet(Long petId, Map<String, Object> params) throws IOException { public void deletePet(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
deletePetForHttpResponse(petId, params); deletePetForHttpResponse(petId, params);
} }
public HttpResponse deletePetForHttpResponse(Long petId, String apiKey) throws IOException { public HttpResponse deletePetForHttpResponse(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling deletePet"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling deletePet");
@ -171,7 +171,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
} }
public HttpResponse deletePetForHttpResponse(Long petId, Map<String, Object> params) throws IOException { public HttpResponse deletePetForHttpResponse(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling deletePet"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling deletePet");
@ -216,7 +216,7 @@ public class PetApi {
* @return List&lt;Pet&gt; * @return List&lt;Pet&gt;
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public List<Pet> findPetsByStatus(List<String> status) throws IOException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws IOException {
HttpResponse response = findPetsByStatusForHttpResponse(status); HttpResponse response = findPetsByStatusForHttpResponse(status);
TypeReference<List<Pet>> typeRef = new TypeReference<List<Pet>>() {}; TypeReference<List<Pet>> typeRef = new TypeReference<List<Pet>>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -232,13 +232,13 @@ public class PetApi {
* @return List&lt;Pet&gt; * @return List&lt;Pet&gt;
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public List<Pet> findPetsByStatus(List<String> status, Map<String, Object> params) throws IOException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status, Map<String, Object> params) throws IOException {
HttpResponse response = findPetsByStatusForHttpResponse(status, params); HttpResponse response = findPetsByStatusForHttpResponse(status, params);
TypeReference<List<Pet>> typeRef = new TypeReference<List<Pet>>() {}; TypeReference<List<Pet>> typeRef = new TypeReference<List<Pet>>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse findPetsByStatusForHttpResponse(List<String> status) throws IOException { public HttpResponse findPetsByStatusForHttpResponse(@javax.annotation.Nonnull List<String> status) throws IOException {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) { if (status == null) {
throw new IllegalArgumentException("Missing the required parameter 'status' when calling findPetsByStatus"); throw new IllegalArgumentException("Missing the required parameter 'status' when calling findPetsByStatus");
@ -263,7 +263,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse findPetsByStatusForHttpResponse(List<String> status, Map<String, Object> params) throws IOException { public HttpResponse findPetsByStatusForHttpResponse(@javax.annotation.Nonnull List<String> status, Map<String, Object> params) throws IOException {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) { if (status == null) {
throw new IllegalArgumentException("Missing the required parameter 'status' when calling findPetsByStatus"); throw new IllegalArgumentException("Missing the required parameter 'status' when calling findPetsByStatus");
@ -310,7 +310,7 @@ public class PetApi {
**/ **/
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags) throws IOException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags) throws IOException {
HttpResponse response = findPetsByTagsForHttpResponse(tags); HttpResponse response = findPetsByTagsForHttpResponse(tags);
TypeReference<Set<Pet>> typeRef = new TypeReference<Set<Pet>>() {}; TypeReference<Set<Pet>> typeRef = new TypeReference<Set<Pet>>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -329,14 +329,14 @@ public class PetApi {
**/ **/
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags, Map<String, Object> params) throws IOException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags, Map<String, Object> params) throws IOException {
HttpResponse response = findPetsByTagsForHttpResponse(tags, params); HttpResponse response = findPetsByTagsForHttpResponse(tags, params);
TypeReference<Set<Pet>> typeRef = new TypeReference<Set<Pet>>() {}; TypeReference<Set<Pet>> typeRef = new TypeReference<Set<Pet>>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
@Deprecated @Deprecated
public HttpResponse findPetsByTagsForHttpResponse(Set<String> tags) throws IOException { public HttpResponse findPetsByTagsForHttpResponse(@javax.annotation.Nonnull Set<String> tags) throws IOException {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) { if (tags == null) {
throw new IllegalArgumentException("Missing the required parameter 'tags' when calling findPetsByTags"); throw new IllegalArgumentException("Missing the required parameter 'tags' when calling findPetsByTags");
@ -362,7 +362,7 @@ public class PetApi {
} }
@Deprecated @Deprecated
public HttpResponse findPetsByTagsForHttpResponse(Set<String> tags, Map<String, Object> params) throws IOException { public HttpResponse findPetsByTagsForHttpResponse(@javax.annotation.Nonnull Set<String> tags, Map<String, Object> params) throws IOException {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) { if (tags == null) {
throw new IllegalArgumentException("Missing the required parameter 'tags' when calling findPetsByTags"); throw new IllegalArgumentException("Missing the required parameter 'tags' when calling findPetsByTags");
@ -407,7 +407,7 @@ public class PetApi {
* @return Pet * @return Pet
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Pet getPetById(Long petId) throws IOException { public Pet getPetById(@javax.annotation.Nonnull Long petId) throws IOException {
HttpResponse response = getPetByIdForHttpResponse(petId); HttpResponse response = getPetByIdForHttpResponse(petId);
TypeReference<Pet> typeRef = new TypeReference<Pet>() {}; TypeReference<Pet> typeRef = new TypeReference<Pet>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -424,13 +424,13 @@ public class PetApi {
* @return Pet * @return Pet
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Pet getPetById(Long petId, Map<String, Object> params) throws IOException { public Pet getPetById(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
HttpResponse response = getPetByIdForHttpResponse(petId, params); HttpResponse response = getPetByIdForHttpResponse(petId, params);
TypeReference<Pet> typeRef = new TypeReference<Pet>() {}; TypeReference<Pet> typeRef = new TypeReference<Pet>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse getPetByIdForHttpResponse(Long petId) throws IOException { public HttpResponse getPetByIdForHttpResponse(@javax.annotation.Nonnull Long petId) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling getPetById"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling getPetById");
@ -447,7 +447,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse getPetByIdForHttpResponse(Long petId, Map<String, Object> params) throws IOException { public HttpResponse getPetByIdForHttpResponse(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling getPetById"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling getPetById");
@ -492,7 +492,7 @@ public class PetApi {
* @param body Pet object that needs to be added to the store * @param body Pet object that needs to be added to the store
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updatePet(Pet body) throws IOException { public void updatePet(@javax.annotation.Nonnull Pet body) throws IOException {
updatePetForHttpResponse(body); updatePetForHttpResponse(body);
} }
@ -506,11 +506,11 @@ public class PetApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updatePet(Pet body, Map<String, Object> params) throws IOException { public void updatePet(@javax.annotation.Nonnull Pet body, Map<String, Object> params) throws IOException {
updatePetForHttpResponse(body, params); updatePetForHttpResponse(body, params);
} }
public HttpResponse updatePetForHttpResponse(Pet body) throws IOException { public HttpResponse updatePetForHttpResponse(@javax.annotation.Nonnull Pet body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling updatePet"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling updatePet");
@ -540,7 +540,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse updatePetForHttpResponse(Pet body, Map<String, Object> params) throws IOException { public HttpResponse updatePetForHttpResponse(@javax.annotation.Nonnull Pet body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling updatePet"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling updatePet");
@ -581,7 +581,7 @@ public class PetApi {
* @param status Updated status of the pet * @param status Updated status of the pet
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updatePetWithForm(Long petId, String name, String status) throws IOException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws IOException {
updatePetWithFormForHttpResponse(petId, name, status); updatePetWithFormForHttpResponse(petId, name, status);
} }
@ -592,11 +592,11 @@ public class PetApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updatePetWithForm(Long petId, Map<String, Object> params) throws IOException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
updatePetWithFormForHttpResponse(petId, params); updatePetWithFormForHttpResponse(petId, params);
} }
public HttpResponse updatePetWithFormForHttpResponse(Long petId, String name, String status) throws IOException { public HttpResponse updatePetWithFormForHttpResponse(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling updatePetWithForm"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling updatePetWithForm");
@ -613,7 +613,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse updatePetWithFormForHttpResponse(Long petId, Map<String, Object> params) throws IOException { public HttpResponse updatePetWithFormForHttpResponse(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling updatePetWithForm"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling updatePetWithForm");
@ -658,7 +658,7 @@ public class PetApi {
* @return ModelApiResponse * @return ModelApiResponse
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws IOException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws IOException {
HttpResponse response = uploadFileForHttpResponse(petId, additionalMetadata, _file); HttpResponse response = uploadFileForHttpResponse(petId, additionalMetadata, _file);
TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {}; TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -672,13 +672,13 @@ public class PetApi {
* @return ModelApiResponse * @return ModelApiResponse
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public ModelApiResponse uploadFile(Long petId, Map<String, Object> params) throws IOException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
HttpResponse response = uploadFileForHttpResponse(petId, params); HttpResponse response = uploadFileForHttpResponse(petId, params);
TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {}; TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse uploadFileForHttpResponse(Long petId, String additionalMetadata, File _file) throws IOException { public HttpResponse uploadFileForHttpResponse(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFile"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFile");
@ -695,7 +695,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse uploadFileForHttpResponse(Long petId, Map<String, Object> params) throws IOException { public HttpResponse uploadFileForHttpResponse(@javax.annotation.Nonnull Long petId, Map<String, Object> params) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFile"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFile");
@ -740,7 +740,7 @@ public class PetApi {
* @return ModelApiResponse * @return ModelApiResponse
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws IOException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws IOException {
HttpResponse response = uploadFileWithRequiredFileForHttpResponse(petId, requiredFile, additionalMetadata); HttpResponse response = uploadFileWithRequiredFileForHttpResponse(petId, requiredFile, additionalMetadata);
TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {}; TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -755,13 +755,13 @@ public class PetApi {
* @return ModelApiResponse * @return ModelApiResponse
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, Map<String, Object> params) throws IOException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, Map<String, Object> params) throws IOException {
HttpResponse response = uploadFileWithRequiredFileForHttpResponse(petId, requiredFile, params); HttpResponse response = uploadFileWithRequiredFileForHttpResponse(petId, requiredFile, params);
TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {}; TypeReference<ModelApiResponse> typeRef = new TypeReference<ModelApiResponse>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse uploadFileWithRequiredFileForHttpResponse(Long petId, File requiredFile, String additionalMetadata) throws IOException { public HttpResponse uploadFileWithRequiredFileForHttpResponse(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");
@ -781,7 +781,7 @@ public class PetApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse uploadFileWithRequiredFileForHttpResponse(Long petId, File requiredFile, Map<String, Object> params) throws IOException { public HttpResponse uploadFileWithRequiredFileForHttpResponse(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, Map<String, Object> params) throws IOException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new IllegalArgumentException("Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");

View File

@ -49,7 +49,7 @@ public class StoreApi {
* @param orderId ID of the order that needs to be deleted * @param orderId ID of the order that needs to be deleted
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deleteOrder(String orderId) throws IOException { public void deleteOrder(@javax.annotation.Nonnull String orderId) throws IOException {
deleteOrderForHttpResponse(orderId); deleteOrderForHttpResponse(orderId);
} }
@ -62,11 +62,11 @@ public class StoreApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deleteOrder(String orderId, Map<String, Object> params) throws IOException { public void deleteOrder(@javax.annotation.Nonnull String orderId, Map<String, Object> params) throws IOException {
deleteOrderForHttpResponse(orderId, params); deleteOrderForHttpResponse(orderId, params);
} }
public HttpResponse deleteOrderForHttpResponse(String orderId) throws IOException { public HttpResponse deleteOrderForHttpResponse(@javax.annotation.Nonnull String orderId) throws IOException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling deleteOrder"); throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling deleteOrder");
@ -83,7 +83,7 @@ public class StoreApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
} }
public HttpResponse deleteOrderForHttpResponse(String orderId, Map<String, Object> params) throws IOException { public HttpResponse deleteOrderForHttpResponse(@javax.annotation.Nonnull String orderId, Map<String, Object> params) throws IOException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling deleteOrder"); throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling deleteOrder");
@ -197,7 +197,7 @@ public class StoreApi {
* @return Order * @return Order
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Order getOrderById(Long orderId) throws IOException { public Order getOrderById(@javax.annotation.Nonnull Long orderId) throws IOException {
HttpResponse response = getOrderByIdForHttpResponse(orderId); HttpResponse response = getOrderByIdForHttpResponse(orderId);
TypeReference<Order> typeRef = new TypeReference<Order>() {}; TypeReference<Order> typeRef = new TypeReference<Order>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -214,13 +214,13 @@ public class StoreApi {
* @return Order * @return Order
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Order getOrderById(Long orderId, Map<String, Object> params) throws IOException { public Order getOrderById(@javax.annotation.Nonnull Long orderId, Map<String, Object> params) throws IOException {
HttpResponse response = getOrderByIdForHttpResponse(orderId, params); HttpResponse response = getOrderByIdForHttpResponse(orderId, params);
TypeReference<Order> typeRef = new TypeReference<Order>() {}; TypeReference<Order> typeRef = new TypeReference<Order>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse getOrderByIdForHttpResponse(Long orderId) throws IOException { public HttpResponse getOrderByIdForHttpResponse(@javax.annotation.Nonnull Long orderId) throws IOException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling getOrderById"); throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling getOrderById");
@ -237,7 +237,7 @@ public class StoreApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse getOrderByIdForHttpResponse(Long orderId, Map<String, Object> params) throws IOException { public HttpResponse getOrderByIdForHttpResponse(@javax.annotation.Nonnull Long orderId, Map<String, Object> params) throws IOException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling getOrderById"); throw new IllegalArgumentException("Missing the required parameter 'orderId' when calling getOrderById");
@ -281,7 +281,7 @@ public class StoreApi {
* @return Order * @return Order
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Order placeOrder(Order body) throws IOException { public Order placeOrder(@javax.annotation.Nonnull Order body) throws IOException {
HttpResponse response = placeOrderForHttpResponse(body); HttpResponse response = placeOrderForHttpResponse(body);
TypeReference<Order> typeRef = new TypeReference<Order>() {}; TypeReference<Order> typeRef = new TypeReference<Order>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -296,13 +296,13 @@ public class StoreApi {
* @return Order * @return Order
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public Order placeOrder(Order body, Map<String, Object> params) throws IOException { public Order placeOrder(@javax.annotation.Nonnull Order body, Map<String, Object> params) throws IOException {
HttpResponse response = placeOrderForHttpResponse(body, params); HttpResponse response = placeOrderForHttpResponse(body, params);
TypeReference<Order> typeRef = new TypeReference<Order>() {}; TypeReference<Order> typeRef = new TypeReference<Order>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse placeOrderForHttpResponse(Order body) throws IOException { public HttpResponse placeOrderForHttpResponse(@javax.annotation.Nonnull Order body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling placeOrder"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling placeOrder");
@ -332,7 +332,7 @@ public class StoreApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse placeOrderForHttpResponse(Order body, Map<String, Object> params) throws IOException { public HttpResponse placeOrderForHttpResponse(@javax.annotation.Nonnull Order body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling placeOrder"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling placeOrder");

View File

@ -49,7 +49,7 @@ public class UserApi {
* @param body Created user object * @param body Created user object
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUser(User body) throws IOException { public void createUser(@javax.annotation.Nonnull User body) throws IOException {
createUserForHttpResponse(body); createUserForHttpResponse(body);
} }
@ -61,11 +61,11 @@ public class UserApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUser(User body, Map<String, Object> params) throws IOException { public void createUser(@javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
createUserForHttpResponse(body, params); createUserForHttpResponse(body, params);
} }
public HttpResponse createUserForHttpResponse(User body) throws IOException { public HttpResponse createUserForHttpResponse(@javax.annotation.Nonnull User body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUser"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUser");
@ -95,7 +95,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse createUserForHttpResponse(User body, Map<String, Object> params) throws IOException { public HttpResponse createUserForHttpResponse(@javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUser"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUser");
@ -134,7 +134,7 @@ public class UserApi {
* @param body List of user object * @param body List of user object
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUsersWithArrayInput(List<User> body) throws IOException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> body) throws IOException {
createUsersWithArrayInputForHttpResponse(body); createUsersWithArrayInputForHttpResponse(body);
} }
@ -145,11 +145,11 @@ public class UserApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUsersWithArrayInput(List<User> body, Map<String, Object> params) throws IOException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> body, Map<String, Object> params) throws IOException {
createUsersWithArrayInputForHttpResponse(body, params); createUsersWithArrayInputForHttpResponse(body, params);
} }
public HttpResponse createUsersWithArrayInputForHttpResponse(List<User> body) throws IOException { public HttpResponse createUsersWithArrayInputForHttpResponse(@javax.annotation.Nonnull List<User> body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithArrayInput"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithArrayInput");
@ -179,7 +179,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse createUsersWithArrayInputForHttpResponse(List<User> body, Map<String, Object> params) throws IOException { public HttpResponse createUsersWithArrayInputForHttpResponse(@javax.annotation.Nonnull List<User> body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithArrayInput"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithArrayInput");
@ -218,7 +218,7 @@ public class UserApi {
* @param body List of user object * @param body List of user object
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUsersWithListInput(List<User> body) throws IOException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> body) throws IOException {
createUsersWithListInputForHttpResponse(body); createUsersWithListInputForHttpResponse(body);
} }
@ -229,11 +229,11 @@ public class UserApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void createUsersWithListInput(List<User> body, Map<String, Object> params) throws IOException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> body, Map<String, Object> params) throws IOException {
createUsersWithListInputForHttpResponse(body, params); createUsersWithListInputForHttpResponse(body, params);
} }
public HttpResponse createUsersWithListInputForHttpResponse(List<User> body) throws IOException { public HttpResponse createUsersWithListInputForHttpResponse(@javax.annotation.Nonnull List<User> body) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithListInput"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithListInput");
@ -263,7 +263,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
} }
public HttpResponse createUsersWithListInputForHttpResponse(List<User> body, Map<String, Object> params) throws IOException { public HttpResponse createUsersWithListInputForHttpResponse(@javax.annotation.Nonnull List<User> body, Map<String, Object> params) throws IOException {
// verify the required parameter 'body' is set // verify the required parameter 'body' is set
if (body == null) { if (body == null) {
throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithListInput"); throw new IllegalArgumentException("Missing the required parameter 'body' when calling createUsersWithListInput");
@ -304,7 +304,7 @@ public class UserApi {
* @param username The name that needs to be deleted * @param username The name that needs to be deleted
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deleteUser(String username) throws IOException { public void deleteUser(@javax.annotation.Nonnull String username) throws IOException {
deleteUserForHttpResponse(username); deleteUserForHttpResponse(username);
} }
@ -317,11 +317,11 @@ public class UserApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void deleteUser(String username, Map<String, Object> params) throws IOException { public void deleteUser(@javax.annotation.Nonnull String username, Map<String, Object> params) throws IOException {
deleteUserForHttpResponse(username, params); deleteUserForHttpResponse(username, params);
} }
public HttpResponse deleteUserForHttpResponse(String username) throws IOException { public HttpResponse deleteUserForHttpResponse(@javax.annotation.Nonnull String username) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling deleteUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling deleteUser");
@ -338,7 +338,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
} }
public HttpResponse deleteUserForHttpResponse(String username, Map<String, Object> params) throws IOException { public HttpResponse deleteUserForHttpResponse(@javax.annotation.Nonnull String username, Map<String, Object> params) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling deleteUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling deleteUser");
@ -383,7 +383,7 @@ public class UserApi {
* @return User * @return User
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public User getUserByName(String username) throws IOException { public User getUserByName(@javax.annotation.Nonnull String username) throws IOException {
HttpResponse response = getUserByNameForHttpResponse(username); HttpResponse response = getUserByNameForHttpResponse(username);
TypeReference<User> typeRef = new TypeReference<User>() {}; TypeReference<User> typeRef = new TypeReference<User>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -399,13 +399,13 @@ public class UserApi {
* @return User * @return User
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public User getUserByName(String username, Map<String, Object> params) throws IOException { public User getUserByName(@javax.annotation.Nonnull String username, Map<String, Object> params) throws IOException {
HttpResponse response = getUserByNameForHttpResponse(username, params); HttpResponse response = getUserByNameForHttpResponse(username, params);
TypeReference<User> typeRef = new TypeReference<User>() {}; TypeReference<User> typeRef = new TypeReference<User>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse getUserByNameForHttpResponse(String username) throws IOException { public HttpResponse getUserByNameForHttpResponse(@javax.annotation.Nonnull String username) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling getUserByName"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling getUserByName");
@ -422,7 +422,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse getUserByNameForHttpResponse(String username, Map<String, Object> params) throws IOException { public HttpResponse getUserByNameForHttpResponse(@javax.annotation.Nonnull String username, Map<String, Object> params) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling getUserByName"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling getUserByName");
@ -467,7 +467,7 @@ public class UserApi {
* @return String * @return String
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public String loginUser(String username, String password) throws IOException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws IOException {
HttpResponse response = loginUserForHttpResponse(username, password); HttpResponse response = loginUserForHttpResponse(username, password);
TypeReference<String> typeRef = new TypeReference<String>() {}; TypeReference<String> typeRef = new TypeReference<String>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
@ -483,13 +483,13 @@ public class UserApi {
* @return String * @return String
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public String loginUser(String username, String password, Map<String, Object> params) throws IOException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, Map<String, Object> params) throws IOException {
HttpResponse response = loginUserForHttpResponse(username, password, params); HttpResponse response = loginUserForHttpResponse(username, password, params);
TypeReference<String> typeRef = new TypeReference<String>() {}; TypeReference<String> typeRef = new TypeReference<String>() {};
return apiClient.getObjectMapper().readValue(response.getContent(), typeRef); return apiClient.getObjectMapper().readValue(response.getContent(), typeRef);
} }
public HttpResponse loginUserForHttpResponse(String username, String password) throws IOException { public HttpResponse loginUserForHttpResponse(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling loginUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling loginUser");
@ -527,7 +527,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
} }
public HttpResponse loginUserForHttpResponse(String username, String password, Map<String, Object> params) throws IOException { public HttpResponse loginUserForHttpResponse(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password, Map<String, Object> params) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling loginUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling loginUser");
@ -636,7 +636,7 @@ public class UserApi {
* @param body Updated user object * @param body Updated user object
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updateUser(String username, User body) throws IOException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws IOException {
updateUserForHttpResponse(username, body); updateUserForHttpResponse(username, body);
} }
@ -650,11 +650,11 @@ public class UserApi {
* @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param. * @param params Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.
* @throws IOException if an error occurs while attempting to invoke the API * @throws IOException if an error occurs while attempting to invoke the API
**/ **/
public void updateUser(String username, User body, Map<String, Object> params) throws IOException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
updateUserForHttpResponse(username, body, params); updateUserForHttpResponse(username, body, params);
} }
public HttpResponse updateUserForHttpResponse(String username, User body) throws IOException { public HttpResponse updateUserForHttpResponse(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser");
@ -674,7 +674,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse updateUserForHttpResponse(String username, java.io.InputStream body, String mediaType) throws IOException { public HttpResponse updateUserForHttpResponse(@javax.annotation.Nonnull String username, java.io.InputStream body, String mediaType) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser");
@ -696,7 +696,7 @@ public class UserApi {
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute(); return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.PUT, genericUrl, content).execute();
} }
public HttpResponse updateUserForHttpResponse(String username, User body, Map<String, Object> params) throws IOException { public HttpResponse updateUserForHttpResponse(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body, Map<String, Object> params) throws IOException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser"); throw new IllegalArgumentException("Missing the required parameter 'username' when calling updateUser");

View File

@ -61,7 +61,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException { public Client call123testSpecialTags(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws ApiException {
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData(); return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData();
} }
@ -79,7 +79,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException { public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (uuidTest == null) { if (uuidTest == null) {
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags"); throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");

View File

@ -66,7 +66,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createXmlItem(XmlItem xmlItem) throws ApiException { public void createXmlItem(@javax.annotation.Nonnull XmlItem xmlItem) throws ApiException {
createXmlItemWithHttpInfo(xmlItem); createXmlItemWithHttpInfo(xmlItem);
} }
@ -83,7 +83,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createXmlItemWithHttpInfo(XmlItem xmlItem) throws ApiException { public ApiResponse<Void> createXmlItemWithHttpInfo(@javax.annotation.Nonnull XmlItem xmlItem) throws ApiException {
// Check required parameters // Check required parameters
if (xmlItem == null) { if (xmlItem == null) {
throw new ApiException(400, "Missing the required parameter 'xmlItem' when calling createXmlItem"); throw new ApiException(400, "Missing the required parameter 'xmlItem' when calling createXmlItem");
@ -108,7 +108,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public Boolean fakeOuterBooleanSerialize(Boolean body) throws ApiException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws ApiException {
return fakeOuterBooleanSerializeWithHttpInfo(body).getData(); return fakeOuterBooleanSerializeWithHttpInfo(body).getData();
} }
@ -125,7 +125,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws ApiException { public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {}; GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {};
@ -146,7 +146,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public OuterComposite fakeOuterCompositeSerialize(OuterComposite body) throws ApiException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite body) throws ApiException {
return fakeOuterCompositeSerializeWithHttpInfo(body).getData(); return fakeOuterCompositeSerializeWithHttpInfo(body).getData();
} }
@ -163,7 +163,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite body) throws ApiException { public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {}; GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {};
@ -184,7 +184,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws ApiException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws ApiException {
return fakeOuterNumberSerializeWithHttpInfo(body).getData(); return fakeOuterNumberSerializeWithHttpInfo(body).getData();
} }
@ -201,7 +201,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws ApiException { public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {}; GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {};
@ -222,7 +222,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public String fakeOuterStringSerialize(String body) throws ApiException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws ApiException {
return fakeOuterStringSerializeWithHttpInfo(body).getData(); return fakeOuterStringSerializeWithHttpInfo(body).getData();
} }
@ -239,7 +239,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(String body) throws ApiException { public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<String> localVarReturnType = new GenericType<String>() {}; GenericType<String> localVarReturnType = new GenericType<String>() {};
@ -259,7 +259,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithFileSchema(FileSchemaTestClass body) throws ApiException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass body) throws ApiException {
testBodyWithFileSchemaWithHttpInfo(body); testBodyWithFileSchemaWithHttpInfo(body);
} }
@ -276,7 +276,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass body) throws ApiException { public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testBodyWithFileSchema"); throw new ApiException(400, "Missing the required parameter 'body' when calling testBodyWithFileSchema");
@ -301,7 +301,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithQueryParams(String query, User body) throws ApiException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws ApiException {
testBodyWithQueryParamsWithHttpInfo(query, body); testBodyWithQueryParamsWithHttpInfo(query, body);
} }
@ -319,7 +319,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(String query, User body) throws ApiException { public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (query == null) { if (query == null) {
throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -352,7 +352,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClientModel(Client body) throws ApiException { public Client testClientModel(@javax.annotation.Nonnull Client body) throws ApiException {
return testClientModelWithHttpInfo(body).getData(); return testClientModelWithHttpInfo(body).getData();
} }
@ -369,7 +369,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClientModelWithHttpInfo(Client body) throws ApiException { public ApiResponse<Client> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testClientModel"); throw new ApiException(400, "Missing the required parameter 'body' when calling testClientModel");
@ -408,7 +408,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, LocalDateTime dateTime, String password, String paramCallback) throws ApiException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable LocalDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
} }
@ -439,7 +439,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, LocalDateTime dateTime, String password, String paramCallback) throws ApiException { public ApiResponse<Void> testEndpointParametersWithHttpInfo(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable LocalDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
// Check required parameters // Check required parameters
if (number == null) { if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters"); throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@ -518,7 +518,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public void testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
} }
@ -543,7 +543,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEnumParametersWithHttpInfo(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public ApiResponse<Void> testEnumParametersWithHttpInfo(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
// Query parameters // Query parameters
List<Pair> localVarQueryParams = new ArrayList<>( List<Pair> localVarQueryParams = new ArrayList<>(
apiClient.parameterToPairs("csv", "enum_query_string_array", enumQueryStringArray) apiClient.parameterToPairs("csv", "enum_query_string_array", enumQueryStringArray)
@ -577,7 +577,7 @@ public class FakeApi {
null, null, false); null, null, false);
} }
private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { private ApiResponse<Void> testGroupParametersWithHttpInfo(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
// Check required parameters // Check required parameters
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -612,11 +612,17 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
} }
public class APItestGroupParametersRequest { public class APItestGroupParametersRequest {
@javax.annotation.Nonnull
private Integer requiredStringGroup; private Integer requiredStringGroup;
@javax.annotation.Nonnull
private Boolean requiredBooleanGroup; private Boolean requiredBooleanGroup;
@javax.annotation.Nonnull
private Long requiredInt64Group; private Long requiredInt64Group;
@javax.annotation.Nullable
private Integer stringGroup; private Integer stringGroup;
@javax.annotation.Nullable
private Boolean booleanGroup; private Boolean booleanGroup;
@javax.annotation.Nullable
private Long int64Group; private Long int64Group;
private APItestGroupParametersRequest() { private APItestGroupParametersRequest() {
@ -627,7 +633,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredStringGroup Required String in group parameters (required) * @param requiredStringGroup Required String in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredStringGroup(Integer requiredStringGroup) { public APItestGroupParametersRequest requiredStringGroup(@javax.annotation.Nonnull Integer requiredStringGroup) {
this.requiredStringGroup = requiredStringGroup; this.requiredStringGroup = requiredStringGroup;
return this; return this;
} }
@ -637,7 +643,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredBooleanGroup Required Boolean in group parameters (required) * @param requiredBooleanGroup Required Boolean in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredBooleanGroup(Boolean requiredBooleanGroup) { public APItestGroupParametersRequest requiredBooleanGroup(@javax.annotation.Nonnull Boolean requiredBooleanGroup) {
this.requiredBooleanGroup = requiredBooleanGroup; this.requiredBooleanGroup = requiredBooleanGroup;
return this; return this;
} }
@ -647,7 +653,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredInt64Group Required Integer in group parameters (required) * @param requiredInt64Group Required Integer in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredInt64Group(Long requiredInt64Group) { public APItestGroupParametersRequest requiredInt64Group(@javax.annotation.Nonnull Long requiredInt64Group) {
this.requiredInt64Group = requiredInt64Group; this.requiredInt64Group = requiredInt64Group;
return this; return this;
} }
@ -657,7 +663,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param stringGroup String in group parameters (optional) * @param stringGroup String in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest stringGroup(Integer stringGroup) { public APItestGroupParametersRequest stringGroup(@javax.annotation.Nullable Integer stringGroup) {
this.stringGroup = stringGroup; this.stringGroup = stringGroup;
return this; return this;
} }
@ -667,7 +673,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param booleanGroup Boolean in group parameters (optional) * @param booleanGroup Boolean in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest booleanGroup(Boolean booleanGroup) { public APItestGroupParametersRequest booleanGroup(@javax.annotation.Nullable Boolean booleanGroup) {
this.booleanGroup = booleanGroup; this.booleanGroup = booleanGroup;
return this; return this;
} }
@ -677,7 +683,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param int64Group Integer in group parameters (optional) * @param int64Group Integer in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest int64Group(Long int64Group) { public APItestGroupParametersRequest int64Group(@javax.annotation.Nullable Long int64Group) {
this.int64Group = int64Group; this.int64Group = int64Group;
return this; return this;
} }
@ -739,7 +745,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testInlineAdditionalProperties(Map<String, String> param) throws ApiException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> param) throws ApiException {
testInlineAdditionalPropertiesWithHttpInfo(param); testInlineAdditionalPropertiesWithHttpInfo(param);
} }
@ -756,7 +762,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> param) throws ApiException { public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> param) throws ApiException {
// Check required parameters // Check required parameters
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testInlineAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'param' when calling testInlineAdditionalProperties");
@ -781,7 +787,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testJsonFormData(String param, String param2) throws ApiException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
testJsonFormDataWithHttpInfo(param, param2); testJsonFormDataWithHttpInfo(param, param2);
} }
@ -799,7 +805,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testJsonFormDataWithHttpInfo(String param, String param2) throws ApiException { public ApiResponse<Void> testJsonFormDataWithHttpInfo(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
// Check required parameters // Check required parameters
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData"); throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData");
@ -835,7 +841,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
} }
@ -856,7 +862,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
// Check required parameters // Check required parameters
if (pipe == null) { if (pipe == null) {
throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");

View File

@ -59,7 +59,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClassname(Client body) throws ApiException { public Client testClassname(@javax.annotation.Nonnull Client body) throws ApiException {
return testClassnameWithHttpInfo(body).getData(); return testClassnameWithHttpInfo(body).getData();
} }
@ -76,7 +76,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClassnameWithHttpInfo(Client body) throws ApiException { public ApiResponse<Client> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testClassname"); throw new ApiException(400, "Missing the required parameter 'body' when calling testClassname");

View File

@ -62,7 +62,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void addPet(Pet body) throws ApiException { public void addPet(@javax.annotation.Nonnull Pet body) throws ApiException {
addPetWithHttpInfo(body); addPetWithHttpInfo(body);
} }
@ -80,7 +80,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> addPetWithHttpInfo(Pet body) throws ApiException { public ApiResponse<Void> addPetWithHttpInfo(@javax.annotation.Nonnull Pet body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling addPet"); throw new ApiException(400, "Missing the required parameter 'body' when calling addPet");
@ -107,7 +107,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
deletePetWithHttpInfo(petId, apiKey); deletePetWithHttpInfo(petId, apiKey);
} }
@ -126,7 +126,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public ApiResponse<Void> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet"); throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet");
@ -163,7 +163,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws ApiException {
return findPetsByStatusWithHttpInfo(status).getData(); return findPetsByStatusWithHttpInfo(status).getData();
} }
@ -181,7 +181,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@javax.annotation.Nonnull List<String> status) throws ApiException {
// Check required parameters // Check required parameters
if (status == null) { if (status == null) {
throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus");
@ -216,7 +216,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags) throws ApiException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags) throws ApiException {
return findPetsByTagsWithHttpInfo(tags).getData(); return findPetsByTagsWithHttpInfo(tags).getData();
} }
@ -236,7 +236,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(Set<String> tags) throws ApiException { public ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@javax.annotation.Nonnull Set<String> tags) throws ApiException {
// Check required parameters // Check required parameters
if (tags == null) { if (tags == null) {
throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags"); throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags");
@ -270,7 +270,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@javax.annotation.Nonnull Long petId) throws ApiException {
return getPetByIdWithHttpInfo(petId).getData(); return getPetByIdWithHttpInfo(petId).getData();
} }
@ -289,7 +289,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> getPetByIdWithHttpInfo(Long petId) throws ApiException { public ApiResponse<Pet> getPetByIdWithHttpInfo(@javax.annotation.Nonnull Long petId) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById"); throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById");
@ -322,7 +322,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePet(Pet body) throws ApiException { public void updatePet(@javax.annotation.Nonnull Pet body) throws ApiException {
updatePetWithHttpInfo(body); updatePetWithHttpInfo(body);
} }
@ -342,7 +342,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithHttpInfo(Pet body) throws ApiException { public ApiResponse<Void> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling updatePet"); throw new ApiException(400, "Missing the required parameter 'body' when calling updatePet");
@ -369,7 +369,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
updatePetWithFormWithHttpInfo(petId, name, status); updatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -388,7 +388,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public ApiResponse<Void> updatePetWithFormWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm"); throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm");
@ -429,7 +429,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData(); return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData();
} }
@ -448,7 +448,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile");
@ -490,7 +490,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData(); return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData();
} }
@ -509,7 +509,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");

View File

@ -59,7 +59,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@javax.annotation.Nonnull String orderId) throws ApiException {
deleteOrderWithHttpInfo(orderId); deleteOrderWithHttpInfo(orderId);
} }
@ -77,7 +77,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteOrderWithHttpInfo(String orderId) throws ApiException { public ApiResponse<Void> deleteOrderWithHttpInfo(@javax.annotation.Nonnull String orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder");
@ -145,7 +145,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@javax.annotation.Nonnull Long orderId) throws ApiException {
return getOrderByIdWithHttpInfo(orderId).getData(); return getOrderByIdWithHttpInfo(orderId).getData();
} }
@ -164,7 +164,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public ApiResponse<Order> getOrderByIdWithHttpInfo(@javax.annotation.Nonnull Long orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById");
@ -195,7 +195,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public Order placeOrder(Order body) throws ApiException { public Order placeOrder(@javax.annotation.Nonnull Order body) throws ApiException {
return placeOrderWithHttpInfo(body).getData(); return placeOrderWithHttpInfo(body).getData();
} }
@ -213,7 +213,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> placeOrderWithHttpInfo(Order body) throws ApiException { public ApiResponse<Order> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling placeOrder"); throw new ApiException(400, "Missing the required parameter 'body' when calling placeOrder");

View File

@ -59,7 +59,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUser(User body) throws ApiException { public void createUser(@javax.annotation.Nonnull User body) throws ApiException {
createUserWithHttpInfo(body); createUserWithHttpInfo(body);
} }
@ -76,7 +76,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUserWithHttpInfo(User body) throws ApiException { public ApiResponse<Void> createUserWithHttpInfo(@javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUser"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUser");
@ -100,7 +100,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithArrayInput(List<User> body) throws ApiException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> body) throws ApiException {
createUsersWithArrayInputWithHttpInfo(body); createUsersWithArrayInputWithHttpInfo(body);
} }
@ -117,7 +117,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<User> body) throws ApiException { public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithArrayInput"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithArrayInput");
@ -141,7 +141,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithListInput(List<User> body) throws ApiException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> body) throws ApiException {
createUsersWithListInputWithHttpInfo(body); createUsersWithListInputWithHttpInfo(body);
} }
@ -158,7 +158,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<User> body) throws ApiException { public ApiResponse<Void> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithListInput"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithListInput");
@ -183,7 +183,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteUser(String username) throws ApiException { public void deleteUser(@javax.annotation.Nonnull String username) throws ApiException {
deleteUserWithHttpInfo(username); deleteUserWithHttpInfo(username);
} }
@ -201,7 +201,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteUserWithHttpInfo(String username) throws ApiException { public ApiResponse<Void> deleteUserWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser");
@ -232,7 +232,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public User getUserByName(String username) throws ApiException { public User getUserByName(@javax.annotation.Nonnull String username) throws ApiException {
return getUserByNameWithHttpInfo(username).getData(); return getUserByNameWithHttpInfo(username).getData();
} }
@ -251,7 +251,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<User> getUserByNameWithHttpInfo(String username) throws ApiException { public ApiResponse<User> getUserByNameWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName"); throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName");
@ -283,7 +283,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public String loginUser(String username, String password) throws ApiException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
return loginUserWithHttpInfo(username, password).getData(); return loginUserWithHttpInfo(username, password).getData();
} }
@ -302,7 +302,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> loginUserWithHttpInfo(String username, String password) throws ApiException { public ApiResponse<String> loginUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser");
@ -372,7 +372,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void updateUser(String username, User body) throws ApiException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws ApiException {
updateUserWithHttpInfo(username, body); updateUserWithHttpInfo(username, body);
} }
@ -391,7 +391,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updateUserWithHttpInfo(String username, User body) throws ApiException { public ApiResponse<Void> updateUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser");

View File

@ -61,7 +61,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client call123testSpecialTags(UUID uuidTest, Client body) throws ApiException { public Client call123testSpecialTags(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws ApiException {
return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData(); return call123testSpecialTagsWithHttpInfo(uuidTest, body).getData();
} }
@ -79,7 +79,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(UUID uuidTest, Client body) throws ApiException { public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@javax.annotation.Nonnull UUID uuidTest, @javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (uuidTest == null) { if (uuidTest == null) {
throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags"); throw new ApiException(400, "Missing the required parameter 'uuidTest' when calling call123testSpecialTags");

View File

@ -66,7 +66,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createXmlItem(XmlItem xmlItem) throws ApiException { public void createXmlItem(@javax.annotation.Nonnull XmlItem xmlItem) throws ApiException {
createXmlItemWithHttpInfo(xmlItem); createXmlItemWithHttpInfo(xmlItem);
} }
@ -83,7 +83,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createXmlItemWithHttpInfo(XmlItem xmlItem) throws ApiException { public ApiResponse<Void> createXmlItemWithHttpInfo(@javax.annotation.Nonnull XmlItem xmlItem) throws ApiException {
// Check required parameters // Check required parameters
if (xmlItem == null) { if (xmlItem == null) {
throw new ApiException(400, "Missing the required parameter 'xmlItem' when calling createXmlItem"); throw new ApiException(400, "Missing the required parameter 'xmlItem' when calling createXmlItem");
@ -108,7 +108,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public Boolean fakeOuterBooleanSerialize(Boolean body) throws ApiException { public Boolean fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws ApiException {
return fakeOuterBooleanSerializeWithHttpInfo(body).getData(); return fakeOuterBooleanSerializeWithHttpInfo(body).getData();
} }
@ -125,7 +125,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws ApiException { public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {}; GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {};
@ -146,7 +146,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public OuterComposite fakeOuterCompositeSerialize(OuterComposite body) throws ApiException { public OuterComposite fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite body) throws ApiException {
return fakeOuterCompositeSerializeWithHttpInfo(body).getData(); return fakeOuterCompositeSerializeWithHttpInfo(body).getData();
} }
@ -163,7 +163,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite body) throws ApiException { public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {}; GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {};
@ -184,7 +184,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws ApiException { public BigDecimal fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws ApiException {
return fakeOuterNumberSerializeWithHttpInfo(body).getData(); return fakeOuterNumberSerializeWithHttpInfo(body).getData();
} }
@ -201,7 +201,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws ApiException { public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {}; GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {};
@ -222,7 +222,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public String fakeOuterStringSerialize(String body) throws ApiException { public String fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws ApiException {
return fakeOuterStringSerializeWithHttpInfo(body).getData(); return fakeOuterStringSerializeWithHttpInfo(body).getData();
} }
@ -239,7 +239,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(String body) throws ApiException { public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType(); String localVarContentType = apiClient.selectHeaderContentType();
GenericType<String> localVarReturnType = new GenericType<String>() {}; GenericType<String> localVarReturnType = new GenericType<String>() {};
@ -259,7 +259,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithFileSchema(FileSchemaTestClass body) throws ApiException { public void testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass body) throws ApiException {
testBodyWithFileSchemaWithHttpInfo(body); testBodyWithFileSchemaWithHttpInfo(body);
} }
@ -276,7 +276,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass body) throws ApiException { public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testBodyWithFileSchema"); throw new ApiException(400, "Missing the required parameter 'body' when calling testBodyWithFileSchema");
@ -301,7 +301,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithQueryParams(String query, User body) throws ApiException { public void testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws ApiException {
testBodyWithQueryParamsWithHttpInfo(query, body); testBodyWithQueryParamsWithHttpInfo(query, body);
} }
@ -319,7 +319,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(String query, User body) throws ApiException { public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (query == null) { if (query == null) {
throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -352,7 +352,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClientModel(Client body) throws ApiException { public Client testClientModel(@javax.annotation.Nonnull Client body) throws ApiException {
return testClientModelWithHttpInfo(body).getData(); return testClientModelWithHttpInfo(body).getData();
} }
@ -369,7 +369,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClientModelWithHttpInfo(Client body) throws ApiException { public ApiResponse<Client> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testClientModel"); throw new ApiException(400, "Missing the required parameter 'body' when calling testClientModel");
@ -408,7 +408,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public void testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
} }
@ -439,7 +439,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public ApiResponse<Void> testEndpointParametersWithHttpInfo(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
// Check required parameters // Check required parameters
if (number == null) { if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters"); throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@ -518,7 +518,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public void testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
} }
@ -543,7 +543,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEnumParametersWithHttpInfo(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public ApiResponse<Void> testEnumParametersWithHttpInfo(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
// Query parameters // Query parameters
List<Pair> localVarQueryParams = new ArrayList<>( List<Pair> localVarQueryParams = new ArrayList<>(
apiClient.parameterToPairs("csv", "enum_query_string_array", enumQueryStringArray) apiClient.parameterToPairs("csv", "enum_query_string_array", enumQueryStringArray)
@ -577,7 +577,7 @@ public class FakeApi {
null, null, false); null, null, false);
} }
private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { private ApiResponse<Void> testGroupParametersWithHttpInfo(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
// Check required parameters // Check required parameters
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -612,11 +612,17 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
} }
public class APItestGroupParametersRequest { public class APItestGroupParametersRequest {
@javax.annotation.Nonnull
private Integer requiredStringGroup; private Integer requiredStringGroup;
@javax.annotation.Nonnull
private Boolean requiredBooleanGroup; private Boolean requiredBooleanGroup;
@javax.annotation.Nonnull
private Long requiredInt64Group; private Long requiredInt64Group;
@javax.annotation.Nullable
private Integer stringGroup; private Integer stringGroup;
@javax.annotation.Nullable
private Boolean booleanGroup; private Boolean booleanGroup;
@javax.annotation.Nullable
private Long int64Group; private Long int64Group;
private APItestGroupParametersRequest() { private APItestGroupParametersRequest() {
@ -627,7 +633,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredStringGroup Required String in group parameters (required) * @param requiredStringGroup Required String in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredStringGroup(Integer requiredStringGroup) { public APItestGroupParametersRequest requiredStringGroup(@javax.annotation.Nonnull Integer requiredStringGroup) {
this.requiredStringGroup = requiredStringGroup; this.requiredStringGroup = requiredStringGroup;
return this; return this;
} }
@ -637,7 +643,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredBooleanGroup Required Boolean in group parameters (required) * @param requiredBooleanGroup Required Boolean in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredBooleanGroup(Boolean requiredBooleanGroup) { public APItestGroupParametersRequest requiredBooleanGroup(@javax.annotation.Nonnull Boolean requiredBooleanGroup) {
this.requiredBooleanGroup = requiredBooleanGroup; this.requiredBooleanGroup = requiredBooleanGroup;
return this; return this;
} }
@ -647,7 +653,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredInt64Group Required Integer in group parameters (required) * @param requiredInt64Group Required Integer in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredInt64Group(Long requiredInt64Group) { public APItestGroupParametersRequest requiredInt64Group(@javax.annotation.Nonnull Long requiredInt64Group) {
this.requiredInt64Group = requiredInt64Group; this.requiredInt64Group = requiredInt64Group;
return this; return this;
} }
@ -657,7 +663,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param stringGroup String in group parameters (optional) * @param stringGroup String in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest stringGroup(Integer stringGroup) { public APItestGroupParametersRequest stringGroup(@javax.annotation.Nullable Integer stringGroup) {
this.stringGroup = stringGroup; this.stringGroup = stringGroup;
return this; return this;
} }
@ -667,7 +673,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param booleanGroup Boolean in group parameters (optional) * @param booleanGroup Boolean in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest booleanGroup(Boolean booleanGroup) { public APItestGroupParametersRequest booleanGroup(@javax.annotation.Nullable Boolean booleanGroup) {
this.booleanGroup = booleanGroup; this.booleanGroup = booleanGroup;
return this; return this;
} }
@ -677,7 +683,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param int64Group Integer in group parameters (optional) * @param int64Group Integer in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest int64Group(Long int64Group) { public APItestGroupParametersRequest int64Group(@javax.annotation.Nullable Long int64Group) {
this.int64Group = int64Group; this.int64Group = int64Group;
return this; return this;
} }
@ -739,7 +745,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testInlineAdditionalProperties(Map<String, String> param) throws ApiException { public void testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> param) throws ApiException {
testInlineAdditionalPropertiesWithHttpInfo(param); testInlineAdditionalPropertiesWithHttpInfo(param);
} }
@ -756,7 +762,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> param) throws ApiException { public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> param) throws ApiException {
// Check required parameters // Check required parameters
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testInlineAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'param' when calling testInlineAdditionalProperties");
@ -781,7 +787,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testJsonFormData(String param, String param2) throws ApiException { public void testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
testJsonFormDataWithHttpInfo(param, param2); testJsonFormDataWithHttpInfo(param, param2);
} }
@ -799,7 +805,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testJsonFormDataWithHttpInfo(String param, String param2) throws ApiException { public ApiResponse<Void> testJsonFormDataWithHttpInfo(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
// Check required parameters // Check required parameters
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData"); throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData");
@ -835,7 +841,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public void testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
} }
@ -856,7 +862,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
// Check required parameters // Check required parameters
if (pipe == null) { if (pipe == null) {
throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");

View File

@ -59,7 +59,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClassname(Client body) throws ApiException { public Client testClassname(@javax.annotation.Nonnull Client body) throws ApiException {
return testClassnameWithHttpInfo(body).getData(); return testClassnameWithHttpInfo(body).getData();
} }
@ -76,7 +76,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClassnameWithHttpInfo(Client body) throws ApiException { public ApiResponse<Client> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling testClassname"); throw new ApiException(400, "Missing the required parameter 'body' when calling testClassname");

View File

@ -62,7 +62,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void addPet(Pet body) throws ApiException { public void addPet(@javax.annotation.Nonnull Pet body) throws ApiException {
addPetWithHttpInfo(body); addPetWithHttpInfo(body);
} }
@ -80,7 +80,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> addPetWithHttpInfo(Pet body) throws ApiException { public ApiResponse<Void> addPetWithHttpInfo(@javax.annotation.Nonnull Pet body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling addPet"); throw new ApiException(400, "Missing the required parameter 'body' when calling addPet");
@ -107,7 +107,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
deletePetWithHttpInfo(petId, apiKey); deletePetWithHttpInfo(petId, apiKey);
} }
@ -126,7 +126,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public ApiResponse<Void> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet"); throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet");
@ -163,7 +163,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws ApiException {
return findPetsByStatusWithHttpInfo(status).getData(); return findPetsByStatusWithHttpInfo(status).getData();
} }
@ -181,7 +181,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@javax.annotation.Nonnull List<String> status) throws ApiException {
// Check required parameters // Check required parameters
if (status == null) { if (status == null) {
throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus");
@ -216,7 +216,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public Set<Pet> findPetsByTags(Set<String> tags) throws ApiException { public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags) throws ApiException {
return findPetsByTagsWithHttpInfo(tags).getData(); return findPetsByTagsWithHttpInfo(tags).getData();
} }
@ -236,7 +236,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(Set<String> tags) throws ApiException { public ApiResponse<Set<Pet>> findPetsByTagsWithHttpInfo(@javax.annotation.Nonnull Set<String> tags) throws ApiException {
// Check required parameters // Check required parameters
if (tags == null) { if (tags == null) {
throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags"); throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags");
@ -270,7 +270,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@javax.annotation.Nonnull Long petId) throws ApiException {
return getPetByIdWithHttpInfo(petId).getData(); return getPetByIdWithHttpInfo(petId).getData();
} }
@ -289,7 +289,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> getPetByIdWithHttpInfo(Long petId) throws ApiException { public ApiResponse<Pet> getPetByIdWithHttpInfo(@javax.annotation.Nonnull Long petId) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById"); throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById");
@ -322,7 +322,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePet(Pet body) throws ApiException { public void updatePet(@javax.annotation.Nonnull Pet body) throws ApiException {
updatePetWithHttpInfo(body); updatePetWithHttpInfo(body);
} }
@ -342,7 +342,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithHttpInfo(Pet body) throws ApiException { public ApiResponse<Void> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling updatePet"); throw new ApiException(400, "Missing the required parameter 'body' when calling updatePet");
@ -369,7 +369,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
updatePetWithFormWithHttpInfo(petId, name, status); updatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -388,7 +388,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public ApiResponse<Void> updatePetWithFormWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm"); throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm");
@ -429,7 +429,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData(); return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData();
} }
@ -448,7 +448,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile");
@ -490,7 +490,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ModelApiResponse uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData(); return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData();
} }
@ -509,7 +509,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");

View File

@ -59,7 +59,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@javax.annotation.Nonnull String orderId) throws ApiException {
deleteOrderWithHttpInfo(orderId); deleteOrderWithHttpInfo(orderId);
} }
@ -77,7 +77,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteOrderWithHttpInfo(String orderId) throws ApiException { public ApiResponse<Void> deleteOrderWithHttpInfo(@javax.annotation.Nonnull String orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder");
@ -145,7 +145,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@javax.annotation.Nonnull Long orderId) throws ApiException {
return getOrderByIdWithHttpInfo(orderId).getData(); return getOrderByIdWithHttpInfo(orderId).getData();
} }
@ -164,7 +164,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public ApiResponse<Order> getOrderByIdWithHttpInfo(@javax.annotation.Nonnull Long orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById");
@ -195,7 +195,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public Order placeOrder(Order body) throws ApiException { public Order placeOrder(@javax.annotation.Nonnull Order body) throws ApiException {
return placeOrderWithHttpInfo(body).getData(); return placeOrderWithHttpInfo(body).getData();
} }
@ -213,7 +213,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> placeOrderWithHttpInfo(Order body) throws ApiException { public ApiResponse<Order> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling placeOrder"); throw new ApiException(400, "Missing the required parameter 'body' when calling placeOrder");

View File

@ -59,7 +59,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUser(User body) throws ApiException { public void createUser(@javax.annotation.Nonnull User body) throws ApiException {
createUserWithHttpInfo(body); createUserWithHttpInfo(body);
} }
@ -76,7 +76,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUserWithHttpInfo(User body) throws ApiException { public ApiResponse<Void> createUserWithHttpInfo(@javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUser"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUser");
@ -100,7 +100,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithArrayInput(List<User> body) throws ApiException { public void createUsersWithArrayInput(@javax.annotation.Nonnull List<User> body) throws ApiException {
createUsersWithArrayInputWithHttpInfo(body); createUsersWithArrayInputWithHttpInfo(body);
} }
@ -117,7 +117,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<User> body) throws ApiException { public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithArrayInput"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithArrayInput");
@ -141,7 +141,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithListInput(List<User> body) throws ApiException { public void createUsersWithListInput(@javax.annotation.Nonnull List<User> body) throws ApiException {
createUsersWithListInputWithHttpInfo(body); createUsersWithListInputWithHttpInfo(body);
} }
@ -158,7 +158,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<User> body) throws ApiException { public ApiResponse<Void> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> body) throws ApiException {
// Check required parameters // Check required parameters
if (body == null) { if (body == null) {
throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithListInput"); throw new ApiException(400, "Missing the required parameter 'body' when calling createUsersWithListInput");
@ -183,7 +183,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteUser(String username) throws ApiException { public void deleteUser(@javax.annotation.Nonnull String username) throws ApiException {
deleteUserWithHttpInfo(username); deleteUserWithHttpInfo(username);
} }
@ -201,7 +201,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteUserWithHttpInfo(String username) throws ApiException { public ApiResponse<Void> deleteUserWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser");
@ -232,7 +232,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public User getUserByName(String username) throws ApiException { public User getUserByName(@javax.annotation.Nonnull String username) throws ApiException {
return getUserByNameWithHttpInfo(username).getData(); return getUserByNameWithHttpInfo(username).getData();
} }
@ -251,7 +251,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<User> getUserByNameWithHttpInfo(String username) throws ApiException { public ApiResponse<User> getUserByNameWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName"); throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName");
@ -283,7 +283,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public String loginUser(String username, String password) throws ApiException { public String loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
return loginUserWithHttpInfo(username, password).getData(); return loginUserWithHttpInfo(username, password).getData();
} }
@ -302,7 +302,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> loginUserWithHttpInfo(String username, String password) throws ApiException { public ApiResponse<String> loginUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser");
@ -372,7 +372,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void updateUser(String username, User body) throws ApiException { public void updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws ApiException {
updateUserWithHttpInfo(username, body); updateUserWithHttpInfo(username, body);
} }
@ -391,7 +391,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updateUserWithHttpInfo(String username, User body) throws ApiException { public ApiResponse<Void> updateUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User body) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser");

View File

@ -58,7 +58,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public void rootPost(PostRequest postRequest) throws ApiException { public void rootPost(@jakarta.annotation.Nullable PostRequest postRequest) throws ApiException {
rootPostWithHttpInfo(postRequest); rootPostWithHttpInfo(postRequest);
} }
@ -75,7 +75,7 @@ public class DefaultApi {
<tr><td> 200 </td><td> OK </td><td> - </td></tr> <tr><td> 200 </td><td> OK </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> rootPostWithHttpInfo(PostRequest postRequest) throws ApiException { public ApiResponse<Void> rootPostWithHttpInfo(@jakarta.annotation.Nullable PostRequest postRequest) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept(); String localVarAccept = apiClient.selectHeaderAccept();
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
return apiClient.invokeAPI("DefaultApi.rootPost", "/", "POST", new ArrayList<>(), postRequest, return apiClient.invokeAPI("DefaultApi.rootPost", "/", "POST", new ArrayList<>(), postRequest,

View File

@ -62,7 +62,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client call123testSpecialTags(Client client) throws ApiException { public Client call123testSpecialTags(@jakarta.annotation.Nonnull Client client) throws ApiException {
return call123testSpecialTagsWithHttpInfo(client).getData(); return call123testSpecialTagsWithHttpInfo(client).getData();
} }
@ -79,7 +79,7 @@ public class AnotherFakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(Client client) throws ApiException { public ApiResponse<Client> call123testSpecialTagsWithHttpInfo(@jakarta.annotation.Nonnull Client client) throws ApiException {
// Check required parameters // Check required parameters
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling call123testSpecialTags"); throw new ApiException(400, "Missing the required parameter 'client' when calling call123testSpecialTags");

View File

@ -108,7 +108,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public Boolean fakeOuterBooleanSerialize(Boolean body) throws ApiException { public Boolean fakeOuterBooleanSerialize(@jakarta.annotation.Nullable Boolean body) throws ApiException {
return fakeOuterBooleanSerializeWithHttpInfo(body).getData(); return fakeOuterBooleanSerializeWithHttpInfo(body).getData();
} }
@ -125,7 +125,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output boolean </td><td> - </td></tr> <tr><td> 200 </td><td> Output boolean </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws ApiException { public ApiResponse<Boolean> fakeOuterBooleanSerializeWithHttpInfo(@jakarta.annotation.Nullable Boolean body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {}; GenericType<Boolean> localVarReturnType = new GenericType<Boolean>() {};
@ -146,7 +146,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public OuterComposite fakeOuterCompositeSerialize(OuterComposite outerComposite) throws ApiException { public OuterComposite fakeOuterCompositeSerialize(@jakarta.annotation.Nullable OuterComposite outerComposite) throws ApiException {
return fakeOuterCompositeSerializeWithHttpInfo(outerComposite).getData(); return fakeOuterCompositeSerializeWithHttpInfo(outerComposite).getData();
} }
@ -163,7 +163,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output composite </td><td> - </td></tr> <tr><td> 200 </td><td> Output composite </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite) throws ApiException { public ApiResponse<OuterComposite> fakeOuterCompositeSerializeWithHttpInfo(@jakarta.annotation.Nullable OuterComposite outerComposite) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {}; GenericType<OuterComposite> localVarReturnType = new GenericType<OuterComposite>() {};
@ -184,7 +184,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws ApiException { public BigDecimal fakeOuterNumberSerialize(@jakarta.annotation.Nullable BigDecimal body) throws ApiException {
return fakeOuterNumberSerializeWithHttpInfo(body).getData(); return fakeOuterNumberSerializeWithHttpInfo(body).getData();
} }
@ -201,7 +201,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output number </td><td> - </td></tr> <tr><td> 200 </td><td> Output number </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws ApiException { public ApiResponse<BigDecimal> fakeOuterNumberSerializeWithHttpInfo(@jakarta.annotation.Nullable BigDecimal body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {}; GenericType<BigDecimal> localVarReturnType = new GenericType<BigDecimal>() {};
@ -222,7 +222,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public String fakeOuterStringSerialize(String body) throws ApiException { public String fakeOuterStringSerialize(@jakarta.annotation.Nullable String body) throws ApiException {
return fakeOuterStringSerializeWithHttpInfo(body).getData(); return fakeOuterStringSerializeWithHttpInfo(body).getData();
} }
@ -239,7 +239,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Output string </td><td> - </td></tr> <tr><td> 200 </td><td> Output string </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(String body) throws ApiException { public ApiResponse<String> fakeOuterStringSerializeWithHttpInfo(@jakarta.annotation.Nullable String body) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept("*/*"); String localVarAccept = apiClient.selectHeaderAccept("*/*");
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
GenericType<String> localVarReturnType = new GenericType<String>() {}; GenericType<String> localVarReturnType = new GenericType<String>() {};
@ -295,7 +295,7 @@ public class FakeApi {
<tr><td> 200 </td><td> ok </td><td> - </td></tr> <tr><td> 200 </td><td> ok </td><td> - </td></tr>
</table> </table>
*/ */
public void postArrayOfString(List<@Pattern(regexp = "[A-Z0-9]+")String> requestBody) throws ApiException { public void postArrayOfString(@jakarta.annotation.Nullable List<@Pattern(regexp = "[A-Z0-9]+")String> requestBody) throws ApiException {
postArrayOfStringWithHttpInfo(requestBody); postArrayOfStringWithHttpInfo(requestBody);
} }
@ -312,7 +312,7 @@ public class FakeApi {
<tr><td> 200 </td><td> ok </td><td> - </td></tr> <tr><td> 200 </td><td> ok </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> postArrayOfStringWithHttpInfo(List<@Pattern(regexp = "[A-Z0-9]+")String> requestBody) throws ApiException { public ApiResponse<Void> postArrayOfStringWithHttpInfo(@jakarta.annotation.Nullable List<@Pattern(regexp = "[A-Z0-9]+")String> requestBody) throws ApiException {
String localVarAccept = apiClient.selectHeaderAccept(); String localVarAccept = apiClient.selectHeaderAccept();
String localVarContentType = apiClient.selectHeaderContentType("application/json"); String localVarContentType = apiClient.selectHeaderContentType("application/json");
return apiClient.invokeAPI("FakeApi.postArrayOfString", "/fake/request-array-string", "POST", new ArrayList<>(), requestBody, return apiClient.invokeAPI("FakeApi.postArrayOfString", "/fake/request-array-string", "POST", new ArrayList<>(), requestBody,
@ -331,7 +331,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testAdditionalPropertiesReference(Map<String, Object> requestBody) throws ApiException { public void testAdditionalPropertiesReference(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
testAdditionalPropertiesReferenceWithHttpInfo(requestBody); testAdditionalPropertiesReferenceWithHttpInfo(requestBody);
} }
@ -348,7 +348,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testAdditionalPropertiesReferenceWithHttpInfo(Map<String, Object> requestBody) throws ApiException { public ApiResponse<Void> testAdditionalPropertiesReferenceWithHttpInfo(@jakarta.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
// Check required parameters // Check required parameters
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testAdditionalPropertiesReference"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testAdditionalPropertiesReference");
@ -372,7 +372,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) throws ApiException { public void testBodyWithFileSchema(@jakarta.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass); testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass);
} }
@ -389,7 +389,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) throws ApiException { public ApiResponse<Void> testBodyWithFileSchemaWithHttpInfo(@jakarta.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
// Check required parameters // Check required parameters
if (fileSchemaTestClass == null) { if (fileSchemaTestClass == null) {
throw new ApiException(400, "Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema"); throw new ApiException(400, "Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema");
@ -414,7 +414,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testBodyWithQueryParams(String query, User user) throws ApiException { public void testBodyWithQueryParams(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws ApiException {
testBodyWithQueryParamsWithHttpInfo(query, user); testBodyWithQueryParamsWithHttpInfo(query, user);
} }
@ -432,7 +432,7 @@ public class FakeApi {
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(String query, User user) throws ApiException { public ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws ApiException {
// Check required parameters // Check required parameters
if (query == null) { if (query == null) {
throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -465,7 +465,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClientModel(Client client) throws ApiException { public Client testClientModel(@jakarta.annotation.Nonnull Client client) throws ApiException {
return testClientModelWithHttpInfo(client).getData(); return testClientModelWithHttpInfo(client).getData();
} }
@ -482,7 +482,7 @@ public class FakeApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClientModelWithHttpInfo(Client client) throws ApiException { public ApiResponse<Client> testClientModelWithHttpInfo(@jakarta.annotation.Nonnull Client client) throws ApiException {
// Check required parameters // Check required parameters
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling testClientModel"); throw new ApiException(400, "Missing the required parameter 'client' when calling testClientModel");
@ -521,7 +521,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public void testEndpointParameters(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback) throws ApiException {
testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
} }
@ -552,7 +552,7 @@ public class FakeApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public ApiResponse<Void> testEndpointParametersWithHttpInfo(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback) throws ApiException {
// Check required parameters // Check required parameters
if (number == null) { if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters"); throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@ -631,7 +631,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public void testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public void testEnumParameters(@jakarta.annotation.Nullable List<String> enumHeaderStringArray, @jakarta.annotation.Nullable String enumHeaderString, @jakarta.annotation.Nullable List<String> enumQueryStringArray, @jakarta.annotation.Nullable String enumQueryString, @jakarta.annotation.Nullable Integer enumQueryInteger, @jakarta.annotation.Nullable Double enumQueryDouble, @jakarta.annotation.Nullable List<String> enumFormStringArray, @jakarta.annotation.Nullable String enumFormString) throws ApiException {
testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); testEnumParametersWithHttpInfo(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
} }
@ -656,7 +656,7 @@ public class FakeApi {
<tr><td> 404 </td><td> Not found </td><td> - </td></tr> <tr><td> 404 </td><td> Not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testEnumParametersWithHttpInfo(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public ApiResponse<Void> testEnumParametersWithHttpInfo(@jakarta.annotation.Nullable List<String> enumHeaderStringArray, @jakarta.annotation.Nullable String enumHeaderString, @jakarta.annotation.Nullable List<String> enumQueryStringArray, @jakarta.annotation.Nullable String enumQueryString, @jakarta.annotation.Nullable Integer enumQueryInteger, @jakarta.annotation.Nullable Double enumQueryDouble, @jakarta.annotation.Nullable List<String> enumFormStringArray, @jakarta.annotation.Nullable String enumFormString) throws ApiException {
// Query parameters // Query parameters
List<Pair> localVarQueryParams = new ArrayList<>( List<Pair> localVarQueryParams = new ArrayList<>(
apiClient.parameterToPairs("multi", "enum_query_string_array", enumQueryStringArray) apiClient.parameterToPairs("multi", "enum_query_string_array", enumQueryStringArray)
@ -690,7 +690,7 @@ public class FakeApi {
null, null, false); null, null, false);
} }
private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { private ApiResponse<Void> testGroupParametersWithHttpInfo(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws ApiException {
// Check required parameters // Check required parameters
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -726,11 +726,17 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
} }
public class APItestGroupParametersRequest { public class APItestGroupParametersRequest {
@jakarta.annotation.Nonnull
private Integer requiredStringGroup; private Integer requiredStringGroup;
@jakarta.annotation.Nonnull
private Boolean requiredBooleanGroup; private Boolean requiredBooleanGroup;
@jakarta.annotation.Nonnull
private Long requiredInt64Group; private Long requiredInt64Group;
@jakarta.annotation.Nullable
private Integer stringGroup; private Integer stringGroup;
@jakarta.annotation.Nullable
private Boolean booleanGroup; private Boolean booleanGroup;
@jakarta.annotation.Nullable
private Long int64Group; private Long int64Group;
private APItestGroupParametersRequest() { private APItestGroupParametersRequest() {
@ -741,7 +747,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredStringGroup Required String in group parameters (required) * @param requiredStringGroup Required String in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredStringGroup(Integer requiredStringGroup) { public APItestGroupParametersRequest requiredStringGroup(@jakarta.annotation.Nonnull Integer requiredStringGroup) {
this.requiredStringGroup = requiredStringGroup; this.requiredStringGroup = requiredStringGroup;
return this; return this;
} }
@ -751,7 +757,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredBooleanGroup Required Boolean in group parameters (required) * @param requiredBooleanGroup Required Boolean in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredBooleanGroup(Boolean requiredBooleanGroup) { public APItestGroupParametersRequest requiredBooleanGroup(@jakarta.annotation.Nonnull Boolean requiredBooleanGroup) {
this.requiredBooleanGroup = requiredBooleanGroup; this.requiredBooleanGroup = requiredBooleanGroup;
return this; return this;
} }
@ -761,7 +767,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param requiredInt64Group Required Integer in group parameters (required) * @param requiredInt64Group Required Integer in group parameters (required)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest requiredInt64Group(Long requiredInt64Group) { public APItestGroupParametersRequest requiredInt64Group(@jakarta.annotation.Nonnull Long requiredInt64Group) {
this.requiredInt64Group = requiredInt64Group; this.requiredInt64Group = requiredInt64Group;
return this; return this;
} }
@ -771,7 +777,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param stringGroup String in group parameters (optional) * @param stringGroup String in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest stringGroup(Integer stringGroup) { public APItestGroupParametersRequest stringGroup(@jakarta.annotation.Nullable Integer stringGroup) {
this.stringGroup = stringGroup; this.stringGroup = stringGroup;
return this; return this;
} }
@ -781,7 +787,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param booleanGroup Boolean in group parameters (optional) * @param booleanGroup Boolean in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest booleanGroup(Boolean booleanGroup) { public APItestGroupParametersRequest booleanGroup(@jakarta.annotation.Nullable Boolean booleanGroup) {
this.booleanGroup = booleanGroup; this.booleanGroup = booleanGroup;
return this; return this;
} }
@ -791,7 +797,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
* @param int64Group Integer in group parameters (optional) * @param int64Group Integer in group parameters (optional)
* @return APItestGroupParametersRequest * @return APItestGroupParametersRequest
*/ */
public APItestGroupParametersRequest int64Group(Long int64Group) { public APItestGroupParametersRequest int64Group(@jakarta.annotation.Nullable Long int64Group) {
this.int64Group = int64Group; this.int64Group = int64Group;
return this; return this;
} }
@ -853,7 +859,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testInlineAdditionalProperties(Map<String, String> requestBody) throws ApiException { public void testInlineAdditionalProperties(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
testInlineAdditionalPropertiesWithHttpInfo(requestBody); testInlineAdditionalPropertiesWithHttpInfo(requestBody);
} }
@ -870,7 +876,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> requestBody) throws ApiException { public ApiResponse<Void> testInlineAdditionalPropertiesWithHttpInfo(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
// Check required parameters // Check required parameters
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testInlineAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testInlineAdditionalProperties");
@ -894,7 +900,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { public void testInlineFreeformAdditionalProperties(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
testInlineFreeformAdditionalPropertiesWithHttpInfo(testInlineFreeformAdditionalPropertiesRequest); testInlineFreeformAdditionalPropertiesWithHttpInfo(testInlineFreeformAdditionalPropertiesRequest);
} }
@ -911,7 +917,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testInlineFreeformAdditionalPropertiesWithHttpInfo(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { public ApiResponse<Void> testInlineFreeformAdditionalPropertiesWithHttpInfo(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
// Check required parameters // Check required parameters
if (testInlineFreeformAdditionalPropertiesRequest == null) { if (testInlineFreeformAdditionalPropertiesRequest == null) {
throw new ApiException(400, "Missing the required parameter 'testInlineFreeformAdditionalPropertiesRequest' when calling testInlineFreeformAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'testInlineFreeformAdditionalPropertiesRequest' when calling testInlineFreeformAdditionalProperties");
@ -936,7 +942,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testJsonFormData(String param, String param2) throws ApiException { public void testJsonFormData(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws ApiException {
testJsonFormDataWithHttpInfo(param, param2); testJsonFormDataWithHttpInfo(param, param2);
} }
@ -954,7 +960,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testJsonFormDataWithHttpInfo(String param, String param2) throws ApiException { public ApiResponse<Void> testJsonFormDataWithHttpInfo(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws ApiException {
// Check required parameters // Check required parameters
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData"); throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData");
@ -990,7 +996,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public void testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public void testQueryParameterCollectionFormat(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context) throws ApiException {
testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context); testQueryParameterCollectionFormatWithHttpInfo(pipe, ioutil, http, url, context);
} }
@ -1011,7 +1017,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> Success </td><td> - </td></tr> <tr><td> 200 </td><td> Success </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@jakarta.annotation.Nonnull List<String> pipe, @jakarta.annotation.Nonnull List<String> ioutil, @jakarta.annotation.Nonnull List<String> http, @jakarta.annotation.Nonnull List<String> url, @jakarta.annotation.Nonnull List<String> context) throws ApiException {
// Check required parameters // Check required parameters
if (pipe == null) { if (pipe == null) {
throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");
@ -1056,7 +1062,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void testStringMapReference(Map<String, String> requestBody) throws ApiException { public void testStringMapReference(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
testStringMapReferenceWithHttpInfo(requestBody); testStringMapReferenceWithHttpInfo(requestBody);
} }
@ -1073,7 +1079,7 @@ private ApiResponse<Void> testGroupParametersWithHttpInfo(Integer requiredString
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> testStringMapReferenceWithHttpInfo(Map<String, String> requestBody) throws ApiException { public ApiResponse<Void> testStringMapReferenceWithHttpInfo(@jakarta.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
// Check required parameters // Check required parameters
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testStringMapReference"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testStringMapReference");

View File

@ -62,7 +62,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public Client testClassname(Client client) throws ApiException { public Client testClassname(@jakarta.annotation.Nonnull Client client) throws ApiException {
return testClassnameWithHttpInfo(client).getData(); return testClassnameWithHttpInfo(client).getData();
} }
@ -79,7 +79,7 @@ public class FakeClassnameTags123Api {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Client> testClassnameWithHttpInfo(Client client) throws ApiException { public ApiResponse<Client> testClassnameWithHttpInfo(@jakarta.annotation.Nonnull Client client) throws ApiException {
// Check required parameters // Check required parameters
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling testClassname"); throw new ApiException(400, "Missing the required parameter 'client' when calling testClassname");

View File

@ -63,7 +63,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void addPet(Pet pet) throws ApiException { public void addPet(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
addPetWithHttpInfo(pet); addPetWithHttpInfo(pet);
} }
@ -80,7 +80,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> addPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Void> addPetWithHttpInfo(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
// Check required parameters // Check required parameters
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet");
@ -106,7 +106,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws ApiException {
deletePetWithHttpInfo(petId, apiKey); deletePetWithHttpInfo(petId, apiKey);
} }
@ -124,7 +124,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid pet value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public ApiResponse<Void> deletePetWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet"); throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet");
@ -161,7 +161,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@jakarta.annotation.Nonnull List<String> status) throws ApiException {
return findPetsByStatusWithHttpInfo(status).getData(); return findPetsByStatusWithHttpInfo(status).getData();
} }
@ -179,7 +179,7 @@ public class PetApi {
<tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid status value </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@jakarta.annotation.Nonnull List<String> status) throws ApiException {
// Check required parameters // Check required parameters
if (status == null) { if (status == null) {
throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus");
@ -214,7 +214,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public List<Pet> findPetsByTags(List<String> tags) throws ApiException { public List<Pet> findPetsByTags(@jakarta.annotation.Nonnull List<String> tags) throws ApiException {
return findPetsByTagsWithHttpInfo(tags).getData(); return findPetsByTagsWithHttpInfo(tags).getData();
} }
@ -234,7 +234,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(List<String> tags) throws ApiException { public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull List<String> tags) throws ApiException {
// Check required parameters // Check required parameters
if (tags == null) { if (tags == null) {
throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags"); throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags");
@ -268,7 +268,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@jakarta.annotation.Nonnull Long petId) throws ApiException {
return getPetByIdWithHttpInfo(petId).getData(); return getPetByIdWithHttpInfo(petId).getData();
} }
@ -287,7 +287,7 @@ public class PetApi {
<tr><td> 404 </td><td> Pet not found </td><td> - </td></tr> <tr><td> 404 </td><td> Pet not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Pet> getPetByIdWithHttpInfo(Long petId) throws ApiException { public ApiResponse<Pet> getPetByIdWithHttpInfo(@jakarta.annotation.Nonnull Long petId) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById"); throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById");
@ -319,7 +319,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePet(Pet pet) throws ApiException { public void updatePet(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
updatePetWithHttpInfo(pet); updatePetWithHttpInfo(pet);
} }
@ -338,7 +338,7 @@ public class PetApi {
<tr><td> 405 </td><td> Validation exception </td><td> - </td></tr> <tr><td> 405 </td><td> Validation exception </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Void> updatePetWithHttpInfo(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
// Check required parameters // Check required parameters
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet");
@ -365,7 +365,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws ApiException {
updatePetWithFormWithHttpInfo(petId, name, status); updatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -384,7 +384,7 @@ public class PetApi {
<tr><td> 405 </td><td> Invalid input </td><td> - </td></tr> <tr><td> 405 </td><td> Invalid input </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public ApiResponse<Void> updatePetWithFormWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm"); throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm");
@ -425,7 +425,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws ApiException {
return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData(); return uploadFileWithHttpInfo(petId, additionalMetadata, _file).getData();
} }
@ -444,7 +444,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile");
@ -486,7 +486,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ModelApiResponse uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ModelApiResponse uploadFileWithRequiredFile(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nonnull File requiredFile, @jakarta.annotation.Nullable String additionalMetadata) throws ApiException {
return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData(); return uploadFileWithRequiredFileWithHttpInfo(petId, requiredFile, additionalMetadata).getData();
} }
@ -505,7 +505,7 @@ public class PetApi {
<tr><td> 200 </td><td> successful operation </td><td> - </td></tr> <tr><td> 200 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithRequiredFileWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nonnull File requiredFile, @jakarta.annotation.Nullable String additionalMetadata) throws ApiException {
// Check required parameters // Check required parameters
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");

View File

@ -62,7 +62,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@jakarta.annotation.Nonnull String orderId) throws ApiException {
deleteOrderWithHttpInfo(orderId); deleteOrderWithHttpInfo(orderId);
} }
@ -80,7 +80,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteOrderWithHttpInfo(String orderId) throws ApiException { public ApiResponse<Void> deleteOrderWithHttpInfo(@jakarta.annotation.Nonnull String orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder");
@ -148,7 +148,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@jakarta.annotation.Nonnull Long orderId) throws ApiException {
return getOrderByIdWithHttpInfo(orderId).getData(); return getOrderByIdWithHttpInfo(orderId).getData();
} }
@ -167,7 +167,7 @@ public class StoreApi {
<tr><td> 404 </td><td> Order not found </td><td> - </td></tr> <tr><td> 404 </td><td> Order not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public ApiResponse<Order> getOrderByIdWithHttpInfo(@jakarta.annotation.Nonnull Long orderId) throws ApiException {
// Check required parameters // Check required parameters
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById");
@ -198,7 +198,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public Order placeOrder(Order order) throws ApiException { public Order placeOrder(@jakarta.annotation.Nonnull Order order) throws ApiException {
return placeOrderWithHttpInfo(order).getData(); return placeOrderWithHttpInfo(order).getData();
} }
@ -216,7 +216,7 @@ public class StoreApi {
<tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid Order </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Order> placeOrderWithHttpInfo(Order order) throws ApiException { public ApiResponse<Order> placeOrderWithHttpInfo(@jakarta.annotation.Nonnull Order order) throws ApiException {
// Check required parameters // Check required parameters
if (order == null) { if (order == null) {
throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder"); throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder");

View File

@ -62,7 +62,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUser(User user) throws ApiException { public void createUser(@jakarta.annotation.Nonnull User user) throws ApiException {
createUserWithHttpInfo(user); createUserWithHttpInfo(user);
} }
@ -79,7 +79,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUserWithHttpInfo(User user) throws ApiException { public ApiResponse<Void> createUserWithHttpInfo(@jakarta.annotation.Nonnull User user) throws ApiException {
// Check required parameters // Check required parameters
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUser"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUser");
@ -103,7 +103,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithArrayInput(List<@Valid User> user) throws ApiException { public void createUsersWithArrayInput(@jakarta.annotation.Nonnull List<@Valid User> user) throws ApiException {
createUsersWithArrayInputWithHttpInfo(user); createUsersWithArrayInputWithHttpInfo(user);
} }
@ -120,7 +120,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(List<@Valid User> user) throws ApiException { public ApiResponse<Void> createUsersWithArrayInputWithHttpInfo(@jakarta.annotation.Nonnull List<@Valid User> user) throws ApiException {
// Check required parameters // Check required parameters
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithArrayInput"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithArrayInput");
@ -144,7 +144,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public void createUsersWithListInput(List<@Valid User> user) throws ApiException { public void createUsersWithListInput(@jakarta.annotation.Nonnull List<@Valid User> user) throws ApiException {
createUsersWithListInputWithHttpInfo(user); createUsersWithListInputWithHttpInfo(user);
} }
@ -161,7 +161,7 @@ public class UserApi {
<tr><td> 0 </td><td> successful operation </td><td> - </td></tr> <tr><td> 0 </td><td> successful operation </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> createUsersWithListInputWithHttpInfo(List<@Valid User> user) throws ApiException { public ApiResponse<Void> createUsersWithListInputWithHttpInfo(@jakarta.annotation.Nonnull List<@Valid User> user) throws ApiException {
// Check required parameters // Check required parameters
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithListInput"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithListInput");
@ -186,7 +186,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void deleteUser(String username) throws ApiException { public void deleteUser(@jakarta.annotation.Nonnull String username) throws ApiException {
deleteUserWithHttpInfo(username); deleteUserWithHttpInfo(username);
} }
@ -204,7 +204,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> deleteUserWithHttpInfo(String username) throws ApiException { public ApiResponse<Void> deleteUserWithHttpInfo(@jakarta.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser");
@ -235,7 +235,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public User getUserByName(String username) throws ApiException { public User getUserByName(@jakarta.annotation.Nonnull String username) throws ApiException {
return getUserByNameWithHttpInfo(username).getData(); return getUserByNameWithHttpInfo(username).getData();
} }
@ -254,7 +254,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<User> getUserByNameWithHttpInfo(String username) throws ApiException { public ApiResponse<User> getUserByNameWithHttpInfo(@jakarta.annotation.Nonnull String username) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName"); throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName");
@ -286,7 +286,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public String loginUser(String username, String password) throws ApiException { public String loginUser(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws ApiException {
return loginUserWithHttpInfo(username, password).getData(); return loginUserWithHttpInfo(username, password).getData();
} }
@ -305,7 +305,7 @@ public class UserApi {
<tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr> <tr><td> 400 </td><td> Invalid username/password supplied </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<String> loginUserWithHttpInfo(String username, String password) throws ApiException { public ApiResponse<String> loginUserWithHttpInfo(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser");
@ -375,7 +375,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public void updateUser(String username, User user) throws ApiException { public void updateUser(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull User user) throws ApiException {
updateUserWithHttpInfo(username, user); updateUserWithHttpInfo(username, user);
} }
@ -394,7 +394,7 @@ public class UserApi {
<tr><td> 404 </td><td> User not found </td><td> - </td></tr> <tr><td> 404 </td><td> User not found </td><td> - </td></tr>
</table> </table>
*/ */
public ApiResponse<Void> updateUserWithHttpInfo(String username, User user) throws ApiException { public ApiResponse<Void> updateUserWithHttpInfo(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull User user) throws ApiException {
// Check required parameters // Check required parameters
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser");

View File

@ -90,7 +90,7 @@ public class AnotherFakeApi {
* @return CompletableFuture&lt;Client&gt; * @return CompletableFuture&lt;Client&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Client> call123testSpecialTags(Client client) throws ApiException { public CompletableFuture<Client> call123testSpecialTags(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = call123testSpecialTagsRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = call123testSpecialTagsRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -121,7 +121,7 @@ public class AnotherFakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Client>> call123testSpecialTagsWithHttpInfo(Client client) throws ApiException { public CompletableFuture<ApiResponse<Client>> call123testSpecialTagsWithHttpInfo(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = call123testSpecialTagsRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = call123testSpecialTagsRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -152,7 +152,7 @@ public class AnotherFakeApi {
} }
} }
private HttpRequest.Builder call123testSpecialTagsRequestBuilder(Client client) throws ApiException { private HttpRequest.Builder call123testSpecialTagsRequestBuilder(@javax.annotation.Nonnull Client client) throws ApiException {
// verify the required parameter 'client' is set // verify the required parameter 'client' is set
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling call123testSpecialTags"); throw new ApiException(400, "Missing the required parameter 'client' when calling call123testSpecialTags");

View File

@ -281,7 +281,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Boolean&gt; * @return CompletableFuture&lt;Boolean&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Boolean> fakeOuterBooleanSerialize(Boolean body) throws ApiException { public CompletableFuture<Boolean> fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterBooleanSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterBooleanSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -312,7 +312,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Boolean&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Boolean&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Boolean>> fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws ApiException { public CompletableFuture<ApiResponse<Boolean>> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterBooleanSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterBooleanSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -343,7 +343,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder fakeOuterBooleanSerializeRequestBuilder(Boolean body) throws ApiException { private HttpRequest.Builder fakeOuterBooleanSerializeRequestBuilder(@javax.annotation.Nullable Boolean body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -376,7 +376,7 @@ public class FakeApi {
* @return CompletableFuture&lt;OuterComposite&gt; * @return CompletableFuture&lt;OuterComposite&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<OuterComposite> fakeOuterCompositeSerialize(OuterComposite outerComposite) throws ApiException { public CompletableFuture<OuterComposite> fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite outerComposite) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterCompositeSerializeRequestBuilder(outerComposite); HttpRequest.Builder localVarRequestBuilder = fakeOuterCompositeSerializeRequestBuilder(outerComposite);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -407,7 +407,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;OuterComposite&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;OuterComposite&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<OuterComposite>> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite) throws ApiException { public CompletableFuture<ApiResponse<OuterComposite>> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite outerComposite) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterCompositeSerializeRequestBuilder(outerComposite); HttpRequest.Builder localVarRequestBuilder = fakeOuterCompositeSerializeRequestBuilder(outerComposite);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -438,7 +438,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder fakeOuterCompositeSerializeRequestBuilder(OuterComposite outerComposite) throws ApiException { private HttpRequest.Builder fakeOuterCompositeSerializeRequestBuilder(@javax.annotation.Nullable OuterComposite outerComposite) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -471,7 +471,7 @@ public class FakeApi {
* @return CompletableFuture&lt;BigDecimal&gt; * @return CompletableFuture&lt;BigDecimal&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<BigDecimal> fakeOuterNumberSerialize(BigDecimal body) throws ApiException { public CompletableFuture<BigDecimal> fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterNumberSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterNumberSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -502,7 +502,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;BigDecimal&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;BigDecimal&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<BigDecimal>> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws ApiException { public CompletableFuture<ApiResponse<BigDecimal>> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterNumberSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterNumberSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -533,7 +533,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder fakeOuterNumberSerializeRequestBuilder(BigDecimal body) throws ApiException { private HttpRequest.Builder fakeOuterNumberSerializeRequestBuilder(@javax.annotation.Nullable BigDecimal body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -566,7 +566,7 @@ public class FakeApi {
* @return CompletableFuture&lt;String&gt; * @return CompletableFuture&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<String> fakeOuterStringSerialize(String body) throws ApiException { public CompletableFuture<String> fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterStringSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterStringSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -597,7 +597,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;String&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;String&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<String>> fakeOuterStringSerializeWithHttpInfo(String body) throws ApiException { public CompletableFuture<ApiResponse<String>> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = fakeOuterStringSerializeRequestBuilder(body); HttpRequest.Builder localVarRequestBuilder = fakeOuterStringSerializeRequestBuilder(body);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -628,7 +628,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder fakeOuterStringSerializeRequestBuilder(String body) throws ApiException { private HttpRequest.Builder fakeOuterStringSerializeRequestBuilder(@javax.annotation.Nullable String body) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -830,7 +830,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testAdditionalPropertiesReference(Map<String, Object> requestBody) throws ApiException { public CompletableFuture<Void> testAdditionalPropertiesReference(@javax.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testAdditionalPropertiesReferenceRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testAdditionalPropertiesReferenceRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -854,7 +854,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testAdditionalPropertiesReferenceWithHttpInfo(Map<String, Object> requestBody) throws ApiException { public CompletableFuture<ApiResponse<Void>> testAdditionalPropertiesReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testAdditionalPropertiesReferenceRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testAdditionalPropertiesReferenceRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -877,7 +877,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testAdditionalPropertiesReferenceRequestBuilder(Map<String, Object> requestBody) throws ApiException { private HttpRequest.Builder testAdditionalPropertiesReferenceRequestBuilder(@javax.annotation.Nonnull Map<String, Object> requestBody) throws ApiException {
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testAdditionalPropertiesReference"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testAdditionalPropertiesReference");
@ -914,7 +914,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) throws ApiException { public CompletableFuture<Void> testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testBodyWithFileSchemaRequestBuilder(fileSchemaTestClass); HttpRequest.Builder localVarRequestBuilder = testBodyWithFileSchemaRequestBuilder(fileSchemaTestClass);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -938,7 +938,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) throws ApiException { public CompletableFuture<ApiResponse<Void>> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testBodyWithFileSchemaRequestBuilder(fileSchemaTestClass); HttpRequest.Builder localVarRequestBuilder = testBodyWithFileSchemaRequestBuilder(fileSchemaTestClass);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -961,7 +961,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testBodyWithFileSchemaRequestBuilder(FileSchemaTestClass fileSchemaTestClass) throws ApiException { private HttpRequest.Builder testBodyWithFileSchemaRequestBuilder(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws ApiException {
// verify the required parameter 'fileSchemaTestClass' is set // verify the required parameter 'fileSchemaTestClass' is set
if (fileSchemaTestClass == null) { if (fileSchemaTestClass == null) {
throw new ApiException(400, "Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema"); throw new ApiException(400, "Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema");
@ -999,7 +999,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testBodyWithQueryParams(String query, User user) throws ApiException { public CompletableFuture<Void> testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testBodyWithQueryParamsRequestBuilder(query, user); HttpRequest.Builder localVarRequestBuilder = testBodyWithQueryParamsRequestBuilder(query, user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1024,7 +1024,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testBodyWithQueryParamsWithHttpInfo(String query, User user) throws ApiException { public CompletableFuture<ApiResponse<Void>> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testBodyWithQueryParamsRequestBuilder(query, user); HttpRequest.Builder localVarRequestBuilder = testBodyWithQueryParamsRequestBuilder(query, user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1047,7 +1047,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testBodyWithQueryParamsRequestBuilder(String query, User user) throws ApiException { private HttpRequest.Builder testBodyWithQueryParamsRequestBuilder(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws ApiException {
// verify the required parameter 'query' is set // verify the required parameter 'query' is set
if (query == null) { if (query == null) {
throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams"); throw new ApiException(400, "Missing the required parameter 'query' when calling testBodyWithQueryParams");
@ -1103,7 +1103,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Client&gt; * @return CompletableFuture&lt;Client&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Client> testClientModel(Client client) throws ApiException { public CompletableFuture<Client> testClientModel(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testClientModelRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = testClientModelRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1134,7 +1134,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Client>> testClientModelWithHttpInfo(Client client) throws ApiException { public CompletableFuture<ApiResponse<Client>> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testClientModelRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = testClientModelRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1165,7 +1165,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testClientModelRequestBuilder(Client client) throws ApiException { private HttpRequest.Builder testClientModelRequestBuilder(@javax.annotation.Nonnull Client client) throws ApiException {
// verify the required parameter 'client' is set // verify the required parameter 'client' is set
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling testClientModel"); throw new ApiException(400, "Missing the required parameter 'client' when calling testClientModel");
@ -1215,7 +1215,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public CompletableFuture<Void> testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1252,7 +1252,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { public CompletableFuture<ApiResponse<Void>> testEndpointParametersWithHttpInfo(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback); HttpRequest.Builder localVarRequestBuilder = testEndpointParametersRequestBuilder(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1275,7 +1275,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testEndpointParametersRequestBuilder(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws ApiException { private HttpRequest.Builder testEndpointParametersRequestBuilder(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws ApiException {
// verify the required parameter 'number' is set // verify the required parameter 'number' is set
if (number == null) { if (number == null) {
throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters"); throw new ApiException(400, "Missing the required parameter 'number' when calling testEndpointParameters");
@ -1378,7 +1378,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public CompletableFuture<Void> testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testEnumParametersRequestBuilder(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); HttpRequest.Builder localVarRequestBuilder = testEnumParametersRequestBuilder(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1409,7 +1409,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testEnumParametersWithHttpInfo(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { public CompletableFuture<ApiResponse<Void>> testEnumParametersWithHttpInfo(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testEnumParametersRequestBuilder(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString); HttpRequest.Builder localVarRequestBuilder = testEnumParametersRequestBuilder(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1432,7 +1432,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testEnumParametersRequestBuilder(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString) throws ApiException { private HttpRequest.Builder testEnumParametersRequestBuilder(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
@ -1506,11 +1506,17 @@ public class FakeApi {
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testGroupParameters(APItestGroupParametersRequest apiRequest) throws ApiException { public CompletableFuture<Void> testGroupParameters(APItestGroupParametersRequest apiRequest) throws ApiException {
@javax.annotation.Nonnull
Integer requiredStringGroup = apiRequest.requiredStringGroup(); Integer requiredStringGroup = apiRequest.requiredStringGroup();
@javax.annotation.Nonnull
Boolean requiredBooleanGroup = apiRequest.requiredBooleanGroup(); Boolean requiredBooleanGroup = apiRequest.requiredBooleanGroup();
@javax.annotation.Nonnull
Long requiredInt64Group = apiRequest.requiredInt64Group(); Long requiredInt64Group = apiRequest.requiredInt64Group();
@javax.annotation.Nullable
Integer stringGroup = apiRequest.stringGroup(); Integer stringGroup = apiRequest.stringGroup();
@javax.annotation.Nullable
Boolean booleanGroup = apiRequest.booleanGroup(); Boolean booleanGroup = apiRequest.booleanGroup();
@javax.annotation.Nullable
Long int64Group = apiRequest.int64Group(); Long int64Group = apiRequest.int64Group();
return testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); return testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
} }
@ -1544,7 +1550,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { public CompletableFuture<Void> testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testGroupParametersRequestBuilder(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); HttpRequest.Builder localVarRequestBuilder = testGroupParametersRequestBuilder(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1573,7 +1579,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testGroupParametersWithHttpInfo(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { public CompletableFuture<ApiResponse<Void>> testGroupParametersWithHttpInfo(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testGroupParametersRequestBuilder(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group); HttpRequest.Builder localVarRequestBuilder = testGroupParametersRequestBuilder(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1596,7 +1602,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testGroupParametersRequestBuilder(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws ApiException { private HttpRequest.Builder testGroupParametersRequestBuilder(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws ApiException {
// verify the required parameter 'requiredStringGroup' is set // verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null) { if (requiredStringGroup == null) {
throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters"); throw new ApiException(400, "Missing the required parameter 'requiredStringGroup' when calling testGroupParameters");
@ -1657,11 +1663,17 @@ public class FakeApi {
public static final class APItestGroupParametersRequest { public static final class APItestGroupParametersRequest {
@javax.annotation.Nonnull
private Integer requiredStringGroup; // Required String in group parameters (required) private Integer requiredStringGroup; // Required String in group parameters (required)
@javax.annotation.Nonnull
private Boolean requiredBooleanGroup; // Required Boolean in group parameters (required) private Boolean requiredBooleanGroup; // Required Boolean in group parameters (required)
@javax.annotation.Nonnull
private Long requiredInt64Group; // Required Integer in group parameters (required) private Long requiredInt64Group; // Required Integer in group parameters (required)
@javax.annotation.Nullable
private Integer stringGroup; // String in group parameters (optional) private Integer stringGroup; // String in group parameters (optional)
@javax.annotation.Nullable
private Boolean booleanGroup; // Boolean in group parameters (optional) private Boolean booleanGroup; // Boolean in group parameters (optional)
@javax.annotation.Nullable
private Long int64Group; // Integer in group parameters (optional) private Long int64Group; // Integer in group parameters (optional)
private APItestGroupParametersRequest(Builder builder) { private APItestGroupParametersRequest(Builder builder) {
@ -1672,21 +1684,27 @@ public class FakeApi {
this.booleanGroup = builder.booleanGroup; this.booleanGroup = builder.booleanGroup;
this.int64Group = builder.int64Group; this.int64Group = builder.int64Group;
} }
@javax.annotation.Nonnull
public Integer requiredStringGroup() { public Integer requiredStringGroup() {
return requiredStringGroup; return requiredStringGroup;
} }
@javax.annotation.Nonnull
public Boolean requiredBooleanGroup() { public Boolean requiredBooleanGroup() {
return requiredBooleanGroup; return requiredBooleanGroup;
} }
@javax.annotation.Nonnull
public Long requiredInt64Group() { public Long requiredInt64Group() {
return requiredInt64Group; return requiredInt64Group;
} }
@javax.annotation.Nullable
public Integer stringGroup() { public Integer stringGroup() {
return stringGroup; return stringGroup;
} }
@javax.annotation.Nullable
public Boolean booleanGroup() { public Boolean booleanGroup() {
return booleanGroup; return booleanGroup;
} }
@javax.annotation.Nullable
public Long int64Group() { public Long int64Group() {
return int64Group; return int64Group;
} }
@ -1702,27 +1720,27 @@ public class FakeApi {
private Boolean booleanGroup; private Boolean booleanGroup;
private Long int64Group; private Long int64Group;
public Builder requiredStringGroup(Integer requiredStringGroup) { public Builder requiredStringGroup(@javax.annotation.Nonnull Integer requiredStringGroup) {
this.requiredStringGroup = requiredStringGroup; this.requiredStringGroup = requiredStringGroup;
return this; return this;
} }
public Builder requiredBooleanGroup(Boolean requiredBooleanGroup) { public Builder requiredBooleanGroup(@javax.annotation.Nonnull Boolean requiredBooleanGroup) {
this.requiredBooleanGroup = requiredBooleanGroup; this.requiredBooleanGroup = requiredBooleanGroup;
return this; return this;
} }
public Builder requiredInt64Group(Long requiredInt64Group) { public Builder requiredInt64Group(@javax.annotation.Nonnull Long requiredInt64Group) {
this.requiredInt64Group = requiredInt64Group; this.requiredInt64Group = requiredInt64Group;
return this; return this;
} }
public Builder stringGroup(Integer stringGroup) { public Builder stringGroup(@javax.annotation.Nullable Integer stringGroup) {
this.stringGroup = stringGroup; this.stringGroup = stringGroup;
return this; return this;
} }
public Builder booleanGroup(Boolean booleanGroup) { public Builder booleanGroup(@javax.annotation.Nullable Boolean booleanGroup) {
this.booleanGroup = booleanGroup; this.booleanGroup = booleanGroup;
return this; return this;
} }
public Builder int64Group(Long int64Group) { public Builder int64Group(@javax.annotation.Nullable Long int64Group) {
this.int64Group = int64Group; this.int64Group = int64Group;
return this; return this;
} }
@ -1739,7 +1757,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testInlineAdditionalProperties(Map<String, String> requestBody) throws ApiException { public CompletableFuture<Void> testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testInlineAdditionalPropertiesRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testInlineAdditionalPropertiesRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1763,7 +1781,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> requestBody) throws ApiException { public CompletableFuture<ApiResponse<Void>> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testInlineAdditionalPropertiesRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testInlineAdditionalPropertiesRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1786,7 +1804,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testInlineAdditionalPropertiesRequestBuilder(Map<String, String> requestBody) throws ApiException { private HttpRequest.Builder testInlineAdditionalPropertiesRequestBuilder(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testInlineAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testInlineAdditionalProperties");
@ -1823,7 +1841,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { public CompletableFuture<Void> testInlineFreeformAdditionalProperties(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testInlineFreeformAdditionalPropertiesRequestBuilder(testInlineFreeformAdditionalPropertiesRequest); HttpRequest.Builder localVarRequestBuilder = testInlineFreeformAdditionalPropertiesRequestBuilder(testInlineFreeformAdditionalPropertiesRequest);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1847,7 +1865,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testInlineFreeformAdditionalPropertiesWithHttpInfo(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { public CompletableFuture<ApiResponse<Void>> testInlineFreeformAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testInlineFreeformAdditionalPropertiesRequestBuilder(testInlineFreeformAdditionalPropertiesRequest); HttpRequest.Builder localVarRequestBuilder = testInlineFreeformAdditionalPropertiesRequestBuilder(testInlineFreeformAdditionalPropertiesRequest);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1870,7 +1888,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testInlineFreeformAdditionalPropertiesRequestBuilder(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException { private HttpRequest.Builder testInlineFreeformAdditionalPropertiesRequestBuilder(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws ApiException {
// verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set // verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set
if (testInlineFreeformAdditionalPropertiesRequest == null) { if (testInlineFreeformAdditionalPropertiesRequest == null) {
throw new ApiException(400, "Missing the required parameter 'testInlineFreeformAdditionalPropertiesRequest' when calling testInlineFreeformAdditionalProperties"); throw new ApiException(400, "Missing the required parameter 'testInlineFreeformAdditionalPropertiesRequest' when calling testInlineFreeformAdditionalProperties");
@ -1908,7 +1926,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testJsonFormData(String param, String param2) throws ApiException { public CompletableFuture<Void> testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testJsonFormDataRequestBuilder(param, param2); HttpRequest.Builder localVarRequestBuilder = testJsonFormDataRequestBuilder(param, param2);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1933,7 +1951,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testJsonFormDataWithHttpInfo(String param, String param2) throws ApiException { public CompletableFuture<ApiResponse<Void>> testJsonFormDataWithHttpInfo(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testJsonFormDataRequestBuilder(param, param2); HttpRequest.Builder localVarRequestBuilder = testJsonFormDataRequestBuilder(param, param2);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -1956,7 +1974,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testJsonFormDataRequestBuilder(String param, String param2) throws ApiException { private HttpRequest.Builder testJsonFormDataRequestBuilder(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws ApiException {
// verify the required parameter 'param' is set // verify the required parameter 'param' is set
if (param == null) { if (param == null) {
throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData"); throw new ApiException(400, "Missing the required parameter 'param' when calling testJsonFormData");
@ -2012,7 +2030,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public CompletableFuture<Void> testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testQueryParameterCollectionFormatRequestBuilder(pipe, ioutil, http, url, context); HttpRequest.Builder localVarRequestBuilder = testQueryParameterCollectionFormatRequestBuilder(pipe, ioutil, http, url, context);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -2040,7 +2058,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testQueryParameterCollectionFormatWithHttpInfo(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { public CompletableFuture<ApiResponse<Void>> testQueryParameterCollectionFormatWithHttpInfo(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testQueryParameterCollectionFormatRequestBuilder(pipe, ioutil, http, url, context); HttpRequest.Builder localVarRequestBuilder = testQueryParameterCollectionFormatRequestBuilder(pipe, ioutil, http, url, context);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -2063,7 +2081,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testQueryParameterCollectionFormatRequestBuilder(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context) throws ApiException { private HttpRequest.Builder testQueryParameterCollectionFormatRequestBuilder(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context) throws ApiException {
// verify the required parameter 'pipe' is set // verify the required parameter 'pipe' is set
if (pipe == null) { if (pipe == null) {
throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat"); throw new ApiException(400, "Missing the required parameter 'pipe' when calling testQueryParameterCollectionFormat");
@ -2133,7 +2151,7 @@ public class FakeApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> testStringMapReference(Map<String, String> requestBody) throws ApiException { public CompletableFuture<Void> testStringMapReference(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testStringMapReferenceRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testStringMapReferenceRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -2157,7 +2175,7 @@ public class FakeApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> testStringMapReferenceWithHttpInfo(Map<String, String> requestBody) throws ApiException { public CompletableFuture<ApiResponse<Void>> testStringMapReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testStringMapReferenceRequestBuilder(requestBody); HttpRequest.Builder localVarRequestBuilder = testStringMapReferenceRequestBuilder(requestBody);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -2180,7 +2198,7 @@ public class FakeApi {
} }
} }
private HttpRequest.Builder testStringMapReferenceRequestBuilder(Map<String, String> requestBody) throws ApiException { private HttpRequest.Builder testStringMapReferenceRequestBuilder(@javax.annotation.Nonnull Map<String, String> requestBody) throws ApiException {
// verify the required parameter 'requestBody' is set // verify the required parameter 'requestBody' is set
if (requestBody == null) { if (requestBody == null) {
throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testStringMapReference"); throw new ApiException(400, "Missing the required parameter 'requestBody' when calling testStringMapReference");

View File

@ -96,7 +96,7 @@ public class FakeClassnameTags123Api {
* @return CompletableFuture&lt;Client&gt; * @return CompletableFuture&lt;Client&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Client> testClassname(Client client) throws ApiException { public CompletableFuture<Client> testClassname(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testClassnameRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = testClassnameRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -127,7 +127,7 @@ public class FakeClassnameTags123Api {
* @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Client&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Client>> testClassnameWithHttpInfo(Client client) throws ApiException { public CompletableFuture<ApiResponse<Client>> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client client) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = testClassnameRequestBuilder(client); HttpRequest.Builder localVarRequestBuilder = testClassnameRequestBuilder(client);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -158,7 +158,7 @@ public class FakeClassnameTags123Api {
} }
} }
private HttpRequest.Builder testClassnameRequestBuilder(Client client) throws ApiException { private HttpRequest.Builder testClassnameRequestBuilder(@javax.annotation.Nonnull Client client) throws ApiException {
// verify the required parameter 'client' is set // verify the required parameter 'client' is set
if (client == null) { if (client == null) {
throw new ApiException(400, "Missing the required parameter 'client' when calling testClassname"); throw new ApiException(400, "Missing the required parameter 'client' when calling testClassname");

View File

@ -98,7 +98,7 @@ public class PetApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> addPet(Pet pet) throws ApiException { public CompletableFuture<Void> addPet(@javax.annotation.Nonnull Pet pet) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -122,7 +122,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> addPetWithHttpInfo(Pet pet) throws ApiException { public CompletableFuture<ApiResponse<Void>> addPetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -145,7 +145,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder addPetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder addPetRequestBuilder(@javax.annotation.Nonnull Pet pet) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet");
@ -183,7 +183,7 @@ public class PetApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> deletePet(Long petId, String apiKey) throws ApiException { public CompletableFuture<Void> deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey); HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -208,7 +208,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public CompletableFuture<ApiResponse<Void>> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey); HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -231,7 +231,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder deletePetRequestBuilder(Long petId, String apiKey) throws ApiException { private HttpRequest.Builder deletePetRequestBuilder(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet"); throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet");
@ -266,7 +266,7 @@ public class PetApi {
* @return CompletableFuture&lt;List&lt;Pet&gt;&gt; * @return CompletableFuture&lt;List&lt;Pet&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<List<Pet>> findPetsByStatus(List<String> status) throws ApiException { public CompletableFuture<List<Pet>> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status); HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -297,7 +297,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;List&lt;Pet&gt;&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;List&lt;Pet&gt;&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<List<Pet>>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public CompletableFuture<ApiResponse<List<Pet>>> findPetsByStatusWithHttpInfo(@javax.annotation.Nonnull List<String> status) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status); HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -328,7 +328,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder findPetsByStatusRequestBuilder(List<String> status) throws ApiException { private HttpRequest.Builder findPetsByStatusRequestBuilder(@javax.annotation.Nonnull List<String> status) throws ApiException {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) { if (status == null) {
throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus");
@ -376,7 +376,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public CompletableFuture<List<Pet>> findPetsByTags(List<String> tags) throws ApiException { public CompletableFuture<List<Pet>> findPetsByTags(@javax.annotation.Nonnull List<String> tags) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags); HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -409,7 +409,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public CompletableFuture<ApiResponse<List<Pet>>> findPetsByTagsWithHttpInfo(List<String> tags) throws ApiException { public CompletableFuture<ApiResponse<List<Pet>>> findPetsByTagsWithHttpInfo(@javax.annotation.Nonnull List<String> tags) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags); HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -440,7 +440,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder findPetsByTagsRequestBuilder(List<String> tags) throws ApiException { private HttpRequest.Builder findPetsByTagsRequestBuilder(@javax.annotation.Nonnull List<String> tags) throws ApiException {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) { if (tags == null) {
throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags"); throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags");
@ -486,7 +486,7 @@ public class PetApi {
* @return CompletableFuture&lt;Pet&gt; * @return CompletableFuture&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Pet> getPetById(Long petId) throws ApiException { public CompletableFuture<Pet> getPetById(@javax.annotation.Nonnull Long petId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId); HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -517,7 +517,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;Pet&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Pet&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Pet>> getPetByIdWithHttpInfo(Long petId) throws ApiException { public CompletableFuture<ApiResponse<Pet>> getPetByIdWithHttpInfo(@javax.annotation.Nonnull Long petId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId); HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -548,7 +548,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder getPetByIdRequestBuilder(Long petId) throws ApiException { private HttpRequest.Builder getPetByIdRequestBuilder(@javax.annotation.Nonnull Long petId) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById"); throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById");
@ -580,7 +580,7 @@ public class PetApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> updatePet(Pet pet) throws ApiException { public CompletableFuture<Void> updatePet(@javax.annotation.Nonnull Pet pet) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -604,7 +604,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> updatePetWithHttpInfo(Pet pet) throws ApiException { public CompletableFuture<ApiResponse<Void>> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -627,7 +627,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder updatePetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder updatePetRequestBuilder(@javax.annotation.Nonnull Pet pet) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet");
@ -666,7 +666,7 @@ public class PetApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> updatePetWithForm(Long petId, String name, String status) throws ApiException { public CompletableFuture<Void> updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status); HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -692,7 +692,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public CompletableFuture<ApiResponse<Void>> updatePetWithFormWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status); HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -715,7 +715,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder updatePetWithFormRequestBuilder(Long petId, String name, String status) throws ApiException { private HttpRequest.Builder updatePetWithFormRequestBuilder(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm"); throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm");
@ -766,7 +766,7 @@ public class PetApi {
* @return CompletableFuture&lt;ModelApiResponse&gt; * @return CompletableFuture&lt;ModelApiResponse&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ModelApiResponse> uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public CompletableFuture<ModelApiResponse> uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file); HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -799,7 +799,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;ModelApiResponse&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;ModelApiResponse&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<ModelApiResponse>> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public CompletableFuture<ApiResponse<ModelApiResponse>> uploadFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file); HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -830,7 +830,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder uploadFileRequestBuilder(Long petId, String additionalMetadata, File _file) throws ApiException { private HttpRequest.Builder uploadFileRequestBuilder(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile");
@ -898,7 +898,7 @@ public class PetApi {
* @return CompletableFuture&lt;ModelApiResponse&gt; * @return CompletableFuture&lt;ModelApiResponse&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ModelApiResponse> uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public CompletableFuture<ModelApiResponse> uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = uploadFileWithRequiredFileRequestBuilder(petId, requiredFile, additionalMetadata); HttpRequest.Builder localVarRequestBuilder = uploadFileWithRequiredFileRequestBuilder(petId, requiredFile, additionalMetadata);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -931,7 +931,7 @@ public class PetApi {
* @return CompletableFuture&lt;ApiResponse&lt;ModelApiResponse&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;ModelApiResponse&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<ModelApiResponse>> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata) throws ApiException { public CompletableFuture<ApiResponse<ModelApiResponse>> uploadFileWithRequiredFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = uploadFileWithRequiredFileRequestBuilder(petId, requiredFile, additionalMetadata); HttpRequest.Builder localVarRequestBuilder = uploadFileWithRequiredFileRequestBuilder(petId, requiredFile, additionalMetadata);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -962,7 +962,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder uploadFileWithRequiredFileRequestBuilder(Long petId, File requiredFile, String additionalMetadata) throws ApiException { private HttpRequest.Builder uploadFileWithRequiredFileRequestBuilder(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFileWithRequiredFile");

View File

@ -96,7 +96,7 @@ public class StoreApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> deleteOrder(String orderId) throws ApiException { public CompletableFuture<Void> deleteOrder(@javax.annotation.Nonnull String orderId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -120,7 +120,7 @@ public class StoreApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> deleteOrderWithHttpInfo(String orderId) throws ApiException { public CompletableFuture<ApiResponse<Void>> deleteOrderWithHttpInfo(@javax.annotation.Nonnull String orderId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -143,7 +143,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder deleteOrderRequestBuilder(String orderId) throws ApiException { private HttpRequest.Builder deleteOrderRequestBuilder(@javax.annotation.Nonnull String orderId) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder");
@ -262,7 +262,7 @@ public class StoreApi {
* @return CompletableFuture&lt;Order&gt; * @return CompletableFuture&lt;Order&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Order> getOrderById(Long orderId) throws ApiException { public CompletableFuture<Order> getOrderById(@javax.annotation.Nonnull Long orderId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -293,7 +293,7 @@ public class StoreApi {
* @return CompletableFuture&lt;ApiResponse&lt;Order&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Order&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Order>> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public CompletableFuture<ApiResponse<Order>> getOrderByIdWithHttpInfo(@javax.annotation.Nonnull Long orderId) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -324,7 +324,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder getOrderByIdRequestBuilder(Long orderId) throws ApiException { private HttpRequest.Builder getOrderByIdRequestBuilder(@javax.annotation.Nonnull Long orderId) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById");
@ -356,7 +356,7 @@ public class StoreApi {
* @return CompletableFuture&lt;Order&gt; * @return CompletableFuture&lt;Order&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Order> placeOrder(Order order) throws ApiException { public CompletableFuture<Order> placeOrder(@javax.annotation.Nonnull Order order) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order); HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -387,7 +387,7 @@ public class StoreApi {
* @return CompletableFuture&lt;ApiResponse&lt;Order&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Order&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Order>> placeOrderWithHttpInfo(Order order) throws ApiException { public CompletableFuture<ApiResponse<Order>> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order order) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order); HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -418,7 +418,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder placeOrderRequestBuilder(Order order) throws ApiException { private HttpRequest.Builder placeOrderRequestBuilder(@javax.annotation.Nonnull Order order) throws ApiException {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) { if (order == null) {
throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder"); throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder");

View File

@ -97,7 +97,7 @@ public class UserApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> createUser(User user) throws ApiException { public CompletableFuture<Void> createUser(@javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUserRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUserRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -121,7 +121,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> createUserWithHttpInfo(User user) throws ApiException { public CompletableFuture<ApiResponse<Void>> createUserWithHttpInfo(@javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUserRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUserRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -144,7 +144,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder createUserRequestBuilder(User user) throws ApiException { private HttpRequest.Builder createUserRequestBuilder(@javax.annotation.Nonnull User user) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUser"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUser");
@ -181,7 +181,7 @@ public class UserApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> createUsersWithArrayInput(List<User> user) throws ApiException { public CompletableFuture<Void> createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUsersWithArrayInputRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUsersWithArrayInputRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -205,7 +205,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> createUsersWithArrayInputWithHttpInfo(List<User> user) throws ApiException { public CompletableFuture<ApiResponse<Void>> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUsersWithArrayInputRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUsersWithArrayInputRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -228,7 +228,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder createUsersWithArrayInputRequestBuilder(List<User> user) throws ApiException { private HttpRequest.Builder createUsersWithArrayInputRequestBuilder(@javax.annotation.Nonnull List<User> user) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithArrayInput"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithArrayInput");
@ -265,7 +265,7 @@ public class UserApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> createUsersWithListInput(List<User> user) throws ApiException { public CompletableFuture<Void> createUsersWithListInput(@javax.annotation.Nonnull List<User> user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUsersWithListInputRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUsersWithListInputRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -289,7 +289,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> createUsersWithListInputWithHttpInfo(List<User> user) throws ApiException { public CompletableFuture<ApiResponse<Void>> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = createUsersWithListInputRequestBuilder(user); HttpRequest.Builder localVarRequestBuilder = createUsersWithListInputRequestBuilder(user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -312,7 +312,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder createUsersWithListInputRequestBuilder(List<User> user) throws ApiException { private HttpRequest.Builder createUsersWithListInputRequestBuilder(@javax.annotation.Nonnull List<User> user) throws ApiException {
// verify the required parameter 'user' is set // verify the required parameter 'user' is set
if (user == null) { if (user == null) {
throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithListInput"); throw new ApiException(400, "Missing the required parameter 'user' when calling createUsersWithListInput");
@ -349,7 +349,7 @@ public class UserApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> deleteUser(String username) throws ApiException { public CompletableFuture<Void> deleteUser(@javax.annotation.Nonnull String username) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deleteUserRequestBuilder(username); HttpRequest.Builder localVarRequestBuilder = deleteUserRequestBuilder(username);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -373,7 +373,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> deleteUserWithHttpInfo(String username) throws ApiException { public CompletableFuture<ApiResponse<Void>> deleteUserWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = deleteUserRequestBuilder(username); HttpRequest.Builder localVarRequestBuilder = deleteUserRequestBuilder(username);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -396,7 +396,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder deleteUserRequestBuilder(String username) throws ApiException { private HttpRequest.Builder deleteUserRequestBuilder(@javax.annotation.Nonnull String username) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling deleteUser");
@ -428,7 +428,7 @@ public class UserApi {
* @return CompletableFuture&lt;User&gt; * @return CompletableFuture&lt;User&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<User> getUserByName(String username) throws ApiException { public CompletableFuture<User> getUserByName(@javax.annotation.Nonnull String username) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getUserByNameRequestBuilder(username); HttpRequest.Builder localVarRequestBuilder = getUserByNameRequestBuilder(username);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -459,7 +459,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;User&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;User&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<User>> getUserByNameWithHttpInfo(String username) throws ApiException { public CompletableFuture<ApiResponse<User>> getUserByNameWithHttpInfo(@javax.annotation.Nonnull String username) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = getUserByNameRequestBuilder(username); HttpRequest.Builder localVarRequestBuilder = getUserByNameRequestBuilder(username);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -490,7 +490,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder getUserByNameRequestBuilder(String username) throws ApiException { private HttpRequest.Builder getUserByNameRequestBuilder(@javax.annotation.Nonnull String username) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName"); throw new ApiException(400, "Missing the required parameter 'username' when calling getUserByName");
@ -523,7 +523,7 @@ public class UserApi {
* @return CompletableFuture&lt;String&gt; * @return CompletableFuture&lt;String&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<String> loginUser(String username, String password) throws ApiException { public CompletableFuture<String> loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = loginUserRequestBuilder(username, password); HttpRequest.Builder localVarRequestBuilder = loginUserRequestBuilder(username, password);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -555,7 +555,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;String&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;String&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<String>> loginUserWithHttpInfo(String username, String password) throws ApiException { public CompletableFuture<ApiResponse<String>> loginUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = loginUserRequestBuilder(username, password); HttpRequest.Builder localVarRequestBuilder = loginUserRequestBuilder(username, password);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -586,7 +586,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder loginUserRequestBuilder(String username, String password) throws ApiException { private HttpRequest.Builder loginUserRequestBuilder(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling loginUser");
@ -711,7 +711,7 @@ public class UserApi {
* @return CompletableFuture&lt;Void&gt; * @return CompletableFuture&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<Void> updateUser(String username, User user) throws ApiException { public CompletableFuture<Void> updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updateUserRequestBuilder(username, user); HttpRequest.Builder localVarRequestBuilder = updateUserRequestBuilder(username, user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -736,7 +736,7 @@ public class UserApi {
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt; * @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public CompletableFuture<ApiResponse<Void>> updateUserWithHttpInfo(String username, User user) throws ApiException { public CompletableFuture<ApiResponse<Void>> updateUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
try { try {
HttpRequest.Builder localVarRequestBuilder = updateUserRequestBuilder(username, user); HttpRequest.Builder localVarRequestBuilder = updateUserRequestBuilder(username, user);
return memberVarHttpClient.sendAsync( return memberVarHttpClient.sendAsync(
@ -759,7 +759,7 @@ public class UserApi {
} }
} }
private HttpRequest.Builder updateUserRequestBuilder(String username, User user) throws ApiException { private HttpRequest.Builder updateUserRequestBuilder(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws ApiException {
// verify the required parameter 'username' is set // verify the required parameter 'username' is set
if (username == null) { if (username == null) {
throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser"); throw new ApiException(400, "Missing the required parameter 'username' when calling updateUser");

View File

@ -97,7 +97,7 @@ public class PetApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet addPet(Pet pet) throws ApiException { public Pet addPet(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
ApiResponse<Pet> localVarResponse = addPetWithHttpInfo(pet); ApiResponse<Pet> localVarResponse = addPetWithHttpInfo(pet);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -109,7 +109,7 @@ public class PetApi {
* @return ApiResponse&lt;Pet&gt; * @return ApiResponse&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Pet> addPetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> addPetWithHttpInfo(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = addPetRequestBuilder(pet);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -149,7 +149,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder addPetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder addPetRequestBuilder(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling addPet");
@ -186,7 +186,7 @@ public class PetApi {
* @param apiKey (optional) * @param apiKey (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deletePet(Long petId, String apiKey) throws ApiException { public void deletePet(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws ApiException {
deletePetWithHttpInfo(petId, apiKey); deletePetWithHttpInfo(petId, apiKey);
} }
@ -198,7 +198,7 @@ public class PetApi {
* @return ApiResponse&lt;Void&gt; * @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Void> deletePetWithHttpInfo(Long petId, String apiKey) throws ApiException { public ApiResponse<Void> deletePetWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey); HttpRequest.Builder localVarRequestBuilder = deletePetRequestBuilder(petId, apiKey);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -232,7 +232,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder deletePetRequestBuilder(Long petId, String apiKey) throws ApiException { private HttpRequest.Builder deletePetRequestBuilder(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet"); throw new ApiException(400, "Missing the required parameter 'petId' when calling deletePet");
@ -267,7 +267,7 @@ public class PetApi {
* @return List&lt;Pet&gt; * @return List&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public List<Pet> findPetsByStatus(List<String> status) throws ApiException { public List<Pet> findPetsByStatus(@jakarta.annotation.Nonnull List<String> status) throws ApiException {
ApiResponse<List<Pet>> localVarResponse = findPetsByStatusWithHttpInfo(status); ApiResponse<List<Pet>> localVarResponse = findPetsByStatusWithHttpInfo(status);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -279,7 +279,7 @@ public class PetApi {
* @return ApiResponse&lt;List&lt;Pet&gt;&gt; * @return ApiResponse&lt;List&lt;Pet&gt;&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws ApiException { public ApiResponse<List<Pet>> findPetsByStatusWithHttpInfo(@jakarta.annotation.Nonnull List<String> status) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status); HttpRequest.Builder localVarRequestBuilder = findPetsByStatusRequestBuilder(status);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -319,7 +319,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder findPetsByStatusRequestBuilder(List<String> status) throws ApiException { private HttpRequest.Builder findPetsByStatusRequestBuilder(@jakarta.annotation.Nonnull List<String> status) throws ApiException {
// verify the required parameter 'status' is set // verify the required parameter 'status' is set
if (status == null) { if (status == null) {
throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus"); throw new ApiException(400, "Missing the required parameter 'status' when calling findPetsByStatus");
@ -367,7 +367,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public List<Pet> findPetsByTags(List<String> tags) throws ApiException { public List<Pet> findPetsByTags(@jakarta.annotation.Nonnull List<String> tags) throws ApiException {
ApiResponse<List<Pet>> localVarResponse = findPetsByTagsWithHttpInfo(tags); ApiResponse<List<Pet>> localVarResponse = findPetsByTagsWithHttpInfo(tags);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -381,7 +381,7 @@ public class PetApi {
* @deprecated * @deprecated
*/ */
@Deprecated @Deprecated
public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(List<String> tags) throws ApiException { public ApiResponse<List<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull List<String> tags) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags); HttpRequest.Builder localVarRequestBuilder = findPetsByTagsRequestBuilder(tags);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -421,7 +421,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder findPetsByTagsRequestBuilder(List<String> tags) throws ApiException { private HttpRequest.Builder findPetsByTagsRequestBuilder(@jakarta.annotation.Nonnull List<String> tags) throws ApiException {
// verify the required parameter 'tags' is set // verify the required parameter 'tags' is set
if (tags == null) { if (tags == null) {
throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags"); throw new ApiException(400, "Missing the required parameter 'tags' when calling findPetsByTags");
@ -467,7 +467,7 @@ public class PetApi {
* @return Pet * @return Pet
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Pet getPetById(Long petId) throws ApiException { public Pet getPetById(@jakarta.annotation.Nonnull Long petId) throws ApiException {
ApiResponse<Pet> localVarResponse = getPetByIdWithHttpInfo(petId); ApiResponse<Pet> localVarResponse = getPetByIdWithHttpInfo(petId);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -479,7 +479,7 @@ public class PetApi {
* @return ApiResponse&lt;Pet&gt; * @return ApiResponse&lt;Pet&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Pet> getPetByIdWithHttpInfo(Long petId) throws ApiException { public ApiResponse<Pet> getPetByIdWithHttpInfo(@jakarta.annotation.Nonnull Long petId) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId); HttpRequest.Builder localVarRequestBuilder = getPetByIdRequestBuilder(petId);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -519,7 +519,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder getPetByIdRequestBuilder(Long petId) throws ApiException { private HttpRequest.Builder getPetByIdRequestBuilder(@jakarta.annotation.Nonnull Long petId) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById"); throw new ApiException(400, "Missing the required parameter 'petId' when calling getPetById");
@ -553,7 +553,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public Pet updatePet(Pet pet) throws ApiException { public Pet updatePet(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
ApiResponse<Pet> localVarResponse = updatePetWithHttpInfo(pet); ApiResponse<Pet> localVarResponse = updatePetWithHttpInfo(pet);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -567,7 +567,7 @@ public class PetApi {
* API documentation for the updatePet operation * API documentation for the updatePet operation
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a> * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
*/ */
public ApiResponse<Pet> updatePetWithHttpInfo(Pet pet) throws ApiException { public ApiResponse<Pet> updatePetWithHttpInfo(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet); HttpRequest.Builder localVarRequestBuilder = updatePetRequestBuilder(pet);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -607,7 +607,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder updatePetRequestBuilder(Pet pet) throws ApiException { private HttpRequest.Builder updatePetRequestBuilder(@jakarta.annotation.Nonnull Pet pet) throws ApiException {
// verify the required parameter 'pet' is set // verify the required parameter 'pet' is set
if (pet == null) { if (pet == null) {
throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet"); throw new ApiException(400, "Missing the required parameter 'pet' when calling updatePet");
@ -645,7 +645,7 @@ public class PetApi {
* @param status Updated status of the pet (optional) * @param status Updated status of the pet (optional)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void updatePetWithForm(Long petId, String name, String status) throws ApiException { public void updatePetWithForm(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws ApiException {
updatePetWithFormWithHttpInfo(petId, name, status); updatePetWithFormWithHttpInfo(petId, name, status);
} }
@ -658,7 +658,7 @@ public class PetApi {
* @return ApiResponse&lt;Void&gt; * @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Void> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws ApiException { public ApiResponse<Void> updatePetWithFormWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status); HttpRequest.Builder localVarRequestBuilder = updatePetWithFormRequestBuilder(petId, name, status);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -692,7 +692,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder updatePetWithFormRequestBuilder(Long petId, String name, String status) throws ApiException { private HttpRequest.Builder updatePetWithFormRequestBuilder(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm"); throw new ApiException(400, "Missing the required parameter 'petId' when calling updatePetWithForm");
@ -743,7 +743,7 @@ public class PetApi {
* @return ModelApiResponse * @return ModelApiResponse
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File _file) throws ApiException { public ModelApiResponse uploadFile(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws ApiException {
ApiResponse<ModelApiResponse> localVarResponse = uploadFileWithHttpInfo(petId, additionalMetadata, _file); ApiResponse<ModelApiResponse> localVarResponse = uploadFileWithHttpInfo(petId, additionalMetadata, _file);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -757,7 +757,7 @@ public class PetApi {
* @return ApiResponse&lt;ModelApiResponse&gt; * @return ApiResponse&lt;ModelApiResponse&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws ApiException { public ApiResponse<ModelApiResponse> uploadFileWithHttpInfo(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file); HttpRequest.Builder localVarRequestBuilder = uploadFileRequestBuilder(petId, additionalMetadata, _file);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -797,7 +797,7 @@ public class PetApi {
} }
} }
private HttpRequest.Builder uploadFileRequestBuilder(Long petId, String additionalMetadata, File _file) throws ApiException { private HttpRequest.Builder uploadFileRequestBuilder(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws ApiException {
// verify the required parameter 'petId' is set // verify the required parameter 'petId' is set
if (petId == null) { if (petId == null) {
throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile"); throw new ApiException(400, "Missing the required parameter 'petId' when calling uploadFile");

View File

@ -94,7 +94,7 @@ public class StoreApi {
* @param orderId ID of the order that needs to be deleted (required) * @param orderId ID of the order that needs to be deleted (required)
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public void deleteOrder(String orderId) throws ApiException { public void deleteOrder(@jakarta.annotation.Nonnull String orderId) throws ApiException {
deleteOrderWithHttpInfo(orderId); deleteOrderWithHttpInfo(orderId);
} }
@ -105,7 +105,7 @@ public class StoreApi {
* @return ApiResponse&lt;Void&gt; * @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Void> deleteOrderWithHttpInfo(String orderId) throws ApiException { public ApiResponse<Void> deleteOrderWithHttpInfo(@jakarta.annotation.Nonnull String orderId) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = deleteOrderRequestBuilder(orderId);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -139,7 +139,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder deleteOrderRequestBuilder(String orderId) throws ApiException { private HttpRequest.Builder deleteOrderRequestBuilder(@jakarta.annotation.Nonnull String orderId) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling deleteOrder");
@ -248,7 +248,7 @@ public class StoreApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order getOrderById(Long orderId) throws ApiException { public Order getOrderById(@jakarta.annotation.Nonnull Long orderId) throws ApiException {
ApiResponse<Order> localVarResponse = getOrderByIdWithHttpInfo(orderId); ApiResponse<Order> localVarResponse = getOrderByIdWithHttpInfo(orderId);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -260,7 +260,7 @@ public class StoreApi {
* @return ApiResponse&lt;Order&gt; * @return ApiResponse&lt;Order&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Order> getOrderByIdWithHttpInfo(Long orderId) throws ApiException { public ApiResponse<Order> getOrderByIdWithHttpInfo(@jakarta.annotation.Nonnull Long orderId) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId); HttpRequest.Builder localVarRequestBuilder = getOrderByIdRequestBuilder(orderId);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -300,7 +300,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder getOrderByIdRequestBuilder(Long orderId) throws ApiException { private HttpRequest.Builder getOrderByIdRequestBuilder(@jakarta.annotation.Nonnull Long orderId) throws ApiException {
// verify the required parameter 'orderId' is set // verify the required parameter 'orderId' is set
if (orderId == null) { if (orderId == null) {
throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById"); throw new ApiException(400, "Missing the required parameter 'orderId' when calling getOrderById");
@ -332,7 +332,7 @@ public class StoreApi {
* @return Order * @return Order
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public Order placeOrder(Order order) throws ApiException { public Order placeOrder(@jakarta.annotation.Nonnull Order order) throws ApiException {
ApiResponse<Order> localVarResponse = placeOrderWithHttpInfo(order); ApiResponse<Order> localVarResponse = placeOrderWithHttpInfo(order);
return localVarResponse.getData(); return localVarResponse.getData();
} }
@ -344,7 +344,7 @@ public class StoreApi {
* @return ApiResponse&lt;Order&gt; * @return ApiResponse&lt;Order&gt;
* @throws ApiException if fails to make API call * @throws ApiException if fails to make API call
*/ */
public ApiResponse<Order> placeOrderWithHttpInfo(Order order) throws ApiException { public ApiResponse<Order> placeOrderWithHttpInfo(@jakarta.annotation.Nonnull Order order) throws ApiException {
HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order); HttpRequest.Builder localVarRequestBuilder = placeOrderRequestBuilder(order);
try { try {
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send( HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
@ -384,7 +384,7 @@ public class StoreApi {
} }
} }
private HttpRequest.Builder placeOrderRequestBuilder(Order order) throws ApiException { private HttpRequest.Builder placeOrderRequestBuilder(@jakarta.annotation.Nonnull Order order) throws ApiException {
// verify the required parameter 'order' is set // verify the required parameter 'order' is set
if (order == null) { if (order == null) {
throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder"); throw new ApiException(400, "Missing the required parameter 'order' when calling placeOrder");

Some files were not shown because too many files have changed in this diff Show More