Skip to content

Commit a1fa0b0

Browse files
committed
Rebuild Petstore samples
1 parent 02a9fe2 commit a1fa0b0

File tree

4 files changed

+6
-6
lines changed
  • samples/client/petstore

4 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import java.util.*;
1313

14-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-10-09T21:30:27.235+08:00")
14+
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-10-16T10:32:51.872+08:00")
1515
public class PetApi {
1616
private ApiClient apiClient;
1717

@@ -266,7 +266,7 @@ public Pet getPetById (Long petId) throws ApiException {
266266
};
267267
final String contentType = apiClient.selectHeaderContentType(contentTypes);
268268

269-
String[] authNames = new String[] { "petstore_auth", "api_key" };
269+
String[] authNames = new String[] { "api_key" };
270270

271271

272272

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import java.util.*;
1313

14-
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-10-09T21:30:19.416+08:00")
14+
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-10-16T10:40:45.419+08:00")
1515
public class PetApi {
1616
private ApiClient apiClient;
1717

@@ -237,7 +237,7 @@ public Pet getPetById (Long petId) throws ApiException {
237237
};
238238
final String contentType = apiClient.selectHeaderContentType(contentTypes);
239239

240-
String[] authNames = new String[] { "petstore_auth", "api_key" };
240+
String[] authNames = new String[] { "api_key" };
241241

242242

243243
TypeRef returnType = new TypeRef<Pet>() {};

samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/api/PetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private Call getPetByIdCall(Long petId) throws ApiException {
290290
final String contentType = apiClient.selectHeaderContentType(contentTypes);
291291
headerParams.put("Content-Type", contentType);
292292

293-
String[] authNames = new String[] { "petstore_auth", "api_key" };
293+
String[] authNames = new String[] { "api_key" };
294294
return apiClient.buildCall(path, "GET", queryParams, postBody, headerParams, formParams, authNames);
295295
}
296296

samples/client/petstore/ruby/lib/petstore/api/pet_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def get_pet_by_id(pet_id, opts = {})
237237
post_body = nil
238238

239239

240-
auth_names = ['petstore_auth', 'api_key']
240+
auth_names = ['api_key']
241241
result = @api_client.call_api(:GET, path,
242242
:header_params => header_params,
243243
:query_params => query_params,

0 commit comments

Comments
 (0)