Skip to content

Commit 52eb804

Browse files
committed
formatting
1 parent 9827f7b commit 52eb804

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/scala-play2/app/controllers/PetApiController.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class PetApiController extends BaseApiController {
5959
}
6060

6161
@ApiOperation(nickname = "updatePet",
62-
value = "Update an existing Pet", response = classOf[Void], httpMethod = "PUT")
62+
value = "Update an existing Pet", response = classOf[Void], httpMethod = "PUT")
6363
@ApiResponses(Array(
6464
new ApiResponse(code = 400, message = "Invalid ID supplied"),
6565
new ApiResponse(code = 404, message = "Pet not found"),
@@ -79,7 +79,7 @@ value = "Update an existing Pet", response = classOf[Void], httpMethod = "PUT")
7979
}
8080

8181
@ApiOperation(nickname = "findPetByStatus",
82-
value = "Finds Pets by status",
82+
value = "Finds Pets by status",
8383
notes = "Multiple status values can be provided with comma seperated strings",
8484
response = classOf[models.Pet], responseContainer = "List", httpMethod = "GET")
8585
@ApiResponses(Array(
@@ -93,7 +93,7 @@ value = "Finds Pets by status",
9393
}
9494

9595
@ApiOperation(nickname = "findPetsByTags",
96-
value = "Finds Pets by tags",
96+
value = "Finds Pets by tags",
9797
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
9898
response = classOf[models.Pet], responseContainer = "List", httpMethod = "GET")
9999
@ApiResponses(Array(
@@ -109,7 +109,7 @@ value = "Finds Pets by tags",
109109
@ApiOperation(nickname = "attachImage",
110110
value = "Attach an Image File for a pet",
111111
notes = "Is not functional, only used to test file upload params",
112-
response = classOf[Void], httpMethod = "GET")
112+
response = classOf[Void], httpMethod = "POST")
113113
@ApiResponses(Array(
114114
new ApiResponse(code = 400, message = "Invalid file format")))
115115
@ApiImplicitParams(Array(

0 commit comments

Comments
 (0)