@@ -63,7 +63,7 @@ public Response addPet(@Parameter(description = "Pet object that needs to be add
63
63
}, tags ={ "pet" })
64
64
@ ApiResponses (value = {
65
65
@ ApiResponse (responseCode = "400" , description = "Invalid pet value" ) })
66
- public Response deletePet ( @ PathParam ("petId" ) Integer petId ,@ Parameter (description = "" )@ HeaderParam ("api_key" ) String apiKey ,@ Context SecurityContext securityContext )
66
+ public Response deletePet ( @ PathParam ("petId" ) Long petId ,@ Parameter (description = "" )@ HeaderParam ("api_key" ) String apiKey ,@ Context SecurityContext securityContext )
67
67
throws NotFoundException {
68
68
return service .deletePet (petId ,apiKey ,securityContext );
69
69
}
@@ -114,7 +114,7 @@ public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,
114
114
@ ApiResponse (responseCode = "400" , description = "Invalid ID supplied" ),
115
115
116
116
@ ApiResponse (responseCode = "404" , description = "Pet not found" ) })
117
- public Response getPetById ( @ PathParam ("petId" ) Integer petId ,@ Context SecurityContext securityContext )
117
+ public Response getPetById ( @ PathParam ("petId" ) Long petId ,@ Context SecurityContext securityContext )
118
118
throws NotFoundException {
119
119
return service .getPetById (petId ,securityContext );
120
120
}
@@ -148,7 +148,7 @@ public Response updatePet(@Parameter(description = "Pet object that needs to be
148
148
}, tags ={ "pet" })
149
149
@ ApiResponses (value = {
150
150
@ ApiResponse (responseCode = "405" , description = "Invalid input" ) })
151
- public Response updatePetWithForm ( @ PathParam ("petId" ) Integer petId ,@ Parameter (description = "" )@ FormParam ("name" ) String name ,@ Parameter (description = "" )@ FormParam ("status" ) String status ,@ Context SecurityContext securityContext )
151
+ public Response updatePetWithForm ( @ PathParam ("petId" ) Long petId ,@ Parameter (description = "" )@ FormParam ("name" ) String name ,@ Parameter (description = "" )@ FormParam ("status" ) String status ,@ Context SecurityContext securityContext )
152
152
throws NotFoundException {
153
153
return service .updatePetWithForm (petId ,name ,status ,securityContext );
154
154
}
@@ -163,7 +163,7 @@ public Response updatePetWithForm( @PathParam("petId") Integer petId,@Parameter(
163
163
}, tags ={ "pet" })
164
164
@ ApiResponses (value = {
165
165
@ ApiResponse (responseCode = "200" , description = "successful operation" , content = @ Content (schema = @ Schema (implementation = ModelApiResponse .class ))) })
166
- public Response uploadFile (MultipartFormDataInput input , @ PathParam ("petId" ) Integer petId ,@ Context SecurityContext securityContext )
166
+ public Response uploadFile (MultipartFormDataInput input , @ PathParam ("petId" ) Long petId ,@ Context SecurityContext securityContext )
167
167
throws NotFoundException {
168
168
return service .uploadFile (input ,petId ,securityContext );
169
169
}
0 commit comments