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

Commit aa04d8b

Browse files
author
Ron
authored
Merge pull request #80 from hkosova/master
Fixed typos in operation descriptions
2 parents 4e4d8f1 + 7179d83 commit aa04d8b

17 files changed

Lines changed: 28 additions & 28 deletions

File tree

java/inflector-dropwizard-guice/src/main/swagger/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ paths:
8989
tags:
9090
- pet
9191
summary: Finds Pets by status
92-
description: Multiple status values can be provided with comma seperated strings
92+
description: Multiple status values can be provided with comma separated strings
9393
operationId: findPetsByStatus
9494
consumes:
9595
- application/xml
@@ -131,7 +131,7 @@ paths:
131131
tags:
132132
- pet
133133
summary: Finds Pets by tags
134-
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
134+
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
135135
operationId: findPetsByTags
136136
produces:
137137
- application/xml

java/inflector-dropwizard/src/main/swagger/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ paths:
8989
tags:
9090
- pet
9191
summary: Finds Pets by status
92-
description: Multiple status values can be provided with comma seperated strings
92+
description: Multiple status values can be provided with comma separated strings
9393
operationId: findPetsByStatus
9494
consumes:
9595
- application/xml
@@ -131,7 +131,7 @@ paths:
131131
tags:
132132
- pet
133133
summary: Finds Pets by tags
134-
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
134+
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
135135
operationId: findPetsByTags
136136
produces:
137137
- application/xml

java/inflector-jetty-webxml/src/main/swagger/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ paths:
9292
tags:
9393
- pet
9494
summary: Finds Pets by status
95-
description: Multiple status values can be provided with comma seperated strings
95+
description: Multiple status values can be provided with comma separated strings
9696
operationId: findPetsByStatus
9797
consumes:
9898
- application/xml
@@ -134,7 +134,7 @@ paths:
134134
tags:
135135
- pet
136136
summary: Finds Pets by tags
137-
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
137+
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
138138
operationId: findPetsByTags
139139
produces:
140140
- application/xml

java/inflector-springboot-jersey/src/main/swagger/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ paths:
8989
tags:
9090
- pet
9191
summary: Finds Pets by status
92-
description: Multiple status values can be provided with comma seperated strings
92+
description: Multiple status values can be provided with comma separated strings
9393
operationId: findPetsByStatus
9494
consumes:
9595
- application/xml
@@ -131,7 +131,7 @@ paths:
131131
tags:
132132
- pet
133133
summary: Finds Pets by tags
134-
description: "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing."
134+
description: "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing."
135135
operationId: findPetsByTags
136136
produces:
137137
- application/xml

java/java-dropwizard/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public Response updatePet(
7373
@Path("/findByStatus")
7474
@ApiOperation(
7575
value = "Finds Pets by status",
76-
notes = "Multiple status values can be provided with comma seperated strings",
76+
notes = "Multiple status values can be provided with comma separated strings",
7777
response = Pet.class,
7878
responseContainer = "List")
7979
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })

java/java-grails2/src/java/io/swagger/sample/resource/PetResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public Response updatePet(
6969

7070
@GET
7171
@Path("/findByStatus")
72-
@ApiOperation(value = "Finds Pets by status", notes = "Multiple status values can be provided with comma seperated strings", response = Pet.class, responseContainer = "List")
72+
@ApiOperation(value = "Finds Pets by status", notes = "Multiple status values can be provided with comma separated strings", response = Pet.class, responseContainer = "List")
7373
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
7474
public Response findPetsByStatus(
7575
@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) {
@@ -78,7 +78,7 @@ public Response findPetsByStatus(
7878

7979
@GET
8080
@Path("/findByTags")
81-
@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")
81+
@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")
8282
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })
8383
@Deprecated
8484
public Response findPetsByTags(

java/java-jaxrs-cxf/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public Response updatePet(
7171
@GET
7272
@Path("/findByStatus")
7373
@ApiOperation(value = "Finds Pets by status",
74-
notes = "Multiple status values can be provided with comma seperated strings",
74+
notes = "Multiple status values can be provided with comma separated strings",
7575
response = Pet.class,
7676
responseContainer = "List")
7777
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
@@ -83,7 +83,7 @@ public Response findPetsByStatus(
8383
@GET
8484
@Path("/findByTags")
8585
@ApiOperation(value = "Finds Pets by tags",
86-
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
86+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
8787
response = Pet.class,
8888
responseContainer = "List")
8989
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })

java/java-jaxrs-wink/src/main/java/io/swagger/sample/resources/PetResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public Response updatePet(
8282
@GET
8383
@Path("/findByStatus")
8484
@ApiOperation(value = "Finds Pets by status",
85-
notes = "Multiple status values can be provided with comma seperated strings",
85+
notes = "Multiple status values can be provided with comma separated strings",
8686
response = Pet.class,
8787
responseContainer = "List")
8888
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })

java/java-jaxrs/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public Response updatePet(
130130
@GET
131131
@Path("/findByStatus")
132132
@ApiOperation(value = "Finds Pets by status",
133-
notes = "Multiple status values can be provided with comma seperated strings",
133+
notes = "Multiple status values can be provided with comma separated strings",
134134
response = Pet.class,
135135
responseContainer = "List")
136136
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
@@ -142,7 +142,7 @@ public Response findPetsByStatus(
142142
@GET
143143
@Path("/findByTags")
144144
@ApiOperation(value = "Finds Pets by tags",
145-
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
145+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
146146
response = Pet.class,
147147
responseContainer = "List")
148148
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })

java/java-jersey-jaxrs-multi-use-basepath/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public Response findPetsByStatus(
149149
@GET
150150
@Path("/findByTags")
151151
@ApiOperation(value = "Finds Pets by tags",
152-
notes = "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
152+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
153153
response = Pet.class,
154154
responseContainer = "List")
155155
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })

0 commit comments

Comments
 (0)