@@ -41,7 +41,7 @@ public interface PetApi {
41
41
@ Produces ({ "application/xml" , "application/json" })
42
42
@ ApiOperation (value = "Add a new pet to the store" , tags ={ })
43
43
@ ApiResponses (value = {
44
- @ ApiResponse (code = 405 , message = "Invalid input" , response = . class ) })
44
+ @ ApiResponse (code = 405 , message = "Invalid input" ) })
45
45
public void addPet (Pet body );
46
46
47
47
/**
@@ -55,7 +55,7 @@ public interface PetApi {
55
55
@ Produces ({ "application/xml" , "application/json" })
56
56
@ ApiOperation (value = "Deletes a pet" , tags ={ })
57
57
@ ApiResponses (value = {
58
- @ ApiResponse (code = 400 , message = "Invalid pet value" , response = . class ) })
58
+ @ ApiResponse (code = 400 , message = "Invalid pet value" ) })
59
59
public void deletePet (@ PathParam ("petId" ) Long petId , @ HeaderParam ("api_key" ) String apiKey );
60
60
61
61
/**
@@ -69,8 +69,8 @@ public interface PetApi {
69
69
@ Produces ({ "application/xml" , "application/json" })
70
70
@ ApiOperation (value = "Finds Pets by status" , tags ={ })
71
71
@ ApiResponses (value = {
72
- @ ApiResponse (code = 200 , message = "successful operation" , response = Pet .class , responseContainer = "array " ),
73
- @ ApiResponse (code = 400 , message = "Invalid status value" , response = . class ) })
72
+ @ ApiResponse (code = 200 , message = "successful operation" , response = Pet .class , responseContainer = "List " ),
73
+ @ ApiResponse (code = 400 , message = "Invalid status value" ) })
74
74
public List <Pet > findPetsByStatus (@ QueryParam ("status" )List <String > status );
75
75
76
76
/**
@@ -84,8 +84,8 @@ public interface PetApi {
84
84
@ Produces ({ "application/xml" , "application/json" })
85
85
@ ApiOperation (value = "Finds Pets by tags" , tags ={ })
86
86
@ ApiResponses (value = {
87
- @ ApiResponse (code = 200 , message = "successful operation" , response = Pet .class , responseContainer = "array " ),
88
- @ ApiResponse (code = 400 , message = "Invalid tag value" , response = . class ) })
87
+ @ ApiResponse (code = 200 , message = "successful operation" , response = Pet .class , responseContainer = "List " ),
88
+ @ ApiResponse (code = 400 , message = "Invalid tag value" ) })
89
89
public List <Pet > findPetsByTags (@ QueryParam ("tags" )List <String > tags );
90
90
91
91
/**
@@ -100,8 +100,8 @@ public interface PetApi {
100
100
@ ApiOperation (value = "Find pet by ID" , tags ={ })
101
101
@ ApiResponses (value = {
102
102
@ ApiResponse (code = 200 , message = "successful operation" , response = Pet .class ),
103
- @ ApiResponse (code = 400 , message = "Invalid ID supplied" , response = . class ),
104
- @ ApiResponse (code = 404 , message = "Pet not found" , response = . class ) })
103
+ @ ApiResponse (code = 400 , message = "Invalid ID supplied" ),
104
+ @ ApiResponse (code = 404 , message = "Pet not found" ) })
105
105
public Pet getPetById (@ PathParam ("petId" ) Long petId );
106
106
107
107
/**
@@ -116,9 +116,9 @@ public interface PetApi {
116
116
@ Produces ({ "application/xml" , "application/json" })
117
117
@ ApiOperation (value = "Update an existing pet" , tags ={ })
118
118
@ ApiResponses (value = {
119
- @ ApiResponse (code = 400 , message = "Invalid ID supplied" , response = . class ),
120
- @ ApiResponse (code = 404 , message = "Pet not found" , response = . class ),
121
- @ ApiResponse (code = 405 , message = "Validation exception" , response = . class ) })
119
+ @ ApiResponse (code = 400 , message = "Invalid ID supplied" ),
120
+ @ ApiResponse (code = 404 , message = "Pet not found" ),
121
+ @ ApiResponse (code = 405 , message = "Validation exception" ) })
122
122
public void updatePet (Pet body );
123
123
124
124
/**
@@ -133,7 +133,7 @@ public interface PetApi {
133
133
@ Produces ({ "application/xml" , "application/json" })
134
134
@ ApiOperation (value = "Updates a pet in the store with form data" , tags ={ })
135
135
@ ApiResponses (value = {
136
- @ ApiResponse (code = 405 , message = "Invalid input" , response = . class ) })
136
+ @ ApiResponse (code = 405 , message = "Invalid input" ) })
137
137
public void updatePetWithForm (@ PathParam ("petId" ) Long petId , @ Multipart (value = "name" , required = false ) String name , @ Multipart (value = "status" , required = false ) String status );
138
138
139
139
/**
0 commit comments