You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ApiImplicitParams({ @ApiImplicitParam(value = "Pet object that needs to be added to the store", required = true, dataType = "Pet", paramType = "body") })
@ApiParamsImplicit({ @ApiParamImplicit(value = "Pet object that needs to be added to the store", required = true, dataType = "Pet", paramType = "body") })
37
37
publicstaticResultaddPet() {
38
38
Objecto = request().body().asJson();
39
39
try {
@@ -47,10 +47,10 @@ public static Result addPet() {
@ApiImplicitParams({ @ApiImplicitParam(value = "Pet object that needs to be updated in the store", required = true, dataType = "Pet", paramType = "body") })
@ApiParamsImplicit({ @ApiParamImplicit(value = "Pet object that needs to be updated in the store", required = true, dataType = "Pet", paramType = "body") })
54
54
publicstaticResultupdatePet() {
55
55
Objecto = request().body().asJson();
56
56
try {
@@ -65,7 +65,7 @@ public static Result updatePet() {
65
65
@GET
66
66
@Path("/findByStatus")
67
67
@ApiOperation(value = "Finds Pets by status", notes = "Multiple status values can be provided with comma seperated strings", responseClass = "models.Pet", multiValueResponse = true)
@ApiParam(value = "Status values that need to be considered for filter", required = true, defaultValue = "available", allowableValues = "available,pending,sold", allowMultiple = true) @QueryParam("status") Stringstatus) {
@@ -74,7 +74,7 @@ public static Result findPetsByStatus(
74
74
@GET
75
75
@Path("/findByTags")
76
76
@ApiOperation(value = "Finds Pets by tags", notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.", responseClass = "models.Pet", multiValueResponse = true)
0 commit comments