Skip to content

Commit b785b78

Browse files
authored
Merge pull request #1 from janamanoharan/master
updated annotations
2 parents a561ae2 + e22cf1d commit b785b78

File tree

17 files changed

+28
-26
lines changed

17 files changed

+28
-26
lines changed

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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public Response updatePet(
245245
schema = @Schema(type = "list", implementation = Pet.class))
246246
)
247247
})
248+
248249
public Response findPetsByStatus(
249250
@Parameter(
250251
name = "status",
@@ -275,6 +276,7 @@ public Response findPetsByStatus(
275276

276277
@GET
277278
@Path("/findByTags")
279+
278280
@Callback(operation =
279281
@Operation(
280282
method = "GET",

java/java-jersey-jaxrs-multi-use-basepath/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>io.swagger</groupId>
10-
<artifactId>swagger-java-jersey-multi-sample-app</artifactId>
10+
<artifactId>swagger-java-jersey-multi-use-basepath-sample-app</artifactId>
1111
<packaging>war</packaging>
12-
<name>swagger-java-jersey-jaxrs-multi-app</name>
12+
<name>swagger-java-jersey-jaxrs-multi-use-basepath-app</name>
1313
<version>1.0.0</version>
1414
<build>
1515
<sourceDirectory>src/main/java</sourceDirectory>

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") })

java/java-jersey-jaxrs-multi/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") })

java/java-jersey-jaxrs/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") })

java/java-jersey-spring/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Response updatePet(
4949
@GET
5050
@Path("/findByStatus")
5151
@ApiOperation(value = "Finds Pets by status",
52-
notes = "Multiple status values can be provided with comma seperated strings",
52+
notes = "Multiple status values can be provided with comma separated strings",
5353
response = Pet.class,
5454
responseContainer = "List")
5555
@ApiResponses(value = {@ApiResponse(code = 400, message = "Invalid status value")})
@@ -59,7 +59,7 @@ Response findPetsByStatus(
5959
@GET
6060
@Path("/findByTags")
6161
@ApiOperation(value = "Finds Pets by tags",
62-
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
62+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
6363
response = Pet.class,
6464
responseContainer = "List")
6565
@ApiResponses(value = {@ApiResponse(code = 400, message = "Invalid tag value")})

java/java-jersey2-guice/src/main/java/io/swagger/sample/resource/PetResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public Response findPetsByStatus(
8484
@GET
8585
@Path("/findByTags")
8686
@ApiOperation(value = "Finds Pets by tags",
87-
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
87+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
8888
response = Pet.class,
8989
responseContainer = "List")
9090
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Response updatePet(
9999
@GET
100100
@Path("/findByStatus")
101101
@ApiOperation(value = "Finds Pets by status",
102-
notes = "Multiple status values can be provided with comma seperated strings",
102+
notes = "Multiple status values can be provided with comma separated strings",
103103
response = Pet.class,
104104
responseContainer = "List")
105105
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid status value") })
@@ -111,7 +111,7 @@ public Response findPetsByStatus(
111111
@GET
112112
@Path("/findByTags")
113113
@ApiOperation(value = "Finds Pets by tags",
114-
notes = "Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.",
114+
notes = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
115115
response = Pet.class,
116116
responseContainer = "List")
117117
@ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid tag value") })

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class PetApiController extends BaseApiController {
8989

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

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

0 commit comments

Comments
 (0)