Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Fixed typos in operation descriptions #80

Merged
merged 1 commit into from
May 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/inflector-dropwizard-guice/src/main/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ paths:
tags:
- pet
summary: Finds Pets by status
description: Multiple status values can be provided with comma seperated strings
description: Multiple status values can be provided with comma separated strings
operationId: findPetsByStatus
consumes:
- application/xml
Expand Down Expand Up @@ -131,7 +131,7 @@ paths:
tags:
- pet
summary: Finds Pets by tags
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
operationId: findPetsByTags
produces:
- application/xml
Expand Down
4 changes: 2 additions & 2 deletions java/inflector-dropwizard/src/main/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ paths:
tags:
- pet
summary: Finds Pets by status
description: Multiple status values can be provided with comma seperated strings
description: Multiple status values can be provided with comma separated strings
operationId: findPetsByStatus
consumes:
- application/xml
Expand Down Expand Up @@ -131,7 +131,7 @@ paths:
tags:
- pet
summary: Finds Pets by tags
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
operationId: findPetsByTags
produces:
- application/xml
Expand Down
4 changes: 2 additions & 2 deletions java/inflector-jetty-webxml/src/main/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ paths:
tags:
- pet
summary: Finds Pets by status
description: Multiple status values can be provided with comma seperated strings
description: Multiple status values can be provided with comma separated strings
operationId: findPetsByStatus
consumes:
- application/xml
Expand Down Expand Up @@ -134,7 +134,7 @@ paths:
tags:
- pet
summary: Finds Pets by tags
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
operationId: findPetsByTags
produces:
- application/xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ paths:
tags:
- pet
summary: Finds Pets by status
description: Multiple status values can be provided with comma seperated strings
description: Multiple status values can be provided with comma separated strings
operationId: findPetsByStatus
consumes:
- application/xml
Expand Down Expand Up @@ -131,7 +131,7 @@ paths:
tags:
- pet
summary: Finds Pets by tags
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
operationId: findPetsByTags
produces:
- application/xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public Response updatePet(
@Path("/findByStatus")
@ApiOperation(
value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Response updatePet(

@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status", notes = "Multiple status values can be provided with comma seperated strings", response = Pet.class, responseContainer = "List")
@ApiOperation(value = "Finds Pets by status", notes = "Multiple status values can be provided with comma separated strings", response = Pet.class, responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
public Response findPetsByStatus(
@ApiParam(value = "Status values that need to be considered for filter", required = true, defaultValue = "available", allowableValues = "available,pending,sold", allowMultiple = true) @QueryParam("status") String status) {
Expand All @@ -78,7 +78,7 @@ public Response findPetsByStatus(

@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags", notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.", response = Pet.class, responseContainer = "List")
@ApiOperation(value = "Finds Pets by tags", notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.", response = Pet.class, responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
@Deprecated
public Response findPetsByTags(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand All @@ -83,7 +83,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand All @@ -142,7 +142,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = {@ApiResponse(code = 400, message = "Invalid status value")})
Expand All @@ -59,7 +59,7 @@ Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = {@ApiResponse(code = 400, message = "Invalid tag value")})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand All @@ -84,7 +84,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Response updatePet(
@GET
@Path("/findByStatus")
@ApiOperation(value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
Expand All @@ -111,7 +111,7 @@ public Response findPetsByStatus(
@GET
@Path("/findByTags")
@ApiOperation(value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = Pet.class,
responseContainer = "List")
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
Expand Down
4 changes: 2 additions & 2 deletions scala/scala-play2.4/app/controllers/PetApiController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class PetApiController extends BaseApiController {

@ApiOperation(nickname = "findPetByStatus",
value = "Finds Pets by status",
notes = "Multiple status values can be provided with comma seperated strings",
notes = "Multiple status values can be provided with comma separated strings",
response = classOf[models.Pet], responseContainer = "List", httpMethod = "GET")
@ApiResponses(Array(
new ApiResponse(code = 400, message = "Invalid status value")))
Expand All @@ -103,7 +103,7 @@ class PetApiController extends BaseApiController {

@ApiOperation(nickname = "findPetsByTags",
value = "Finds Pets by tags",
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
response = classOf[models.Pet], responseContainer = "List", httpMethod = "GET")
@ApiResponses(Array(
new ApiResponse(code = 400, message = "Invalid tag value")))
Expand Down