Merge branch 'master' into new-sync-master-to-2.3.0

This commit is contained in:
Paŭlo Ebermann
2017-03-13 21:10:53 +01:00
1040 changed files with 17614 additions and 5102 deletions

View File

@@ -75,7 +75,17 @@ public class ApiClient {
verifyingSsl = true;
json = new JSON();
json = new JSON(this);
/*
* Use RFC3339 format for date and datetime.
* See http://xml2rfc.ietf.org/public/rfc/html/rfc3339.html#anchor14
*/
this.dateFormat = new SimpleDateFormat("yyyy-MM-dd");
// Always use UTC as the default time zone when dealing with date (without time).
this.dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
initDatetimeFormat();
// Set default User-Agent.
setUserAgent("Swagger-Codegen/1.0.0/java");

View File

@@ -0,0 +1,81 @@
/*
* Swagger Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client;
import com.squareup.okhttp.*;
import okio.Buffer;
import okio.BufferedSink;
import okio.GzipSink;
import okio.Okio;
import java.io.IOException;
/**
* Encodes request bodies using gzip.
*
* Taken from https://github.com/square/okhttp/issues/350
*/
class GzipRequestInterceptor implements Interceptor {
@Override public Response intercept(Chain chain) throws IOException {
Request originalRequest = chain.request();
if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) {
return chain.proceed(originalRequest);
}
Request compressedRequest = originalRequest.newBuilder()
.header("Content-Encoding", "gzip")
.method(originalRequest.method(), forceContentLength(gzip(originalRequest.body())))
.build();
return chain.proceed(compressedRequest);
}
private RequestBody forceContentLength(final RequestBody requestBody) throws IOException {
final Buffer buffer = new Buffer();
requestBody.writeTo(buffer);
return new RequestBody() {
@Override
public MediaType contentType() {
return requestBody.contentType();
}
@Override
public long contentLength() {
return buffer.size();
}
@Override
public void writeTo(BufferedSink sink) throws IOException {
sink.write(buffer.snapshot());
}
};
}
private RequestBody gzip(final RequestBody body) {
return new RequestBody() {
@Override public MediaType contentType() {
return body.contentType();
}
@Override public long contentLength() {
return -1; // We don't know the compressed length in advance!
}
@Override public void writeTo(BufferedSink sink) throws IOException {
BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));
body.writeTo(gzipSink);
gzipSink.close();
}
};
}
}

View File

@@ -57,12 +57,19 @@ public class FakeApi {
this.apiClient = apiClient;
}
/* Build call for testClientModel */
private com.squareup.okhttp.Call testClientModelCall(Client body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for testClientModel
* @param body client model (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call testClientModelCall(Client body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/fake".replaceAll("\\{format\\}","json");
String localVarPath = "/fake";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -175,12 +182,32 @@ public class FakeApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for testEndpointParameters */
private com.squareup.okhttp.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, byte[] binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for testEndpointParameters
* @param number None (required)
* @param _double None (required)
* @param patternWithoutDelimiter None (required)
* @param _byte None (required)
* @param integer None (optional)
* @param int32 None (optional)
* @param int64 None (optional)
* @param _float None (optional)
* @param string None (optional)
* @param binary None (optional)
* @param date None (optional)
* @param dateTime None (optional)
* @param password None (optional)
* @param paramCallback None (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call testEndpointParametersCall(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, byte[] binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/fake".replaceAll("\\{format\\}","json");
String localVarPath = "/fake";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -371,12 +398,26 @@ public class FakeApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for testEnumParameters */
private com.squareup.okhttp.Call testEnumParametersCall(List<String> enumFormStringArray, String enumFormString, List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for testEnumParameters
* @param enumFormStringArray Form parameter enum test (string array) (optional)
* @param enumFormString Form parameter enum test (string) (optional, default to -efg)
* @param enumHeaderStringArray Header parameter enum test (string array) (optional)
* @param enumHeaderString Header parameter enum test (string) (optional, default to -efg)
* @param enumQueryStringArray Query parameter enum test (string array) (optional)
* @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)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call testEnumParametersCall(List<String> enumFormStringArray, String enumFormString, List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/fake".replaceAll("\\{format\\}","json");
String localVarPath = "/fake";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
if (enumQueryStringArray != null)

View File

@@ -54,12 +54,19 @@ public class FakeClassnameTags123Api {
this.apiClient = apiClient;
}
/* Build call for testClassname */
private com.squareup.okhttp.Call testClassnameCall(Client body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for testClassname
* @param body client model (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call testClassnameCall(Client body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/fake_classname_test".replaceAll("\\{format\\}","json");
String localVarPath = "/fake_classname_test";
List<Pair> localVarQueryParams = new ArrayList<Pair>();

View File

@@ -56,12 +56,19 @@ public class PetApi {
this.apiClient = apiClient;
}
/* Build call for addPet */
private com.squareup.okhttp.Call addPetCall(Pet body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for addPet
* @param body Pet object that needs to be added to the store (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call addPetCall(Pet body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/pet".replaceAll("\\{format\\}","json");
String localVarPath = "/pet";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -170,13 +177,21 @@ public class PetApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for deletePet */
private com.squareup.okhttp.Call deletePetCall(Long petId, String apiKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for deletePet
* @param petId Pet id to delete (required)
* @param apiKey (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call deletePetCall(Long petId, String apiKey, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/{petId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
String localVarPath = "/pet/{petId}"
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -290,12 +305,19 @@ public class PetApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for findPetsByStatus */
private com.squareup.okhttp.Call findPetsByStatusCall(List<String> status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for findPetsByStatus
* @param status Status values that need to be considered for filter (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call findPetsByStatusCall(List<String> status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/findByStatus".replaceAll("\\{format\\}","json");
String localVarPath = "/pet/findByStatus";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
if (status != null)
@@ -410,12 +432,19 @@ public class PetApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for findPetsByTags */
private com.squareup.okhttp.Call findPetsByTagsCall(List<String> tags, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for findPetsByTags
* @param tags Tags to filter by (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call findPetsByTagsCall(List<String> tags, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/findByTags".replaceAll("\\{format\\}","json");
String localVarPath = "/pet/findByTags";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
if (tags != null)
@@ -530,13 +559,20 @@ public class PetApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for getPetById */
private com.squareup.okhttp.Call getPetByIdCall(Long petId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for getPetById
* @param petId ID of pet to return (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call getPetByIdCall(Long petId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/{petId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
String localVarPath = "/pet/{petId}"
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -649,12 +685,19 @@ public class PetApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for updatePet */
private com.squareup.okhttp.Call updatePetCall(Pet body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for updatePet
* @param body Pet object that needs to be added to the store (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call updatePetCall(Pet body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/pet".replaceAll("\\{format\\}","json");
String localVarPath = "/pet";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -763,13 +806,22 @@ public class PetApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for updatePetWithForm */
private com.squareup.okhttp.Call updatePetWithFormCall(Long petId, String name, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for updatePetWithForm
* @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)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call updatePetWithFormCall(Long petId, String name, String status, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/{petId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
String localVarPath = "/pet/{petId}"
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -888,13 +940,22 @@ public class PetApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for uploadFile */
private com.squareup.okhttp.Call uploadFileCall(Long petId, String additionalMetadata, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for uploadFile
* @param petId ID of pet to update (required)
* @param additionalMetadata Additional data to pass to server (optional)
* @param file file to upload (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call uploadFileCall(Long petId, String additionalMetadata, File file, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/pet/{petId}/uploadImage".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
String localVarPath = "/pet/{petId}/uploadImage"
.replaceAll("\\{" + "petId" + "\\}", apiClient.escapeString(petId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();

View File

@@ -54,13 +54,20 @@ public class StoreApi {
this.apiClient = apiClient;
}
/* Build call for deleteOrder */
private com.squareup.okhttp.Call deleteOrderCall(String orderId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for deleteOrder
* @param orderId ID of the order that needs to be deleted (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call deleteOrderCall(String orderId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/store/order/{orderId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "orderId" + "\\}", apiClient.escapeString(orderId.toString()));
String localVarPath = "/store/order/{orderId}"
.replaceAll("\\{" + "orderId" + "\\}", apiClient.escapeString(orderId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -169,12 +176,18 @@ public class StoreApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for getInventory */
private com.squareup.okhttp.Call getInventoryCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for getInventory
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call getInventoryCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/store/inventory".replaceAll("\\{format\\}","json");
String localVarPath = "/store/inventory";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -279,13 +292,20 @@ public class StoreApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for getOrderById */
private com.squareup.okhttp.Call getOrderByIdCall(Long orderId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for getOrderById
* @param orderId ID of pet that needs to be fetched (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call getOrderByIdCall(Long orderId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/store/order/{orderId}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "orderId" + "\\}", apiClient.escapeString(orderId.toString()));
String localVarPath = "/store/order/{orderId}"
.replaceAll("\\{" + "orderId" + "\\}", apiClient.escapeString(orderId.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -398,12 +418,19 @@ public class StoreApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for placeOrder */
private com.squareup.okhttp.Call placeOrderCall(Order body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for placeOrder
* @param body order placed for purchasing the pet (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call placeOrderCall(Order body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/store/order".replaceAll("\\{format\\}","json");
String localVarPath = "/store/order";
List<Pair> localVarQueryParams = new ArrayList<Pair>();

View File

@@ -54,12 +54,19 @@ public class UserApi {
this.apiClient = apiClient;
}
/* Build call for createUser */
private com.squareup.okhttp.Call createUserCall(User body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for createUser
* @param body Created user object (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call createUserCall(User body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/user".replaceAll("\\{format\\}","json");
String localVarPath = "/user";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -168,12 +175,19 @@ public class UserApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for createUsersWithArrayInput */
private com.squareup.okhttp.Call createUsersWithArrayInputCall(List<User> body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for createUsersWithArrayInput
* @param body List of user object (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call createUsersWithArrayInputCall(List<User> body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/user/createWithArray".replaceAll("\\{format\\}","json");
String localVarPath = "/user/createWithArray";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -282,12 +296,19 @@ public class UserApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for createUsersWithListInput */
private com.squareup.okhttp.Call createUsersWithListInputCall(List<User> body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for createUsersWithListInput
* @param body List of user object (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call createUsersWithListInputCall(List<User> body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/user/createWithList".replaceAll("\\{format\\}","json");
String localVarPath = "/user/createWithList";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -396,13 +417,20 @@ public class UserApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for deleteUser */
private com.squareup.okhttp.Call deleteUserCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for deleteUser
* @param username The name that needs to be deleted (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call deleteUserCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/user/{username}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
String localVarPath = "/user/{username}"
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -511,13 +539,20 @@ public class UserApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for getUserByName */
private com.squareup.okhttp.Call getUserByNameCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for getUserByName
* @param username The name that needs to be fetched. Use user1 for testing. (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call getUserByNameCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/user/{username}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
String localVarPath = "/user/{username}"
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -630,12 +665,20 @@ public class UserApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for loginUser */
private com.squareup.okhttp.Call loginUserCall(String username, String password, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for loginUser
* @param username The user name for login (required)
* @param password The password for login in clear text (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call loginUserCall(String username, String password, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/user/login".replaceAll("\\{format\\}","json");
String localVarPath = "/user/login";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
if (username != null)
@@ -760,12 +803,18 @@ public class UserApi {
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/* Build call for logoutUser */
private com.squareup.okhttp.Call logoutUserCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for logoutUser
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call logoutUserCall(final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/user/logout".replaceAll("\\{format\\}","json");
String localVarPath = "/user/logout";
List<Pair> localVarQueryParams = new ArrayList<Pair>();
@@ -866,13 +915,21 @@ public class UserApi {
apiClient.executeAsync(call, callback);
return call;
}
/* Build call for updateUser */
private com.squareup.okhttp.Call updateUserCall(String username, User body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
/**
* Build call for updateUser
* @param username name that need to be deleted (required)
* @param body Updated user object (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call updateUserCall(String username, User body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/user/{username}".replaceAll("\\{format\\}","json")
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
String localVarPath = "/user/{username}"
.replaceAll("\\{" + "username" + "\\}", apiClient.escapeString(username.toString()));
List<Pair> localVarQueryParams = new ArrayList<Pair>();

View File

@@ -46,7 +46,7 @@ public class AdditionalPropertiesClass {
* Get mapProperty
* @return mapProperty
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Map<String, String> getMapProperty() {
return mapProperty;
}
@@ -69,7 +69,7 @@ public class AdditionalPropertiesClass {
* Get mapOfMapProperty
* @return mapOfMapProperty
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapOfMapProperty() {
return mapOfMapProperty;
}

View File

@@ -39,7 +39,7 @@ public class Animal {
* Get className
* @return className
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public String getClassName() {
return className;
}
@@ -57,7 +57,7 @@ public class Animal {
* Get color
* @return color
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getColor() {
return color;
}

View File

@@ -43,7 +43,7 @@ public class ArrayOfArrayOfNumberOnly {
* Get arrayArrayNumber
* @return arrayArrayNumber
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;
}

View File

@@ -43,7 +43,7 @@ public class ArrayOfNumberOnly {
* Get arrayNumber
* @return arrayNumber
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<BigDecimal> getArrayNumber() {
return arrayNumber;
}

View File

@@ -49,7 +49,7 @@ public class ArrayTest {
* Get arrayOfString
* @return arrayOfString
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<String> getArrayOfString() {
return arrayOfString;
}
@@ -72,7 +72,7 @@ public class ArrayTest {
* Get arrayArrayOfInteger
* @return arrayArrayOfInteger
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
}
@@ -95,7 +95,7 @@ public class ArrayTest {
* Get arrayArrayOfModel
* @return arrayArrayOfModel
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;
}

View File

@@ -50,7 +50,7 @@ public class Capitalization {
* Get smallCamel
* @return smallCamel
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getSmallCamel() {
return smallCamel;
}
@@ -68,7 +68,7 @@ public class Capitalization {
* Get capitalCamel
* @return capitalCamel
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getCapitalCamel() {
return capitalCamel;
}
@@ -86,7 +86,7 @@ public class Capitalization {
* Get smallSnake
* @return smallSnake
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getSmallSnake() {
return smallSnake;
}
@@ -104,7 +104,7 @@ public class Capitalization {
* Get capitalSnake
* @return capitalSnake
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getCapitalSnake() {
return capitalSnake;
}
@@ -122,7 +122,7 @@ public class Capitalization {
* Get scAETHFlowPoints
* @return scAETHFlowPoints
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
}
@@ -140,7 +140,7 @@ public class Capitalization {
* Name of the pet
* @return ATT_NAME
**/
@ApiModelProperty(example = "null", value = "Name of the pet ")
@ApiModelProperty(value = "Name of the pet ")
public String getATTNAME() {
return ATT_NAME;
}

View File

@@ -36,7 +36,7 @@ public class Cat extends Animal {
* Get declawed
* @return declawed
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Boolean getDeclawed() {
return declawed;
}

View File

@@ -38,7 +38,7 @@ public class Category {
* Get id
* @return id
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
@@ -56,7 +56,7 @@ public class Category {
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getName() {
return name;
}

View File

@@ -36,7 +36,7 @@ public class ClassModel {
* Get propertyClass
* @return propertyClass
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;
}

View File

@@ -35,7 +35,7 @@ public class Client {
* Get client
* @return client
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getClient() {
return client;
}

View File

@@ -36,7 +36,7 @@ public class Dog extends Animal {
* Get breed
* @return breed
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getBreed() {
return breed;
}

View File

@@ -84,7 +84,7 @@ public class EnumArrays {
* Get justSymbol
* @return justSymbol
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public JustSymbolEnum getJustSymbol() {
return justSymbol;
}
@@ -107,7 +107,7 @@ public class EnumArrays {
* Get arrayEnum
* @return arrayEnum
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<ArrayEnumEnum> getArrayEnum() {
return arrayEnum;
}

View File

@@ -114,7 +114,7 @@ public class EnumTest {
* Get enumString
* @return enumString
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public EnumStringEnum getEnumString() {
return enumString;
}
@@ -132,7 +132,7 @@ public class EnumTest {
* Get enumInteger
* @return enumInteger
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public EnumIntegerEnum getEnumInteger() {
return enumInteger;
}
@@ -150,7 +150,7 @@ public class EnumTest {
* Get enumNumber
* @return enumNumber
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public EnumNumberEnum getEnumNumber() {
return enumNumber;
}
@@ -168,7 +168,7 @@ public class EnumTest {
* Get outerEnum
* @return outerEnum
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public OuterEnum getOuterEnum() {
return outerEnum;
}

View File

@@ -77,7 +77,7 @@ public class FormatTest {
* maximum: 100
* @return integer
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getInteger() {
return integer;
}
@@ -97,7 +97,7 @@ public class FormatTest {
* maximum: 200
* @return int32
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getInt32() {
return int32;
}
@@ -115,7 +115,7 @@ public class FormatTest {
* Get int64
* @return int64
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getInt64() {
return int64;
}
@@ -135,7 +135,7 @@ public class FormatTest {
* maximum: 543.2
* @return number
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public BigDecimal getNumber() {
return number;
}
@@ -155,7 +155,7 @@ public class FormatTest {
* maximum: 987.6
* @return _float
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Float getFloat() {
return _float;
}
@@ -175,7 +175,7 @@ public class FormatTest {
* maximum: 123.4
* @return _double
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Double getDouble() {
return _double;
}
@@ -193,7 +193,7 @@ public class FormatTest {
* Get string
* @return string
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getString() {
return string;
}
@@ -211,7 +211,7 @@ public class FormatTest {
* Get _byte
* @return _byte
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public byte[] getByte() {
return _byte;
}
@@ -229,7 +229,7 @@ public class FormatTest {
* Get binary
* @return binary
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public byte[] getBinary() {
return binary;
}
@@ -247,7 +247,7 @@ public class FormatTest {
* Get date
* @return date
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public LocalDate getDate() {
return date;
}
@@ -265,7 +265,7 @@ public class FormatTest {
* Get dateTime
* @return dateTime
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
}
@@ -283,7 +283,7 @@ public class FormatTest {
* Get uuid
* @return uuid
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public UUID getUuid() {
return uuid;
}
@@ -301,7 +301,7 @@ public class FormatTest {
* Get password
* @return password
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public String getPassword() {
return password;
}

View File

@@ -33,7 +33,7 @@ public class HasOnlyReadOnly {
* Get bar
* @return bar
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getBar() {
return bar;
}
@@ -42,7 +42,7 @@ public class HasOnlyReadOnly {
* Get foo
* @return foo
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getFoo() {
return foo;
}

View File

@@ -68,7 +68,7 @@ public class MapTest {
* Get mapMapOfString
* @return mapMapOfString
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapOfString() {
return mapMapOfString;
}
@@ -91,7 +91,7 @@ public class MapTest {
* Get mapOfEnumString
* @return mapOfEnumString
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Map<String, InnerEnum> getMapOfEnumString() {
return mapOfEnumString;
}

View File

@@ -47,7 +47,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get uuid
* @return uuid
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public UUID getUuid() {
return uuid;
}
@@ -65,7 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get dateTime
* @return dateTime
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
}
@@ -88,7 +88,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get map
* @return map
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Map<String, Animal> getMap() {
return map;
}

View File

@@ -39,7 +39,7 @@ public class Model200Response {
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getName() {
return name;
}
@@ -57,7 +57,7 @@ public class Model200Response {
* Get propertyClass
* @return propertyClass
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;
}

View File

@@ -41,7 +41,7 @@ public class ModelApiResponse {
* Get code
* @return code
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getCode() {
return code;
}
@@ -59,7 +59,7 @@ public class ModelApiResponse {
* Get type
* @return type
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getType() {
return type;
}
@@ -77,7 +77,7 @@ public class ModelApiResponse {
* Get message
* @return message
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getMessage() {
return message;
}

View File

@@ -36,7 +36,7 @@ public class ModelReturn {
* Get _return
* @return _return
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getReturn() {
return _return;
}

View File

@@ -45,7 +45,7 @@ public class Name {
* Get name
* @return name
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public Integer getName() {
return name;
}
@@ -58,7 +58,7 @@ public class Name {
* Get snakeCase
* @return snakeCase
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getSnakeCase() {
return snakeCase;
}
@@ -72,7 +72,7 @@ public class Name {
* Get property
* @return property
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getProperty() {
return property;
}
@@ -85,7 +85,7 @@ public class Name {
* Get _123Number
* @return _123Number
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer get123Number() {
return _123Number;
}

View File

@@ -36,7 +36,7 @@ public class NumberOnly {
* Get justNumber
* @return justNumber
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public BigDecimal getJustNumber() {
return justNumber;
}

View File

@@ -76,7 +76,7 @@ public class Order {
* Get id
* @return id
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
@@ -94,7 +94,7 @@ public class Order {
* Get petId
* @return petId
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getPetId() {
return petId;
}
@@ -112,7 +112,7 @@ public class Order {
* Get quantity
* @return quantity
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Integer getQuantity() {
return quantity;
}
@@ -130,7 +130,7 @@ public class Order {
* Get shipDate
* @return shipDate
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public OffsetDateTime getShipDate() {
return shipDate;
}
@@ -148,7 +148,7 @@ public class Order {
* Order Status
* @return status
**/
@ApiModelProperty(example = "null", value = "Order Status")
@ApiModelProperty(value = "Order Status")
public StatusEnum getStatus() {
return status;
}
@@ -166,7 +166,7 @@ public class Order {
* Get complete
* @return complete
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Boolean getComplete() {
return complete;
}

View File

@@ -79,7 +79,7 @@ public class Pet {
* Get id
* @return id
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
@@ -97,7 +97,7 @@ public class Pet {
* Get category
* @return category
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Category getCategory() {
return category;
}
@@ -138,7 +138,7 @@ public class Pet {
* Get photoUrls
* @return photoUrls
**/
@ApiModelProperty(example = "null", required = true, value = "")
@ApiModelProperty(required = true, value = "")
public List<String> getPhotoUrls() {
return photoUrls;
}
@@ -161,7 +161,7 @@ public class Pet {
* Get tags
* @return tags
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public List<Tag> getTags() {
return tags;
}
@@ -179,7 +179,7 @@ public class Pet {
* pet status in the store
* @return status
**/
@ApiModelProperty(example = "null", value = "pet status in the store")
@ApiModelProperty(value = "pet status in the store")
public StatusEnum getStatus() {
return status;
}

View File

@@ -33,7 +33,7 @@ public class ReadOnlyFirst {
* Get bar
* @return bar
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getBar() {
return bar;
}
@@ -47,7 +47,7 @@ public class ReadOnlyFirst {
* Get baz
* @return baz
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getBaz() {
return baz;
}

View File

@@ -35,7 +35,7 @@ public class SpecialModelName {
* Get specialPropertyName
* @return specialPropertyName
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getSpecialPropertyName() {
return specialPropertyName;
}

View File

@@ -38,7 +38,7 @@ public class Tag {
* Get id
* @return id
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
@@ -56,7 +56,7 @@ public class Tag {
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getName() {
return name;
}

View File

@@ -56,7 +56,7 @@ public class User {
* Get id
* @return id
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
@@ -74,7 +74,7 @@ public class User {
* Get username
* @return username
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getUsername() {
return username;
}
@@ -92,7 +92,7 @@ public class User {
* Get firstName
* @return firstName
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getFirstName() {
return firstName;
}
@@ -110,7 +110,7 @@ public class User {
* Get lastName
* @return lastName
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getLastName() {
return lastName;
}
@@ -128,7 +128,7 @@ public class User {
* Get email
* @return email
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getEmail() {
return email;
}
@@ -146,7 +146,7 @@ public class User {
* Get password
* @return password
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getPassword() {
return password;
}
@@ -164,7 +164,7 @@ public class User {
* Get phone
* @return phone
**/
@ApiModelProperty(example = "null", value = "")
@ApiModelProperty(value = "")
public String getPhone() {
return phone;
}
@@ -182,7 +182,7 @@ public class User {
* User Status
* @return userStatus
**/
@ApiModelProperty(example = "null", value = "User Status")
@ApiModelProperty(value = "User Status")
public Integer getUserStatus() {
return userStatus;
}