Skip to content

Commit 034ed5d

Browse files
committed
rebuilt with generation timestamp disabled
1 parent 3e279fc commit 034ed5d

20 files changed

+47
-27
lines changed

samples/client/petstore/java/default/src/main/java/io/swagger/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.util.Map;
44
import java.util.List;
55

6-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
6+
77
public class ApiException extends Exception {
88
private int code = 0;
99
private Map<String, List<String>> responseHeaders = null;

samples/client/petstore/java/default/src/main/java/io/swagger/client/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.swagger.client;
22

3-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
3+
44
public class Configuration {
55
private static ApiClient defaultApiClient = new ApiClient();
66

samples/client/petstore/java/default/src/main/java/io/swagger/client/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.swagger.client;
22

3-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
3+
44
public class Pair {
55
private String name = "";
66
private String value = "";

samples/client/petstore/java/default/src/main/java/io/swagger/client/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.swagger.client;
22

3-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
3+
44
public class StringUtil {
55
/**
66
* Check if the given array contains the given value (with case-insensitive comparison).

samples/client/petstore/java/default/src/main/java/io/swagger/client/api/PetApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.List;
1717
import java.util.Map;
1818

19-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T16:01:11.428+08:00")
19+
2020
public class PetApi {
2121
private ApiClient apiClient;
2222

@@ -294,7 +294,7 @@ public Pet getPetById(Long petId) throws ApiException {
294294
};
295295
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
296296

297-
String[] localVarAuthNames = new String[] { "petstore_auth", "api_key" };
297+
String[] localVarAuthNames = new String[] { "api_key", "petstore_auth" };
298298

299299

300300
GenericType<Pet> localVarReturnType = new GenericType<Pet>() {};
@@ -342,7 +342,7 @@ public InlineResponse200 getPetByIdInObject(Long petId) throws ApiException {
342342
};
343343
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
344344

345-
String[] localVarAuthNames = new String[] { "petstore_auth", "api_key" };
345+
String[] localVarAuthNames = new String[] { "api_key", "petstore_auth" };
346346

347347

348348
GenericType<InlineResponse200> localVarReturnType = new GenericType<InlineResponse200>() {};
@@ -390,7 +390,7 @@ public byte[] petPetIdtestingByteArraytrueGet(Long petId) throws ApiException {
390390
};
391391
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
392392

393-
String[] localVarAuthNames = new String[] { "petstore_auth", "api_key" };
393+
String[] localVarAuthNames = new String[] { "api_key", "petstore_auth" };
394394

395395

396396
GenericType<byte[]> localVarReturnType = new GenericType<byte[]>() {};

samples/client/petstore/java/default/src/main/java/io/swagger/client/api/StoreApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.util.List;
1515
import java.util.Map;
1616

17-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T16:01:11.428+08:00")
17+
1818
public class StoreApi {
1919
private ApiClient apiClient;
2020

@@ -247,7 +247,7 @@ public Order getOrderById(String orderId) throws ApiException {
247247
};
248248
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
249249

250-
String[] localVarAuthNames = new String[] { "test_api_key_query", "test_api_key_header" };
250+
String[] localVarAuthNames = new String[] { "test_api_key_header", "test_api_key_query" };
251251

252252

253253
GenericType<Order> localVarReturnType = new GenericType<Order>() {};

samples/client/petstore/java/default/src/main/java/io/swagger/client/api/UserApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.util.List;
1515
import java.util.Map;
1616

17-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T16:01:11.428+08:00")
17+
1818
public class UserApi {
1919
private ApiClient apiClient;
2020

@@ -204,7 +204,7 @@ public void deleteUser(String username) throws ApiException {
204204
/**
205205
* Get user by user name
206206
*
207-
* @param username The name that needs to be fetched. Use user1 for testing. (required)
207+
* @param username The name that needs to be fetched. Use user1 for testing. (required)
208208
* @return User
209209
* @throws ApiException if fails to make API call
210210
*/

samples/client/petstore/java/default/src/main/java/io/swagger/client/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Map;
66
import java.util.List;
77

8-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
8+
99
public class ApiKeyAuth implements Authentication {
1010
private final String location;
1111
private final String paramName;

samples/client/petstore/java/default/src/main/java/io/swagger/client/auth/HttpBasicAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import java.io.UnsupportedEncodingException;
1111

12-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
12+
1313
public class HttpBasicAuth implements Authentication {
1414
private String username;
1515
private String password;

samples/client/petstore/java/default/src/main/java/io/swagger/client/auth/OAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.util.Map;
66
import java.util.List;
77

8-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-03-17T10:45:51.189+08:00")
8+
99
public class OAuth implements Authentication {
1010
private String accessToken;
1111

0 commit comments

Comments
 (0)