mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 10:43:44 +00:00 
			
		
		
		
	Use Rx2 Completalbe for Void Retrofit2 responses
This commit is contained in:
		
							parent
							
								
									7cc738aa7c
								
							
						
					
					
						commit
						642c0566de
					
				@ -127,7 +127,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
            this.setUsePlayWS(Boolean.valueOf(additionalProperties.get(USE_PLAY_WS).toString()));
 | 
			
		||||
        }
 | 
			
		||||
        additionalProperties.put(USE_PLAY_WS, usePlayWS);
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
        if (additionalProperties.containsKey(PLAY_VERSION)) {
 | 
			
		||||
            this.setPlayVersion(additionalProperties.get(PLAY_VERSION).toString());
 | 
			
		||||
        }
 | 
			
		||||
@ -251,7 +251,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (usePlayWS) {
 | 
			
		||||
            // remove unsupported auth 
 | 
			
		||||
            // remove unsupported auth
 | 
			
		||||
            Iterator<SupportingFile> iter = supportingFiles.iterator();
 | 
			
		||||
            while (iter.hasNext()) {
 | 
			
		||||
                SupportingFile sf = iter.next();
 | 
			
		||||
@ -261,11 +261,11 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            apiTemplateFiles.remove("api.mustache");
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
            if (PLAY_24.equals(playVersion)) {
 | 
			
		||||
                additionalProperties.put(PLAY_24, true);
 | 
			
		||||
                apiTemplateFiles.put("play24/api.mustache", ".java");
 | 
			
		||||
                
 | 
			
		||||
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play24/ApiClient.mustache", invokerFolder, "ApiClient.java"));
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play24/Play24CallFactory.mustache", invokerFolder, "Play24CallFactory.java"));
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play24/Play24CallAdapterFactory.mustache", invokerFolder,
 | 
			
		||||
@ -273,7 +273,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
            } else {
 | 
			
		||||
                additionalProperties.put(PLAY_25, true);
 | 
			
		||||
                apiTemplateFiles.put("play25/api.mustache", ".java");
 | 
			
		||||
                
 | 
			
		||||
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play25/ApiClient.mustache", invokerFolder, "ApiClient.java"));
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play25/Play25CallFactory.mustache", invokerFolder, "Play25CallFactory.java"));
 | 
			
		||||
                supportingFiles.add(new SupportingFile("play25/Play25CallAdapterFactory.mustache", invokerFolder,
 | 
			
		||||
@ -284,7 +284,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
            supportingFiles.add(new SupportingFile("play-common/auth/ApiKeyAuth.mustache", authFolder, "ApiKeyAuth.java"));
 | 
			
		||||
            supportingFiles.add(new SupportingFile("auth/Authentication.mustache", authFolder, "Authentication.java"));
 | 
			
		||||
            supportingFiles.add(new SupportingFile("Pair.mustache", invokerFolder, "Pair.java"));
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
            additionalProperties.put("jackson", "true");
 | 
			
		||||
            additionalProperties.remove("gson");
 | 
			
		||||
        }
 | 
			
		||||
@ -323,9 +323,6 @@ public class JavaClientCodegen extends AbstractJavaCodegen
 | 
			
		||||
                            operation.prioritizedContentTypes = prioritizeContentTypes(operation.consumes);
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    if (operation.returnType == null) {
 | 
			
		||||
                        operation.returnType = "Void";
 | 
			
		||||
                    }
 | 
			
		||||
                    if (usesRetrofit2Library() && StringUtils.isNotEmpty(operation.path) && operation.path.startsWith("/")){
 | 
			
		||||
                        operation.path = operation.path.substring(1);
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
@ -26,9 +26,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
{{#returnType}}
 | 
			
		||||
   * @return {{returnType}}
 | 
			
		||||
{{/returnType}}
 | 
			
		||||
   * @return {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * @see <a href="{{url}}">{{summary}} Documentation</a>
 | 
			
		||||
@ -37,7 +35,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{#formParams}}{{#-first}}
 | 
			
		||||
  {{#isMultipart}}@retrofit.http.Multipart{{/isMultipart}}{{^isMultipart}}@retrofit.http.FormUrlEncoded{{/isMultipart}}{{/-first}}{{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}{{#hasMore}}, {{/hasMore}}{{^hasMore}}
 | 
			
		||||
  );{{/hasMore}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
@ -57,7 +55,7 @@ public interface {{classname}} {
 | 
			
		||||
  {{#isMultipart}}@retrofit.http.Multipart{{/isMultipart}}{{^isMultipart}}@retrofit.http.FormUrlEncoded{{/isMultipart}}{{/-first}}{{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  void {{operationId}}(
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}, {{/allParams}}Callback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> cb
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit/queryParams}}{{>libraries/retrofit/pathParams}}{{>libraries/retrofit/headerParams}}{{>libraries/retrofit/bodyParams}}{{>libraries/retrofit/formParams}}, {{/allParams}}Callback<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> cb
 | 
			
		||||
  );
 | 
			
		||||
  {{/operation}}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -8,6 +8,11 @@ import rx.Observable;
 | 
			
		||||
{{#useRxJava2}}
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
{{/useRxJava2}}
 | 
			
		||||
{{^returnType}}
 | 
			
		||||
{{#useRxJava2}}
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
{{/useRxJava2}}
 | 
			
		||||
{{/returnType}}
 | 
			
		||||
{{#doNotUseRx}}
 | 
			
		||||
import retrofit2.Call;
 | 
			
		||||
{{/doNotUseRx}}
 | 
			
		||||
@ -35,7 +40,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object{{/returnType}}>
 | 
			
		||||
   * @return {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{returnType}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}}
 | 
			
		||||
{{#externalDocs}}
 | 
			
		||||
   * {{description}}
 | 
			
		||||
   * @see <a href="{{url}}">{{summary}} Documentation</a>
 | 
			
		||||
@ -54,9 +59,9 @@ public interface {{classname}} {
 | 
			
		||||
  })
 | 
			
		||||
  {{/-first}}
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}  
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  {{^doNotUseRx}}Observable{{/doNotUseRx}}{{#doNotUseRx}}Call{{/doNotUseRx}}<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}{{/isResponseFile}}> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  {{^doNotUseRx}}{{#useRxJava}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/useRxJava}}{{#useRxJava2}}{{#returnType}}Observable<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}Completable{{/returnType}}{{/useRxJava2}}{{/doNotUseRx}}{{#doNotUseRx}}Call<{{#isResponseFile}}ResponseBody{{/isResponseFile}}{{^isResponseFile}}{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}{{/isResponseFile}}>{{/doNotUseRx}} {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{#hasMore}}, {{/hasMore}}{{^hasMore}}
 | 
			
		||||
  );{{/hasMore}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object{{/returnType}}>
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   */
 | 
			
		||||
  {{#formParams}}
 | 
			
		||||
  {{#-first}}
 | 
			
		||||
@ -46,9 +46,9 @@ public interface {{classname}} {
 | 
			
		||||
  })
 | 
			
		||||
  {{/-first}}
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}  
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  F.Promise<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  F.Promise<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{#hasMore}}, {{/hasMore}}{{^hasMore}}
 | 
			
		||||
  );{{/hasMore}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,7 @@ public interface {{classname}} {
 | 
			
		||||
{{#allParams}}
 | 
			
		||||
   * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
 | 
			
		||||
{{/allParams}}
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object{{/returnType}}>
 | 
			
		||||
   * @return Call<{{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
 | 
			
		||||
   */
 | 
			
		||||
  {{#formParams}}
 | 
			
		||||
  {{#-first}}
 | 
			
		||||
@ -46,9 +46,9 @@ public interface {{classname}} {
 | 
			
		||||
  })
 | 
			
		||||
  {{/-first}}
 | 
			
		||||
  {{/prioritizedContentTypes}}
 | 
			
		||||
  {{/formParams}}  
 | 
			
		||||
  {{/formParams}}
 | 
			
		||||
  @{{httpMethod}}("{{{path}}}")
 | 
			
		||||
  CompletionStage<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
  CompletionStage<Response<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>> {{operationId}}({{^allParams}});{{/allParams}}
 | 
			
		||||
    {{#allParams}}{{>libraries/retrofit2/queryParams}}{{>libraries/retrofit2/pathParams}}{{>libraries/retrofit2/headerParams}}{{>libraries/retrofit2/bodyParams}}{{>libraries/retrofit2/formParams}}{{#hasMore}}, {{/hasMore}}{{^hasMore}}
 | 
			
		||||
  );{{/hasMore}}{{/allParams}}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -242,7 +242,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testEndpointParameters"></a>
 | 
			
		||||
# **testEndpointParameters**
 | 
			
		||||
> Void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
 | 
			
		||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
 | 
			
		||||
 | 
			
		||||
@ -280,8 +280,7 @@ OffsetDateTime dateTime = new OffsetDateTime(); // OffsetDateTime | None
 | 
			
		||||
String password = "password_example"; // String | None
 | 
			
		||||
String paramCallback = "paramCallback_example"; // String | None
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEndpointParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -309,7 +308,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -322,7 +321,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="testEnumParameters"></a>
 | 
			
		||||
# **testEnumParameters**
 | 
			
		||||
> Void testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
> testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
 | 
			
		||||
To test enum parameters
 | 
			
		||||
 | 
			
		||||
@ -345,8 +344,7 @@ String enumQueryString = "-efg"; // String | Query parameter enum test (string)
 | 
			
		||||
Integer enumQueryInteger = 56; // Integer | Query parameter enum test (double)
 | 
			
		||||
Double enumQueryDouble = 3.4D; // Double | Query parameter enum test (double)
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEnumParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -368,7 +366,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -381,7 +379,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testInlineAdditionalProperties"></a>
 | 
			
		||||
# **testInlineAdditionalProperties**
 | 
			
		||||
> Void testInlineAdditionalProperties(param)
 | 
			
		||||
> testInlineAdditionalProperties(param)
 | 
			
		||||
 | 
			
		||||
test inline additionalProperties
 | 
			
		||||
 | 
			
		||||
@ -397,8 +395,7 @@ test inline additionalProperties
 | 
			
		||||
FakeApi apiInstance = new FakeApi();
 | 
			
		||||
Object param = null; // Object | request body
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testInlineAdditionalProperties");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -413,7 +410,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -426,7 +423,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testJsonFormData"></a>
 | 
			
		||||
# **testJsonFormData**
 | 
			
		||||
> Void testJsonFormData(param, param2)
 | 
			
		||||
> testJsonFormData(param, param2)
 | 
			
		||||
 | 
			
		||||
test json serialization of form data
 | 
			
		||||
 | 
			
		||||
@ -443,8 +440,7 @@ FakeApi apiInstance = new FakeApi();
 | 
			
		||||
String param = "param_example"; // String | field1
 | 
			
		||||
String param2 = "param2_example"; // String | field2
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testJsonFormData");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -460,7 +456,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="addPet"></a>
 | 
			
		||||
# **addPet**
 | 
			
		||||
> Void addPet(body)
 | 
			
		||||
> addPet(body)
 | 
			
		||||
 | 
			
		||||
Add a new pet to the store
 | 
			
		||||
 | 
			
		||||
@ -40,8 +40,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.addPet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.addPet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#addPet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -56,7 +55,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -69,7 +68,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="deletePet"></a>
 | 
			
		||||
# **deletePet**
 | 
			
		||||
> Void deletePet(petId, apiKey)
 | 
			
		||||
> deletePet(petId, apiKey)
 | 
			
		||||
 | 
			
		||||
Deletes a pet
 | 
			
		||||
 | 
			
		||||
@ -94,8 +93,7 @@ PetApi apiInstance = new PetApi();
 | 
			
		||||
Long petId = 789L; // Long | Pet id to delete
 | 
			
		||||
String apiKey = "apiKey_example"; // String | 
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#deletePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -111,7 +109,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -285,7 +283,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePet"></a>
 | 
			
		||||
# **updatePet**
 | 
			
		||||
> Void updatePet(body)
 | 
			
		||||
> updatePet(body)
 | 
			
		||||
 | 
			
		||||
Update an existing pet
 | 
			
		||||
 | 
			
		||||
@ -309,8 +307,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -325,7 +322,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -338,7 +335,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePetWithForm"></a>
 | 
			
		||||
# **updatePetWithForm**
 | 
			
		||||
> Void updatePetWithForm(petId, name, status)
 | 
			
		||||
> updatePetWithForm(petId, name, status)
 | 
			
		||||
 | 
			
		||||
Updates a pet in the store with form data
 | 
			
		||||
 | 
			
		||||
@ -364,8 +361,7 @@ Long petId = 789L; // Long | ID of pet that needs to be updated
 | 
			
		||||
String name = "name_example"; // String | Updated name of the pet
 | 
			
		||||
String status = "status_example"; // String | Updated status of the pet
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePetWithForm");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -382,7 +378,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="deleteOrder"></a>
 | 
			
		||||
# **deleteOrder**
 | 
			
		||||
> Void deleteOrder(orderId)
 | 
			
		||||
> deleteOrder(orderId)
 | 
			
		||||
 | 
			
		||||
Delete purchase order by ID
 | 
			
		||||
 | 
			
		||||
@ -28,8 +28,7 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or
 | 
			
		||||
StoreApi apiInstance = new StoreApi();
 | 
			
		||||
String orderId = "orderId_example"; // String | ID of the order that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteOrder(orderId);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteOrder(orderId);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling StoreApi#deleteOrder");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -44,7 +43,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="createUser"></a>
 | 
			
		||||
# **createUser**
 | 
			
		||||
> Void createUser(body)
 | 
			
		||||
> createUser(body)
 | 
			
		||||
 | 
			
		||||
Create user
 | 
			
		||||
 | 
			
		||||
@ -32,8 +32,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
User body = new User(); // User | Created user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUser(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUser(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -48,7 +47,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -61,7 +60,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithArrayInput"></a>
 | 
			
		||||
# **createUsersWithArrayInput**
 | 
			
		||||
> Void createUsersWithArrayInput(body)
 | 
			
		||||
> createUsersWithArrayInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -77,8 +76,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithArrayInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -93,7 +91,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -106,7 +104,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithListInput"></a>
 | 
			
		||||
# **createUsersWithListInput**
 | 
			
		||||
> Void createUsersWithListInput(body)
 | 
			
		||||
> createUsersWithListInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -122,8 +120,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithListInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithListInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithListInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -138,7 +135,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -151,7 +148,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="deleteUser"></a>
 | 
			
		||||
# **deleteUser**
 | 
			
		||||
> Void deleteUser(username)
 | 
			
		||||
> deleteUser(username)
 | 
			
		||||
 | 
			
		||||
Delete user
 | 
			
		||||
 | 
			
		||||
@ -167,8 +164,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | The name that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteUser(username);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteUser(username);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#deleteUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -183,7 +179,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -288,7 +284,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="logoutUser"></a>
 | 
			
		||||
# **logoutUser**
 | 
			
		||||
> Void logoutUser()
 | 
			
		||||
> logoutUser()
 | 
			
		||||
 | 
			
		||||
Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
@ -303,8 +299,7 @@ Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.logoutUser();
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.logoutUser();
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#logoutUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -316,7 +311,7 @@ This endpoint does not need any parameter.
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -329,7 +324,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="updateUser"></a>
 | 
			
		||||
# **updateUser**
 | 
			
		||||
> Void updateUser(username, body)
 | 
			
		||||
> updateUser(username, body)
 | 
			
		||||
 | 
			
		||||
Updated user
 | 
			
		||||
 | 
			
		||||
@ -346,8 +341,7 @@ UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | name that need to be deleted
 | 
			
		||||
User body = new User(); // User | Updated user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updateUser(username, body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updateUser(username, body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#updateUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -363,7 +357,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -242,7 +242,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testEndpointParameters"></a>
 | 
			
		||||
# **testEndpointParameters**
 | 
			
		||||
> Void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
 | 
			
		||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
 | 
			
		||||
 | 
			
		||||
@ -280,8 +280,7 @@ OffsetDateTime dateTime = new OffsetDateTime(); // OffsetDateTime | None
 | 
			
		||||
String password = "password_example"; // String | None
 | 
			
		||||
String paramCallback = "paramCallback_example"; // String | None
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEndpointParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -309,7 +308,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -322,7 +321,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="testEnumParameters"></a>
 | 
			
		||||
# **testEnumParameters**
 | 
			
		||||
> Void testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
> testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
 | 
			
		||||
To test enum parameters
 | 
			
		||||
 | 
			
		||||
@ -345,8 +344,7 @@ String enumQueryString = "-efg"; // String | Query parameter enum test (string)
 | 
			
		||||
Integer enumQueryInteger = 56; // Integer | Query parameter enum test (double)
 | 
			
		||||
Double enumQueryDouble = 3.4D; // Double | Query parameter enum test (double)
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEnumParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -368,7 +366,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -381,7 +379,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testInlineAdditionalProperties"></a>
 | 
			
		||||
# **testInlineAdditionalProperties**
 | 
			
		||||
> Void testInlineAdditionalProperties(param)
 | 
			
		||||
> testInlineAdditionalProperties(param)
 | 
			
		||||
 | 
			
		||||
test inline additionalProperties
 | 
			
		||||
 | 
			
		||||
@ -397,8 +395,7 @@ test inline additionalProperties
 | 
			
		||||
FakeApi apiInstance = new FakeApi();
 | 
			
		||||
Object param = null; // Object | request body
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testInlineAdditionalProperties");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -413,7 +410,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -426,7 +423,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testJsonFormData"></a>
 | 
			
		||||
# **testJsonFormData**
 | 
			
		||||
> Void testJsonFormData(param, param2)
 | 
			
		||||
> testJsonFormData(param, param2)
 | 
			
		||||
 | 
			
		||||
test json serialization of form data
 | 
			
		||||
 | 
			
		||||
@ -443,8 +440,7 @@ FakeApi apiInstance = new FakeApi();
 | 
			
		||||
String param = "param_example"; // String | field1
 | 
			
		||||
String param2 = "param2_example"; // String | field2
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testJsonFormData");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -460,7 +456,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="addPet"></a>
 | 
			
		||||
# **addPet**
 | 
			
		||||
> Void addPet(body)
 | 
			
		||||
> addPet(body)
 | 
			
		||||
 | 
			
		||||
Add a new pet to the store
 | 
			
		||||
 | 
			
		||||
@ -40,8 +40,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.addPet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.addPet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#addPet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -56,7 +55,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -69,7 +68,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="deletePet"></a>
 | 
			
		||||
# **deletePet**
 | 
			
		||||
> Void deletePet(petId, apiKey)
 | 
			
		||||
> deletePet(petId, apiKey)
 | 
			
		||||
 | 
			
		||||
Deletes a pet
 | 
			
		||||
 | 
			
		||||
@ -94,8 +93,7 @@ PetApi apiInstance = new PetApi();
 | 
			
		||||
Long petId = 789L; // Long | Pet id to delete
 | 
			
		||||
String apiKey = "apiKey_example"; // String | 
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#deletePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -111,7 +109,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -285,7 +283,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePet"></a>
 | 
			
		||||
# **updatePet**
 | 
			
		||||
> Void updatePet(body)
 | 
			
		||||
> updatePet(body)
 | 
			
		||||
 | 
			
		||||
Update an existing pet
 | 
			
		||||
 | 
			
		||||
@ -309,8 +307,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -325,7 +322,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -338,7 +335,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePetWithForm"></a>
 | 
			
		||||
# **updatePetWithForm**
 | 
			
		||||
> Void updatePetWithForm(petId, name, status)
 | 
			
		||||
> updatePetWithForm(petId, name, status)
 | 
			
		||||
 | 
			
		||||
Updates a pet in the store with form data
 | 
			
		||||
 | 
			
		||||
@ -364,8 +361,7 @@ Long petId = 789L; // Long | ID of pet that needs to be updated
 | 
			
		||||
String name = "name_example"; // String | Updated name of the pet
 | 
			
		||||
String status = "status_example"; // String | Updated status of the pet
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePetWithForm");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -382,7 +378,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="deleteOrder"></a>
 | 
			
		||||
# **deleteOrder**
 | 
			
		||||
> Void deleteOrder(orderId)
 | 
			
		||||
> deleteOrder(orderId)
 | 
			
		||||
 | 
			
		||||
Delete purchase order by ID
 | 
			
		||||
 | 
			
		||||
@ -28,8 +28,7 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or
 | 
			
		||||
StoreApi apiInstance = new StoreApi();
 | 
			
		||||
String orderId = "orderId_example"; // String | ID of the order that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteOrder(orderId);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteOrder(orderId);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling StoreApi#deleteOrder");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -44,7 +43,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="createUser"></a>
 | 
			
		||||
# **createUser**
 | 
			
		||||
> Void createUser(body)
 | 
			
		||||
> createUser(body)
 | 
			
		||||
 | 
			
		||||
Create user
 | 
			
		||||
 | 
			
		||||
@ -32,8 +32,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
User body = new User(); // User | Created user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUser(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUser(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -48,7 +47,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -61,7 +60,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithArrayInput"></a>
 | 
			
		||||
# **createUsersWithArrayInput**
 | 
			
		||||
> Void createUsersWithArrayInput(body)
 | 
			
		||||
> createUsersWithArrayInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -77,8 +76,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithArrayInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -93,7 +91,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -106,7 +104,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithListInput"></a>
 | 
			
		||||
# **createUsersWithListInput**
 | 
			
		||||
> Void createUsersWithListInput(body)
 | 
			
		||||
> createUsersWithListInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -122,8 +120,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithListInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithListInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithListInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -138,7 +135,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -151,7 +148,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="deleteUser"></a>
 | 
			
		||||
# **deleteUser**
 | 
			
		||||
> Void deleteUser(username)
 | 
			
		||||
> deleteUser(username)
 | 
			
		||||
 | 
			
		||||
Delete user
 | 
			
		||||
 | 
			
		||||
@ -167,8 +164,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | The name that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteUser(username);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteUser(username);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#deleteUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -183,7 +179,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -288,7 +284,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="logoutUser"></a>
 | 
			
		||||
# **logoutUser**
 | 
			
		||||
> Void logoutUser()
 | 
			
		||||
> logoutUser()
 | 
			
		||||
 | 
			
		||||
Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
@ -303,8 +299,7 @@ Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.logoutUser();
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.logoutUser();
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#logoutUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -316,7 +311,7 @@ This endpoint does not need any parameter.
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -329,7 +324,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="updateUser"></a>
 | 
			
		||||
# **updateUser**
 | 
			
		||||
> Void updateUser(username, body)
 | 
			
		||||
> updateUser(username, body)
 | 
			
		||||
 | 
			
		||||
Updated user
 | 
			
		||||
 | 
			
		||||
@ -346,8 +341,7 @@ UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | name that need to be deleted
 | 
			
		||||
User body = new User(); // User | Updated user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updateUser(username, body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updateUser(username, body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#updateUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -363,7 +357,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -242,7 +242,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testEndpointParameters"></a>
 | 
			
		||||
# **testEndpointParameters**
 | 
			
		||||
> Void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
 | 
			
		||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
 | 
			
		||||
 | 
			
		||||
@ -280,8 +280,7 @@ OffsetDateTime dateTime = new OffsetDateTime(); // OffsetDateTime | None
 | 
			
		||||
String password = "password_example"; // String | None
 | 
			
		||||
String paramCallback = "paramCallback_example"; // String | None
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEndpointParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -309,7 +308,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -322,7 +321,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="testEnumParameters"></a>
 | 
			
		||||
# **testEnumParameters**
 | 
			
		||||
> Void testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
> testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
 | 
			
		||||
To test enum parameters
 | 
			
		||||
 | 
			
		||||
@ -345,8 +344,7 @@ String enumQueryString = "-efg"; // String | Query parameter enum test (string)
 | 
			
		||||
Integer enumQueryInteger = 56; // Integer | Query parameter enum test (double)
 | 
			
		||||
Double enumQueryDouble = 3.4D; // Double | Query parameter enum test (double)
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEnumParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -368,7 +366,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -381,7 +379,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testInlineAdditionalProperties"></a>
 | 
			
		||||
# **testInlineAdditionalProperties**
 | 
			
		||||
> Void testInlineAdditionalProperties(param)
 | 
			
		||||
> testInlineAdditionalProperties(param)
 | 
			
		||||
 | 
			
		||||
test inline additionalProperties
 | 
			
		||||
 | 
			
		||||
@ -397,8 +395,7 @@ test inline additionalProperties
 | 
			
		||||
FakeApi apiInstance = new FakeApi();
 | 
			
		||||
Object param = null; // Object | request body
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testInlineAdditionalProperties");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -413,7 +410,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -426,7 +423,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testJsonFormData"></a>
 | 
			
		||||
# **testJsonFormData**
 | 
			
		||||
> Void testJsonFormData(param, param2)
 | 
			
		||||
> testJsonFormData(param, param2)
 | 
			
		||||
 | 
			
		||||
test json serialization of form data
 | 
			
		||||
 | 
			
		||||
@ -443,8 +440,7 @@ FakeApi apiInstance = new FakeApi();
 | 
			
		||||
String param = "param_example"; // String | field1
 | 
			
		||||
String param2 = "param2_example"; // String | field2
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testJsonFormData");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -460,7 +456,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="addPet"></a>
 | 
			
		||||
# **addPet**
 | 
			
		||||
> Void addPet(body)
 | 
			
		||||
> addPet(body)
 | 
			
		||||
 | 
			
		||||
Add a new pet to the store
 | 
			
		||||
 | 
			
		||||
@ -40,8 +40,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.addPet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.addPet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#addPet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -56,7 +55,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -69,7 +68,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="deletePet"></a>
 | 
			
		||||
# **deletePet**
 | 
			
		||||
> Void deletePet(petId, apiKey)
 | 
			
		||||
> deletePet(petId, apiKey)
 | 
			
		||||
 | 
			
		||||
Deletes a pet
 | 
			
		||||
 | 
			
		||||
@ -94,8 +93,7 @@ PetApi apiInstance = new PetApi();
 | 
			
		||||
Long petId = 789L; // Long | Pet id to delete
 | 
			
		||||
String apiKey = "apiKey_example"; // String | 
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#deletePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -111,7 +109,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -285,7 +283,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePet"></a>
 | 
			
		||||
# **updatePet**
 | 
			
		||||
> Void updatePet(body)
 | 
			
		||||
> updatePet(body)
 | 
			
		||||
 | 
			
		||||
Update an existing pet
 | 
			
		||||
 | 
			
		||||
@ -309,8 +307,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -325,7 +322,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -338,7 +335,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePetWithForm"></a>
 | 
			
		||||
# **updatePetWithForm**
 | 
			
		||||
> Void updatePetWithForm(petId, name, status)
 | 
			
		||||
> updatePetWithForm(petId, name, status)
 | 
			
		||||
 | 
			
		||||
Updates a pet in the store with form data
 | 
			
		||||
 | 
			
		||||
@ -364,8 +361,7 @@ Long petId = 789L; // Long | ID of pet that needs to be updated
 | 
			
		||||
String name = "name_example"; // String | Updated name of the pet
 | 
			
		||||
String status = "status_example"; // String | Updated status of the pet
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePetWithForm");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -382,7 +378,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="deleteOrder"></a>
 | 
			
		||||
# **deleteOrder**
 | 
			
		||||
> Void deleteOrder(orderId)
 | 
			
		||||
> deleteOrder(orderId)
 | 
			
		||||
 | 
			
		||||
Delete purchase order by ID
 | 
			
		||||
 | 
			
		||||
@ -28,8 +28,7 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or
 | 
			
		||||
StoreApi apiInstance = new StoreApi();
 | 
			
		||||
String orderId = "orderId_example"; // String | ID of the order that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteOrder(orderId);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteOrder(orderId);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling StoreApi#deleteOrder");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -44,7 +43,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="createUser"></a>
 | 
			
		||||
# **createUser**
 | 
			
		||||
> Void createUser(body)
 | 
			
		||||
> createUser(body)
 | 
			
		||||
 | 
			
		||||
Create user
 | 
			
		||||
 | 
			
		||||
@ -32,8 +32,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
User body = new User(); // User | Created user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUser(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUser(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -48,7 +47,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -61,7 +60,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithArrayInput"></a>
 | 
			
		||||
# **createUsersWithArrayInput**
 | 
			
		||||
> Void createUsersWithArrayInput(body)
 | 
			
		||||
> createUsersWithArrayInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -77,8 +76,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithArrayInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -93,7 +91,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -106,7 +104,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithListInput"></a>
 | 
			
		||||
# **createUsersWithListInput**
 | 
			
		||||
> Void createUsersWithListInput(body)
 | 
			
		||||
> createUsersWithListInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -122,8 +120,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithListInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithListInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithListInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -138,7 +135,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -151,7 +148,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="deleteUser"></a>
 | 
			
		||||
# **deleteUser**
 | 
			
		||||
> Void deleteUser(username)
 | 
			
		||||
> deleteUser(username)
 | 
			
		||||
 | 
			
		||||
Delete user
 | 
			
		||||
 | 
			
		||||
@ -167,8 +164,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | The name that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteUser(username);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteUser(username);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#deleteUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -183,7 +179,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -288,7 +284,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="logoutUser"></a>
 | 
			
		||||
# **logoutUser**
 | 
			
		||||
> Void logoutUser()
 | 
			
		||||
> logoutUser()
 | 
			
		||||
 | 
			
		||||
Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
@ -303,8 +299,7 @@ Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.logoutUser();
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.logoutUser();
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#logoutUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -316,7 +311,7 @@ This endpoint does not need any parameter.
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -329,7 +324,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="updateUser"></a>
 | 
			
		||||
# **updateUser**
 | 
			
		||||
> Void updateUser(username, body)
 | 
			
		||||
> updateUser(username, body)
 | 
			
		||||
 | 
			
		||||
Updated user
 | 
			
		||||
 | 
			
		||||
@ -346,8 +341,7 @@ UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | name that need to be deleted
 | 
			
		||||
User body = new User(); // User | Updated user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updateUser(username, body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updateUser(username, body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#updateUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -363,7 +357,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ public interface AnotherFakeApi {
 | 
			
		||||
   * To test special tags
 | 
			
		||||
   * To test special tags
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
 | 
			
		||||
@ -24,7 +24,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer boolean types
 | 
			
		||||
   * @param body Input boolean as post body (optional)
 | 
			
		||||
   * @return Call<Boolean>
 | 
			
		||||
   * @return Observable<Boolean>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/boolean")
 | 
			
		||||
  Observable<Boolean> fakeOuterBooleanSerialize(
 | 
			
		||||
@ -35,7 +35,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of object with outer number type
 | 
			
		||||
   * @param body Input composite as post body (optional)
 | 
			
		||||
   * @return Call<OuterComposite>
 | 
			
		||||
   * @return Observable<OuterComposite>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/composite")
 | 
			
		||||
  Observable<OuterComposite> fakeOuterCompositeSerialize(
 | 
			
		||||
@ -46,7 +46,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer number types
 | 
			
		||||
   * @param body Input number as post body (optional)
 | 
			
		||||
   * @return Call<BigDecimal>
 | 
			
		||||
   * @return Observable<BigDecimal>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/number")
 | 
			
		||||
  Observable<BigDecimal> fakeOuterNumberSerialize(
 | 
			
		||||
@ -57,7 +57,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer string types
 | 
			
		||||
   * @param body Input string as post body (optional)
 | 
			
		||||
   * @return Call<String>
 | 
			
		||||
   * @return Observable<String>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/string")
 | 
			
		||||
  Observable<String> fakeOuterStringSerialize(
 | 
			
		||||
@ -68,7 +68,7 @@ public interface FakeApi {
 | 
			
		||||
   * To test \"client\" model
 | 
			
		||||
   * To test \"client\" model
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
@ -95,7 +95,7 @@ public interface FakeApi {
 | 
			
		||||
   * @param dateTime None (optional)
 | 
			
		||||
   * @param password None (optional)
 | 
			
		||||
   * @param paramCallback None (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @POST("fake")
 | 
			
		||||
@ -114,7 +114,7 @@ public interface FakeApi {
 | 
			
		||||
   * @param enumQueryString Query parameter enum test (string) (optional, default to -efg)
 | 
			
		||||
   * @param enumQueryInteger Query parameter enum test (double) (optional)
 | 
			
		||||
   * @param enumQueryDouble Query parameter enum test (double) (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @GET("fake")
 | 
			
		||||
@ -126,7 +126,7 @@ public interface FakeApi {
 | 
			
		||||
   * test inline additionalProperties
 | 
			
		||||
   * 
 | 
			
		||||
   * @param param request body (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
@ -141,7 +141,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param param field1 (required)
 | 
			
		||||
   * @param param2 field2 (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @GET("fake/jsonFormData")
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ public interface FakeClassnameTags123Api {
 | 
			
		||||
   * To test class name in snake case
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
 | 
			
		||||
@ -22,7 +22,7 @@ public interface PetApi {
 | 
			
		||||
   * Add a new pet to the store
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body Pet object that needs to be added to the store (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
@ -37,7 +37,7 @@ public interface PetApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param petId Pet id to delete (required)
 | 
			
		||||
   * @param apiKey  (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("pet/{petId}")
 | 
			
		||||
  Observable<Void> deletePet(
 | 
			
		||||
@ -48,7 +48,7 @@ public interface PetApi {
 | 
			
		||||
   * Finds Pets by status
 | 
			
		||||
   * Multiple status values can be provided with comma separated strings
 | 
			
		||||
   * @param status Status values that need to be considered for filter (required)
 | 
			
		||||
   * @return Call<List<Pet>>
 | 
			
		||||
   * @return Observable<List<Pet>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/findByStatus")
 | 
			
		||||
  Observable<List<Pet>> findPetsByStatus(
 | 
			
		||||
@ -59,7 +59,7 @@ public interface PetApi {
 | 
			
		||||
   * Finds Pets by tags
 | 
			
		||||
   * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
 | 
			
		||||
   * @param tags Tags to filter by (required)
 | 
			
		||||
   * @return Call<List<Pet>>
 | 
			
		||||
   * @return Observable<List<Pet>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/findByTags")
 | 
			
		||||
  Observable<List<Pet>> findPetsByTags(
 | 
			
		||||
@ -70,7 +70,7 @@ public interface PetApi {
 | 
			
		||||
   * Find pet by ID
 | 
			
		||||
   * Returns a single pet
 | 
			
		||||
   * @param petId ID of pet to return (required)
 | 
			
		||||
   * @return Call<Pet>
 | 
			
		||||
   * @return Observable<Pet>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/{petId}")
 | 
			
		||||
  Observable<Pet> getPetById(
 | 
			
		||||
@ -81,7 +81,7 @@ public interface PetApi {
 | 
			
		||||
   * Update an existing pet
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body Pet object that needs to be added to the store (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
@ -97,7 +97,7 @@ public interface PetApi {
 | 
			
		||||
   * @param petId ID of pet that needs to be updated (required)
 | 
			
		||||
   * @param name Updated name of the pet (optional)
 | 
			
		||||
   * @param status Updated status of the pet (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @POST("pet/{petId}")
 | 
			
		||||
@ -111,7 +111,7 @@ public interface PetApi {
 | 
			
		||||
   * @param petId ID of pet to update (required)
 | 
			
		||||
   * @param additionalMetadata Additional data to pass to server (optional)
 | 
			
		||||
   * @param file file to upload (optional)
 | 
			
		||||
   * @return Call<ModelApiResponse>
 | 
			
		||||
   * @return Observable<ModelApiResponse>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.Multipart
 | 
			
		||||
  @POST("pet/{petId}/uploadImage")
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ public interface StoreApi {
 | 
			
		||||
   * Delete purchase order by ID
 | 
			
		||||
   * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
 | 
			
		||||
   * @param orderId ID of the order that needs to be deleted (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("store/order/{order_id}")
 | 
			
		||||
  Observable<Void> deleteOrder(
 | 
			
		||||
@ -30,7 +30,7 @@ public interface StoreApi {
 | 
			
		||||
  /**
 | 
			
		||||
   * Returns pet inventories by status
 | 
			
		||||
   * Returns a map of status codes to quantities
 | 
			
		||||
   * @return Call<Map<String, Integer>>
 | 
			
		||||
   * @return Observable<Map<String, Integer>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("store/inventory")
 | 
			
		||||
  Observable<Map<String, Integer>> getInventory();
 | 
			
		||||
@ -40,7 +40,7 @@ public interface StoreApi {
 | 
			
		||||
   * Find purchase order by ID
 | 
			
		||||
   * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
 | 
			
		||||
   * @param orderId ID of pet that needs to be fetched (required)
 | 
			
		||||
   * @return Call<Order>
 | 
			
		||||
   * @return Observable<Order>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("store/order/{order_id}")
 | 
			
		||||
  Observable<Order> getOrderById(
 | 
			
		||||
@ -51,7 +51,7 @@ public interface StoreApi {
 | 
			
		||||
   * Place an order for a pet
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body order placed for purchasing the pet (required)
 | 
			
		||||
   * @return Call<Order>
 | 
			
		||||
   * @return Observable<Order>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("store/order")
 | 
			
		||||
  Observable<Order> placeOrder(
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ public interface UserApi {
 | 
			
		||||
   * Create user
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param body Created user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user")
 | 
			
		||||
  Observable<Void> createUser(
 | 
			
		||||
@ -31,7 +31,7 @@ public interface UserApi {
 | 
			
		||||
   * Creates list of users with given input array
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body List of user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user/createWithArray")
 | 
			
		||||
  Observable<Void> createUsersWithArrayInput(
 | 
			
		||||
@ -42,7 +42,7 @@ public interface UserApi {
 | 
			
		||||
   * Creates list of users with given input array
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body List of user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user/createWithList")
 | 
			
		||||
  Observable<Void> createUsersWithListInput(
 | 
			
		||||
@ -53,7 +53,7 @@ public interface UserApi {
 | 
			
		||||
   * Delete user
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param username The name that needs to be deleted (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("user/{username}")
 | 
			
		||||
  Observable<Void> deleteUser(
 | 
			
		||||
@ -64,7 +64,7 @@ public interface UserApi {
 | 
			
		||||
   * Get user by user name
 | 
			
		||||
   * 
 | 
			
		||||
   * @param username The name that needs to be fetched. Use user1 for testing.  (required)
 | 
			
		||||
   * @return Call<User>
 | 
			
		||||
   * @return Observable<User>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/{username}")
 | 
			
		||||
  Observable<User> getUserByName(
 | 
			
		||||
@ -76,7 +76,7 @@ public interface UserApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param username The user name for login (required)
 | 
			
		||||
   * @param password The password for login in clear text (required)
 | 
			
		||||
   * @return Call<String>
 | 
			
		||||
   * @return Observable<String>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/login")
 | 
			
		||||
  Observable<String> loginUser(
 | 
			
		||||
@ -86,7 +86,7 @@ public interface UserApi {
 | 
			
		||||
  /**
 | 
			
		||||
   * Logs out current logged in user session
 | 
			
		||||
   * 
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/logout")
 | 
			
		||||
  Observable<Void> logoutUser();
 | 
			
		||||
@ -97,7 +97,7 @@ public interface UserApi {
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param username name that need to be deleted (required)
 | 
			
		||||
   * @param body Updated user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Observable<Void>
 | 
			
		||||
   */
 | 
			
		||||
  @PUT("user/{username}")
 | 
			
		||||
  Observable<Void> updateUser(
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
2.3.0-SNAPSHOT
 | 
			
		||||
2.3.1-SNAPSHOT
 | 
			
		||||
@ -242,7 +242,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testEndpointParameters"></a>
 | 
			
		||||
# **testEndpointParameters**
 | 
			
		||||
> Void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
> testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
 | 
			
		||||
 | 
			
		||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
 | 
			
		||||
 | 
			
		||||
@ -280,8 +280,7 @@ OffsetDateTime dateTime = new OffsetDateTime(); // OffsetDateTime | None
 | 
			
		||||
String password = "password_example"; // String | None
 | 
			
		||||
String paramCallback = "paramCallback_example"; // String | None
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEndpointParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -309,7 +308,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -322,7 +321,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="testEnumParameters"></a>
 | 
			
		||||
# **testEnumParameters**
 | 
			
		||||
> Void testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
> testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble)
 | 
			
		||||
 | 
			
		||||
To test enum parameters
 | 
			
		||||
 | 
			
		||||
@ -345,8 +344,7 @@ String enumQueryString = "-efg"; // String | Query parameter enum test (string)
 | 
			
		||||
Integer enumQueryInteger = 56; // Integer | Query parameter enum test (double)
 | 
			
		||||
Double enumQueryDouble = 3.4D; // Double | Query parameter enum test (double)
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testEnumParameters");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -368,7 +366,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -381,7 +379,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testInlineAdditionalProperties"></a>
 | 
			
		||||
# **testInlineAdditionalProperties**
 | 
			
		||||
> Void testInlineAdditionalProperties(param)
 | 
			
		||||
> testInlineAdditionalProperties(param)
 | 
			
		||||
 | 
			
		||||
test inline additionalProperties
 | 
			
		||||
 | 
			
		||||
@ -397,8 +395,7 @@ test inline additionalProperties
 | 
			
		||||
FakeApi apiInstance = new FakeApi();
 | 
			
		||||
Object param = null; // Object | request body
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testInlineAdditionalProperties(param);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testInlineAdditionalProperties");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -413,7 +410,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -426,7 +423,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="testJsonFormData"></a>
 | 
			
		||||
# **testJsonFormData**
 | 
			
		||||
> Void testJsonFormData(param, param2)
 | 
			
		||||
> testJsonFormData(param, param2)
 | 
			
		||||
 | 
			
		||||
test json serialization of form data
 | 
			
		||||
 | 
			
		||||
@ -443,8 +440,7 @@ FakeApi apiInstance = new FakeApi();
 | 
			
		||||
String param = "param_example"; // String | field1
 | 
			
		||||
String param2 = "param2_example"; // String | field2
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.testJsonFormData(param, param2);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling FakeApi#testJsonFormData");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -460,7 +456,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="addPet"></a>
 | 
			
		||||
# **addPet**
 | 
			
		||||
> Void addPet(body)
 | 
			
		||||
> addPet(body)
 | 
			
		||||
 | 
			
		||||
Add a new pet to the store
 | 
			
		||||
 | 
			
		||||
@ -40,8 +40,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.addPet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.addPet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#addPet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -56,7 +55,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -69,7 +68,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="deletePet"></a>
 | 
			
		||||
# **deletePet**
 | 
			
		||||
> Void deletePet(petId, apiKey)
 | 
			
		||||
> deletePet(petId, apiKey)
 | 
			
		||||
 | 
			
		||||
Deletes a pet
 | 
			
		||||
 | 
			
		||||
@ -94,8 +93,7 @@ PetApi apiInstance = new PetApi();
 | 
			
		||||
Long petId = 789L; // Long | Pet id to delete
 | 
			
		||||
String apiKey = "apiKey_example"; // String | 
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deletePet(petId, apiKey);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#deletePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -111,7 +109,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -285,7 +283,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePet"></a>
 | 
			
		||||
# **updatePet**
 | 
			
		||||
> Void updatePet(body)
 | 
			
		||||
> updatePet(body)
 | 
			
		||||
 | 
			
		||||
Update an existing pet
 | 
			
		||||
 | 
			
		||||
@ -309,8 +307,7 @@ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
 | 
			
		||||
PetApi apiInstance = new PetApi();
 | 
			
		||||
Pet body = new Pet(); // Pet | Pet object that needs to be added to the store
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePet(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePet(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePet");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -325,7 +322,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -338,7 +335,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
<a name="updatePetWithForm"></a>
 | 
			
		||||
# **updatePetWithForm**
 | 
			
		||||
> Void updatePetWithForm(petId, name, status)
 | 
			
		||||
> updatePetWithForm(petId, name, status)
 | 
			
		||||
 | 
			
		||||
Updates a pet in the store with form data
 | 
			
		||||
 | 
			
		||||
@ -364,8 +361,7 @@ Long petId = 789L; // Long | ID of pet that needs to be updated
 | 
			
		||||
String name = "name_example"; // String | Updated name of the pet
 | 
			
		||||
String status = "status_example"; // String | Updated status of the pet
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updatePetWithForm(petId, name, status);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling PetApi#updatePetWithForm");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -382,7 +378,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="deleteOrder"></a>
 | 
			
		||||
# **deleteOrder**
 | 
			
		||||
> Void deleteOrder(orderId)
 | 
			
		||||
> deleteOrder(orderId)
 | 
			
		||||
 | 
			
		||||
Delete purchase order by ID
 | 
			
		||||
 | 
			
		||||
@ -28,8 +28,7 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or
 | 
			
		||||
StoreApi apiInstance = new StoreApi();
 | 
			
		||||
String orderId = "orderId_example"; // String | ID of the order that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteOrder(orderId);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteOrder(orderId);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling StoreApi#deleteOrder");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -44,7 +43,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ Method | HTTP request | Description
 | 
			
		||||
 | 
			
		||||
<a name="createUser"></a>
 | 
			
		||||
# **createUser**
 | 
			
		||||
> Void createUser(body)
 | 
			
		||||
> createUser(body)
 | 
			
		||||
 | 
			
		||||
Create user
 | 
			
		||||
 | 
			
		||||
@ -32,8 +32,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
User body = new User(); // User | Created user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUser(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUser(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -48,7 +47,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -61,7 +60,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithArrayInput"></a>
 | 
			
		||||
# **createUsersWithArrayInput**
 | 
			
		||||
> Void createUsersWithArrayInput(body)
 | 
			
		||||
> createUsersWithArrayInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -77,8 +76,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithArrayInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithArrayInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -93,7 +91,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -106,7 +104,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="createUsersWithListInput"></a>
 | 
			
		||||
# **createUsersWithListInput**
 | 
			
		||||
> Void createUsersWithListInput(body)
 | 
			
		||||
> createUsersWithListInput(body)
 | 
			
		||||
 | 
			
		||||
Creates list of users with given input array
 | 
			
		||||
 | 
			
		||||
@ -122,8 +120,7 @@ Creates list of users with given input array
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
List<User> body = Arrays.asList(new User()); // List<User> | List of user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.createUsersWithListInput(body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.createUsersWithListInput(body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#createUsersWithListInput");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -138,7 +135,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -151,7 +148,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="deleteUser"></a>
 | 
			
		||||
# **deleteUser**
 | 
			
		||||
> Void deleteUser(username)
 | 
			
		||||
> deleteUser(username)
 | 
			
		||||
 | 
			
		||||
Delete user
 | 
			
		||||
 | 
			
		||||
@ -167,8 +164,7 @@ This can only be done by the logged in user.
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | The name that needs to be deleted
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.deleteUser(username);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.deleteUser(username);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#deleteUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -183,7 +179,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -288,7 +284,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="logoutUser"></a>
 | 
			
		||||
# **logoutUser**
 | 
			
		||||
> Void logoutUser()
 | 
			
		||||
> logoutUser()
 | 
			
		||||
 | 
			
		||||
Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
@ -303,8 +299,7 @@ Logs out current logged in user session
 | 
			
		||||
 | 
			
		||||
UserApi apiInstance = new UserApi();
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.logoutUser();
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.logoutUser();
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#logoutUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -316,7 +311,7 @@ This endpoint does not need any parameter.
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
@ -329,7 +324,7 @@ No authorization required
 | 
			
		||||
 | 
			
		||||
<a name="updateUser"></a>
 | 
			
		||||
# **updateUser**
 | 
			
		||||
> Void updateUser(username, body)
 | 
			
		||||
> updateUser(username, body)
 | 
			
		||||
 | 
			
		||||
Updated user
 | 
			
		||||
 | 
			
		||||
@ -346,8 +341,7 @@ UserApi apiInstance = new UserApi();
 | 
			
		||||
String username = "username_example"; // String | name that need to be deleted
 | 
			
		||||
User body = new User(); // User | Updated user object
 | 
			
		||||
try {
 | 
			
		||||
    Void result = apiInstance.updateUser(username, body);
 | 
			
		||||
    System.out.println(result);
 | 
			
		||||
    apiInstance.updateUser(username, body);
 | 
			
		||||
} catch (ApiException e) {
 | 
			
		||||
    System.err.println("Exception when calling UserApi#updateUser");
 | 
			
		||||
    e.printStackTrace();
 | 
			
		||||
@ -363,7 +357,7 @@ Name | Type | Description  | Notes
 | 
			
		||||
 | 
			
		||||
### Return type
 | 
			
		||||
 | 
			
		||||
[**Void**](.md)
 | 
			
		||||
null (empty response body)
 | 
			
		||||
 | 
			
		||||
### Authorization
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -20,7 +21,7 @@ public interface AnotherFakeApi {
 | 
			
		||||
   * To test special tags
 | 
			
		||||
   * To test special tags
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -24,7 +25,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer boolean types
 | 
			
		||||
   * @param body Input boolean as post body (optional)
 | 
			
		||||
   * @return Call<Boolean>
 | 
			
		||||
   * @return Observable<Boolean>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/boolean")
 | 
			
		||||
  Observable<Boolean> fakeOuterBooleanSerialize(
 | 
			
		||||
@ -35,7 +36,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of object with outer number type
 | 
			
		||||
   * @param body Input composite as post body (optional)
 | 
			
		||||
   * @return Call<OuterComposite>
 | 
			
		||||
   * @return Observable<OuterComposite>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/composite")
 | 
			
		||||
  Observable<OuterComposite> fakeOuterCompositeSerialize(
 | 
			
		||||
@ -46,7 +47,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer number types
 | 
			
		||||
   * @param body Input number as post body (optional)
 | 
			
		||||
   * @return Call<BigDecimal>
 | 
			
		||||
   * @return Observable<BigDecimal>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/number")
 | 
			
		||||
  Observable<BigDecimal> fakeOuterNumberSerialize(
 | 
			
		||||
@ -57,7 +58,7 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * Test serialization of outer string types
 | 
			
		||||
   * @param body Input string as post body (optional)
 | 
			
		||||
   * @return Call<String>
 | 
			
		||||
   * @return Observable<String>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("fake/outer/string")
 | 
			
		||||
  Observable<String> fakeOuterStringSerialize(
 | 
			
		||||
@ -68,7 +69,7 @@ public interface FakeApi {
 | 
			
		||||
   * To test \"client\" model
 | 
			
		||||
   * To test \"client\" model
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
@ -95,11 +96,11 @@ public interface FakeApi {
 | 
			
		||||
   * @param dateTime None (optional)
 | 
			
		||||
   * @param password None (optional)
 | 
			
		||||
   * @param paramCallback None (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @POST("fake")
 | 
			
		||||
  Observable<Void> testEndpointParameters(
 | 
			
		||||
  Completable testEndpointParameters(
 | 
			
		||||
    @retrofit2.http.Field("number") BigDecimal number, @retrofit2.http.Field("double") Double _double, @retrofit2.http.Field("pattern_without_delimiter") String patternWithoutDelimiter, @retrofit2.http.Field("byte") byte[] _byte, @retrofit2.http.Field("integer") Integer integer, @retrofit2.http.Field("int32") Integer int32, @retrofit2.http.Field("int64") Long int64, @retrofit2.http.Field("float") Float _float, @retrofit2.http.Field("string") String string, @retrofit2.http.Field("binary") byte[] binary, @retrofit2.http.Field("date") LocalDate date, @retrofit2.http.Field("dateTime") OffsetDateTime dateTime, @retrofit2.http.Field("password") String password, @retrofit2.http.Field("callback") String paramCallback
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -114,11 +115,11 @@ public interface FakeApi {
 | 
			
		||||
   * @param enumQueryString Query parameter enum test (string) (optional, default to -efg)
 | 
			
		||||
   * @param enumQueryInteger Query parameter enum test (double) (optional)
 | 
			
		||||
   * @param enumQueryDouble Query parameter enum test (double) (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @GET("fake")
 | 
			
		||||
  Observable<Void> testEnumParameters(
 | 
			
		||||
  Completable testEnumParameters(
 | 
			
		||||
    @retrofit2.http.Field("enum_form_string_array") List<String> enumFormStringArray, @retrofit2.http.Field("enum_form_string") String enumFormString, @retrofit2.http.Header("enum_header_string_array") List<String> enumHeaderStringArray, @retrofit2.http.Header("enum_header_string") String enumHeaderString, @retrofit2.http.Query("enum_query_string_array") CSVParams enumQueryStringArray, @retrofit2.http.Query("enum_query_string") String enumQueryString, @retrofit2.http.Query("enum_query_integer") Integer enumQueryInteger, @retrofit2.http.Field("enum_query_double") Double enumQueryDouble
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -126,13 +127,13 @@ public interface FakeApi {
 | 
			
		||||
   * test inline additionalProperties
 | 
			
		||||
   * 
 | 
			
		||||
   * @param param request body (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
  })
 | 
			
		||||
  @POST("fake/inline-additionalProperties")
 | 
			
		||||
  Observable<Void> testInlineAdditionalProperties(
 | 
			
		||||
  Completable testInlineAdditionalProperties(
 | 
			
		||||
    @retrofit2.http.Body Object param
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -141,11 +142,11 @@ public interface FakeApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param param field1 (required)
 | 
			
		||||
   * @param param2 field2 (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @GET("fake/jsonFormData")
 | 
			
		||||
  Observable<Void> testJsonFormData(
 | 
			
		||||
  Completable testJsonFormData(
 | 
			
		||||
    @retrofit2.http.Field("param") String param, @retrofit2.http.Field("param2") String param2
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -20,7 +21,7 @@ public interface FakeClassnameTags123Api {
 | 
			
		||||
   * To test class name in snake case
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body client model (required)
 | 
			
		||||
   * @return Call<Client>
 | 
			
		||||
   * @return Observable<Client>
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -22,13 +23,13 @@ public interface PetApi {
 | 
			
		||||
   * Add a new pet to the store
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body Pet object that needs to be added to the store (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
  })
 | 
			
		||||
  @POST("pet")
 | 
			
		||||
  Observable<Void> addPet(
 | 
			
		||||
  Completable addPet(
 | 
			
		||||
    @retrofit2.http.Body Pet body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -37,10 +38,10 @@ public interface PetApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param petId Pet id to delete (required)
 | 
			
		||||
   * @param apiKey  (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("pet/{petId}")
 | 
			
		||||
  Observable<Void> deletePet(
 | 
			
		||||
  Completable deletePet(
 | 
			
		||||
    @retrofit2.http.Path("petId") Long petId, @retrofit2.http.Header("api_key") String apiKey
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -48,7 +49,7 @@ public interface PetApi {
 | 
			
		||||
   * Finds Pets by status
 | 
			
		||||
   * Multiple status values can be provided with comma separated strings
 | 
			
		||||
   * @param status Status values that need to be considered for filter (required)
 | 
			
		||||
   * @return Call<List<Pet>>
 | 
			
		||||
   * @return Observable<List<Pet>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/findByStatus")
 | 
			
		||||
  Observable<List<Pet>> findPetsByStatus(
 | 
			
		||||
@ -59,7 +60,7 @@ public interface PetApi {
 | 
			
		||||
   * Finds Pets by tags
 | 
			
		||||
   * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
 | 
			
		||||
   * @param tags Tags to filter by (required)
 | 
			
		||||
   * @return Call<List<Pet>>
 | 
			
		||||
   * @return Observable<List<Pet>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/findByTags")
 | 
			
		||||
  Observable<List<Pet>> findPetsByTags(
 | 
			
		||||
@ -70,7 +71,7 @@ public interface PetApi {
 | 
			
		||||
   * Find pet by ID
 | 
			
		||||
   * Returns a single pet
 | 
			
		||||
   * @param petId ID of pet to return (required)
 | 
			
		||||
   * @return Call<Pet>
 | 
			
		||||
   * @return Observable<Pet>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("pet/{petId}")
 | 
			
		||||
  Observable<Pet> getPetById(
 | 
			
		||||
@ -81,13 +82,13 @@ public interface PetApi {
 | 
			
		||||
   * Update an existing pet
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body Pet object that needs to be added to the store (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @Headers({
 | 
			
		||||
    "Content-Type:application/json"
 | 
			
		||||
  })
 | 
			
		||||
  @PUT("pet")
 | 
			
		||||
  Observable<Void> updatePet(
 | 
			
		||||
  Completable updatePet(
 | 
			
		||||
    @retrofit2.http.Body Pet body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -97,11 +98,11 @@ public interface PetApi {
 | 
			
		||||
   * @param petId ID of pet that needs to be updated (required)
 | 
			
		||||
   * @param name Updated name of the pet (optional)
 | 
			
		||||
   * @param status Updated status of the pet (optional)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.FormUrlEncoded
 | 
			
		||||
  @POST("pet/{petId}")
 | 
			
		||||
  Observable<Void> updatePetWithForm(
 | 
			
		||||
  Completable updatePetWithForm(
 | 
			
		||||
    @retrofit2.http.Path("petId") Long petId, @retrofit2.http.Field("name") String name, @retrofit2.http.Field("status") String status
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -111,7 +112,7 @@ public interface PetApi {
 | 
			
		||||
   * @param petId ID of pet to update (required)
 | 
			
		||||
   * @param additionalMetadata Additional data to pass to server (optional)
 | 
			
		||||
   * @param file file to upload (optional)
 | 
			
		||||
   * @return Call<ModelApiResponse>
 | 
			
		||||
   * @return Observable<ModelApiResponse>
 | 
			
		||||
   */
 | 
			
		||||
  @retrofit2.http.Multipart
 | 
			
		||||
  @POST("pet/{petId}/uploadImage")
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -20,17 +21,17 @@ public interface StoreApi {
 | 
			
		||||
   * Delete purchase order by ID
 | 
			
		||||
   * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
 | 
			
		||||
   * @param orderId ID of the order that needs to be deleted (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("store/order/{order_id}")
 | 
			
		||||
  Observable<Void> deleteOrder(
 | 
			
		||||
  Completable deleteOrder(
 | 
			
		||||
    @retrofit2.http.Path("order_id") String orderId
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Returns pet inventories by status
 | 
			
		||||
   * Returns a map of status codes to quantities
 | 
			
		||||
   * @return Call<Map<String, Integer>>
 | 
			
		||||
   * @return Observable<Map<String, Integer>>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("store/inventory")
 | 
			
		||||
  Observable<Map<String, Integer>> getInventory();
 | 
			
		||||
@ -40,7 +41,7 @@ public interface StoreApi {
 | 
			
		||||
   * Find purchase order by ID
 | 
			
		||||
   * For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
 | 
			
		||||
   * @param orderId ID of pet that needs to be fetched (required)
 | 
			
		||||
   * @return Call<Order>
 | 
			
		||||
   * @return Observable<Order>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("store/order/{order_id}")
 | 
			
		||||
  Observable<Order> getOrderById(
 | 
			
		||||
@ -51,7 +52,7 @@ public interface StoreApi {
 | 
			
		||||
   * Place an order for a pet
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body order placed for purchasing the pet (required)
 | 
			
		||||
   * @return Call<Order>
 | 
			
		||||
   * @return Observable<Order>
 | 
			
		||||
   */
 | 
			
		||||
  @POST("store/order")
 | 
			
		||||
  Observable<Order> placeOrder(
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,7 @@ package io.swagger.client.api;
 | 
			
		||||
import io.swagger.client.CollectionFormats.*;
 | 
			
		||||
 | 
			
		||||
import io.reactivex.Observable;
 | 
			
		||||
import io.reactivex.Completable;
 | 
			
		||||
import retrofit2.http.*;
 | 
			
		||||
 | 
			
		||||
import okhttp3.RequestBody;
 | 
			
		||||
@ -20,10 +21,10 @@ public interface UserApi {
 | 
			
		||||
   * Create user
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param body Created user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user")
 | 
			
		||||
  Observable<Void> createUser(
 | 
			
		||||
  Completable createUser(
 | 
			
		||||
    @retrofit2.http.Body User body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -31,10 +32,10 @@ public interface UserApi {
 | 
			
		||||
   * Creates list of users with given input array
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body List of user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user/createWithArray")
 | 
			
		||||
  Observable<Void> createUsersWithArrayInput(
 | 
			
		||||
  Completable createUsersWithArrayInput(
 | 
			
		||||
    @retrofit2.http.Body List<User> body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -42,10 +43,10 @@ public interface UserApi {
 | 
			
		||||
   * Creates list of users with given input array
 | 
			
		||||
   * 
 | 
			
		||||
   * @param body List of user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @POST("user/createWithList")
 | 
			
		||||
  Observable<Void> createUsersWithListInput(
 | 
			
		||||
  Completable createUsersWithListInput(
 | 
			
		||||
    @retrofit2.http.Body List<User> body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -53,10 +54,10 @@ public interface UserApi {
 | 
			
		||||
   * Delete user
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param username The name that needs to be deleted (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @DELETE("user/{username}")
 | 
			
		||||
  Observable<Void> deleteUser(
 | 
			
		||||
  Completable deleteUser(
 | 
			
		||||
    @retrofit2.http.Path("username") String username
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
@ -64,7 +65,7 @@ public interface UserApi {
 | 
			
		||||
   * Get user by user name
 | 
			
		||||
   * 
 | 
			
		||||
   * @param username The name that needs to be fetched. Use user1 for testing.  (required)
 | 
			
		||||
   * @return Call<User>
 | 
			
		||||
   * @return Observable<User>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/{username}")
 | 
			
		||||
  Observable<User> getUserByName(
 | 
			
		||||
@ -76,7 +77,7 @@ public interface UserApi {
 | 
			
		||||
   * 
 | 
			
		||||
   * @param username The user name for login (required)
 | 
			
		||||
   * @param password The password for login in clear text (required)
 | 
			
		||||
   * @return Call<String>
 | 
			
		||||
   * @return Observable<String>
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/login")
 | 
			
		||||
  Observable<String> loginUser(
 | 
			
		||||
@ -86,10 +87,10 @@ public interface UserApi {
 | 
			
		||||
  /**
 | 
			
		||||
   * Logs out current logged in user session
 | 
			
		||||
   * 
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @GET("user/logout")
 | 
			
		||||
  Observable<Void> logoutUser();
 | 
			
		||||
  Completable logoutUser();
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -97,10 +98,10 @@ public interface UserApi {
 | 
			
		||||
   * This can only be done by the logged in user.
 | 
			
		||||
   * @param username name that need to be deleted (required)
 | 
			
		||||
   * @param body Updated user object (required)
 | 
			
		||||
   * @return Call<Void>
 | 
			
		||||
   * @return Completable
 | 
			
		||||
   */
 | 
			
		||||
  @PUT("user/{username}")
 | 
			
		||||
  Observable<Void> updateUser(
 | 
			
		||||
  Completable updateUser(
 | 
			
		||||
    @retrofit2.http.Path("username") String username, @retrofit2.http.Body User body
 | 
			
		||||
  );
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user