Skip to content

Commit aab2093

Browse files
committed
bump jackson version to 2.9.9 in resteasy eap
1 parent 7c7bc14 commit aab2093

File tree

24 files changed

+108
-108
lines changed

24 files changed

+108
-108
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.5-SNAPSHOT
1+
3.0.11-SNAPSHOT

samples/server/petstore/jaxrs-resteasy/eap-java8/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
providedCompile 'org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:1.0.0.Final'
1717
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.0.11.Final'
1818
providedCompile 'javax.validation:validation-api:1.1.0.Final'
19-
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.6.3'
19+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9'
2020
testCompile 'junit:junit:4.12',
2121
'org.hamcrest:hamcrest-core:1.3'
2222
}

samples/server/petstore/jaxrs-resteasy/eap-java8/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,22 @@
178178
<dependency>
179179
<groupId>com.fasterxml.jackson.datatype</groupId>
180180
<artifactId>jackson-datatype-jsr310</artifactId>
181-
<version>2.6.3</version>
181+
<version>2.9.9</version>
182182
</dependency>
183183
<dependency>
184184
<groupId>com.fasterxml.jackson.core</groupId>
185185
<artifactId>jackson-databind</artifactId>
186-
<version>2.6.3</version>
186+
<version>2.9.9</version>
187187
</dependency>
188188
<dependency>
189189
<groupId>com.fasterxml.jackson.core</groupId>
190190
<artifactId>jackson-core</artifactId>
191-
<version>2.6.3</version>
191+
<version>2.9.9</version>
192192
</dependency>
193193
<dependency>
194194
<groupId>com.fasterxml.jackson.core</groupId>
195195
<artifactId>jackson-annotations</artifactId>
196-
<version>2.6.3</version>
196+
<version>2.9.9</version>
197197
</dependency>
198198
<dependency>
199199
<groupId>org.apache.httpcomponents</groupId>

samples/server/petstore/jaxrs-resteasy/eap-java8/src/gen/java/io/swagger/api/PetApi.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public interface PetApi {
3737

3838
@Operation(summary = "Add a new pet to the store", description = "", security = {
3939
@SecurityRequirement(name = "petstore_auth", scopes = {
40-
"" }) }, tags={ })
40+
"" }) }, tags={ "pet" })
4141
@ApiResponses(value = {
4242
@ApiResponse(responseCode = "405", description = "Invalid input")
4343
})
@@ -49,19 +49,19 @@ public interface PetApi {
4949

5050
@Operation(summary = "Deletes a pet", description = "", security = {
5151
@SecurityRequirement(name = "petstore_auth", scopes = {
52-
"" }) }, tags={ })
52+
"" }) }, tags={ "pet" })
5353
@ApiResponses(value = {
5454
@ApiResponse(responseCode = "400", description = "Invalid pet value")
5555
})
56-
Response deletePet( @PathParam("petId") Integer petId,@Parameter(description = "" )@HeaderParam("api_key") String apiKey,@Context SecurityContext securityContext);
56+
Response deletePet( @PathParam("petId") Long petId,@Parameter(description = "" )@HeaderParam("api_key") String apiKey,@Context SecurityContext securityContext);
5757

5858
@GET
5959
@Path("/findByStatus")
6060

6161
@Produces({ "application/xml", "application/json" })
6262
@Operation(summary = "Finds Pets by status", description = "Multiple status values can be provided with comma separated strings", security = {
6363
@SecurityRequirement(name = "petstore_auth", scopes = {
64-
"" }) }, tags={ })
64+
"" }) }, tags={ "pet" })
6565
@ApiResponses(value = {
6666
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(array = @ArraySchema(schema = @Schema(implementation = Pet.class)))),
6767
@ApiResponse(responseCode = "400", description = "Invalid status value")
@@ -74,7 +74,7 @@ public interface PetApi {
7474
@Produces({ "application/xml", "application/json" })
7575
@Operation(summary = "Finds Pets by tags", description = "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.", security = {
7676
@SecurityRequirement(name = "petstore_auth", scopes = {
77-
"" }) }, tags={ })
77+
"" }) }, tags={ "pet" })
7878
@ApiResponses(value = {
7979
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(array = @ArraySchema(schema = @Schema(implementation = Pet.class)))),
8080
@ApiResponse(responseCode = "400", description = "Invalid tag value")
@@ -86,21 +86,21 @@ public interface PetApi {
8686

8787
@Produces({ "application/xml", "application/json" })
8888
@Operation(summary = "Find pet by ID", description = "Returns a single pet", security = {
89-
@SecurityRequirement(name = "api_key") }, tags={ })
89+
@SecurityRequirement(name = "api_key") }, tags={ "pet" })
9090
@ApiResponses(value = {
9191
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = Pet.class))),
9292
@ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
9393
@ApiResponse(responseCode = "404", description = "Pet not found")
9494
})
95-
Response getPetById( @PathParam("petId") Integer petId,@Context SecurityContext securityContext);
95+
Response getPetById( @PathParam("petId") Long petId,@Context SecurityContext securityContext);
9696

9797
@PUT
9898

9999
@Consumes({ "application/json", "application/xml" })
100100

101101
@Operation(summary = "Update an existing pet", description = "", security = {
102102
@SecurityRequirement(name = "petstore_auth", scopes = {
103-
"" }) }, tags={ })
103+
"" }) }, tags={ "pet" })
104104
@ApiResponses(value = {
105105
@ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
106106
@ApiResponse(responseCode = "404", description = "Pet not found"),
@@ -114,22 +114,22 @@ public interface PetApi {
114114

115115
@Operation(summary = "Updates a pet in the store with form data", description = "", security = {
116116
@SecurityRequirement(name = "petstore_auth", scopes = {
117-
"" }) }, tags={ })
117+
"" }) }, tags={ "pet" })
118118
@ApiResponses(value = {
119119
@ApiResponse(responseCode = "405", description = "Invalid input")
120120
})
121-
Response updatePetWithForm( @PathParam("petId") Integer petId,@Parameter(description = "")@FormParam("name") String name,@Parameter(description = "")@FormParam("status") String status,@Context SecurityContext securityContext);
121+
Response updatePetWithForm( @PathParam("petId") Long petId,@Parameter(description = "")@FormParam("name") String name,@Parameter(description = "")@FormParam("status") String status,@Context SecurityContext securityContext);
122122

123123
@POST
124124
@Path("/{petId}/uploadImage")
125125
@Consumes({ "multipart/form-data" })
126126
@Produces({ "application/json" })
127127
@Operation(summary = "uploads an image", description = "", security = {
128128
@SecurityRequirement(name = "petstore_auth", scopes = {
129-
"" }) }, tags={ })
129+
"" }) }, tags={ "pet" })
130130
@ApiResponses(value = {
131131
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = ModelApiResponse.class)))
132132
})
133-
Response uploadFile(MultipartFormDataInput input, @PathParam("petId") Integer petId,@Context SecurityContext securityContext);
133+
Response uploadFile(MultipartFormDataInput input, @PathParam("petId") Long petId,@Context SecurityContext securityContext);
134134

135135
}

samples/server/petstore/jaxrs-resteasy/eap-java8/src/gen/java/io/swagger/api/StoreApi.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface StoreApi {
3333
@Path("/order/{orderId}")
3434

3535

36-
@Operation(summary = "Delete purchase order by ID", description = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors", tags={ })
36+
@Operation(summary = "Delete purchase order by ID", description = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors", tags={ "store" })
3737
@ApiResponses(value = {
3838
@ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
3939
@ApiResponse(responseCode = "404", description = "Order not found")
@@ -45,7 +45,7 @@ public interface StoreApi {
4545

4646
@Produces({ "application/json" })
4747
@Operation(summary = "Returns pet inventories by status", description = "Returns a map of status codes to quantities", security = {
48-
@SecurityRequirement(name = "api_key") }, tags={ })
48+
@SecurityRequirement(name = "api_key") }, tags={ "store" })
4949
@ApiResponses(value = {
5050
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(array = @ArraySchema(schema = @Schema(implementation = Map.class))))
5151
})
@@ -55,19 +55,19 @@ public interface StoreApi {
5555
@Path("/order/{orderId}")
5656

5757
@Produces({ "application/xml", "application/json" })
58-
@Operation(summary = "Find purchase order by ID", description = "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", tags={ })
58+
@Operation(summary = "Find purchase order by ID", description = "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", tags={ "store" })
5959
@ApiResponses(value = {
6060
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = Order.class))),
6161
@ApiResponse(responseCode = "400", description = "Invalid ID supplied"),
6262
@ApiResponse(responseCode = "404", description = "Order not found")
6363
})
64-
Response getOrderById( @Min(1) @Max(5) @PathParam("orderId") Integer orderId,@Context SecurityContext securityContext);
64+
Response getOrderById( @Min(1) @Max(5) @PathParam("orderId") Long orderId,@Context SecurityContext securityContext);
6565

6666
@POST
6767
@Path("/order")
6868
@Consumes({ "*/*" })
6969
@Produces({ "application/xml", "application/json" })
70-
@Operation(summary = "Place an order for a pet", description = "", tags={ })
70+
@Operation(summary = "Place an order for a pet", description = "", tags={ "store" })
7171
@ApiResponses(value = {
7272
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = Order.class))),
7373
@ApiResponse(responseCode = "400", description = "Invalid Order")

samples/server/petstore/jaxrs-resteasy/eap-java8/src/gen/java/io/swagger/api/UserApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface UserApi {
3232

3333
@Consumes({ "*/*" })
3434

35-
@Operation(summary = "Create user", description = "This can only be done by the logged in user.", tags={ })
35+
@Operation(summary = "Create user", description = "This can only be done by the logged in user.", tags={ "user" })
3636
@ApiResponses(value = {
3737
@ApiResponse(responseCode = "200", description = "successful operation")
3838
})
@@ -42,7 +42,7 @@ public interface UserApi {
4242
@Path("/createWithArray")
4343
@Consumes({ "*/*" })
4444

45-
@Operation(summary = "Creates list of users with given input array", description = "", tags={ })
45+
@Operation(summary = "Creates list of users with given input array", description = "", tags={ "user" })
4646
@ApiResponses(value = {
4747
@ApiResponse(responseCode = "200", description = "successful operation")
4848
})
@@ -52,7 +52,7 @@ public interface UserApi {
5252
@Path("/createWithList")
5353
@Consumes({ "*/*" })
5454

55-
@Operation(summary = "Creates list of users with given input array", description = "", tags={ })
55+
@Operation(summary = "Creates list of users with given input array", description = "", tags={ "user" })
5656
@ApiResponses(value = {
5757
@ApiResponse(responseCode = "200", description = "successful operation")
5858
})
@@ -62,7 +62,7 @@ public interface UserApi {
6262
@Path("/{username}")
6363

6464

65-
@Operation(summary = "Delete user", description = "This can only be done by the logged in user.", tags={ })
65+
@Operation(summary = "Delete user", description = "This can only be done by the logged in user.", tags={ "user" })
6666
@ApiResponses(value = {
6767
@ApiResponse(responseCode = "400", description = "Invalid username supplied"),
6868
@ApiResponse(responseCode = "404", description = "User not found")
@@ -73,7 +73,7 @@ public interface UserApi {
7373
@Path("/{username}")
7474

7575
@Produces({ "application/xml", "application/json" })
76-
@Operation(summary = "Get user by user name", description = "", tags={ })
76+
@Operation(summary = "Get user by user name", description = "", tags={ "user" })
7777
@ApiResponses(value = {
7878
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = User.class))),
7979
@ApiResponse(responseCode = "400", description = "Invalid username supplied"),
@@ -85,7 +85,7 @@ public interface UserApi {
8585
@Path("/login")
8686

8787
@Produces({ "application/xml", "application/json" })
88-
@Operation(summary = "Logs user into the system", description = "", tags={ })
88+
@Operation(summary = "Logs user into the system", description = "", tags={ "user" })
8989
@ApiResponses(value = {
9090
@ApiResponse(responseCode = "200", description = "successful operation", content = @Content(schema = @Schema(implementation = String.class))),
9191
@ApiResponse(responseCode = "400", description = "Invalid username/password supplied")
@@ -96,7 +96,7 @@ public interface UserApi {
9696
@Path("/logout")
9797

9898

99-
@Operation(summary = "Logs out current logged in user session", description = "", tags={ })
99+
@Operation(summary = "Logs out current logged in user session", description = "", tags={ "user" })
100100
@ApiResponses(value = {
101101
@ApiResponse(responseCode = "200", description = "successful operation")
102102
})
@@ -106,7 +106,7 @@ public interface UserApi {
106106
@Path("/{username}")
107107
@Consumes({ "*/*" })
108108

109-
@Operation(summary = "Updated user", description = "This can only be done by the logged in user.", tags={ })
109+
@Operation(summary = "Updated user", description = "This can only be done by the logged in user.", tags={ "user" })
110110
@ApiResponses(value = {
111111
@ApiResponse(responseCode = "400", description = "Invalid user supplied"),
112112
@ApiResponse(responseCode = "404", description = "User not found")

samples/server/petstore/jaxrs-resteasy/eap-java8/src/main/java/io/swagger/api/impl/PetApiServiceImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public Response addPet(Pet body,SecurityContext securityContext) {
2020
// do some magic!
2121
return Response.ok().build();
2222
}
23-
public Response deletePet(Integer petId,String apiKey,SecurityContext securityContext) {
23+
public Response deletePet(Long petId,String apiKey,SecurityContext securityContext) {
2424
// do some magic!
2525
return Response.ok().build();
2626
}
@@ -32,19 +32,19 @@ public Response findPetsByTags(List<String> tags,SecurityContext securityContext
3232
// do some magic!
3333
return Response.ok().build();
3434
}
35-
public Response getPetById(Integer petId,SecurityContext securityContext) {
35+
public Response getPetById(Long petId,SecurityContext securityContext) {
3636
// do some magic!
3737
return Response.ok().build();
3838
}
3939
public Response updatePet(Pet body,SecurityContext securityContext) {
4040
// do some magic!
4141
return Response.ok().build();
4242
}
43-
public Response updatePetWithForm(Integer petId,String name,String status,SecurityContext securityContext) {
43+
public Response updatePetWithForm(Long petId,String name,String status,SecurityContext securityContext) {
4444
// do some magic!
4545
return Response.ok().build();
4646
}
47-
public Response uploadFile(MultipartFormDataInput input,Integer petId,SecurityContext securityContext) {
47+
public Response uploadFile(MultipartFormDataInput input,Long petId,SecurityContext securityContext) {
4848
// do some magic!
4949
return Response.ok().build();
5050
}

samples/server/petstore/jaxrs-resteasy/eap-java8/src/main/java/io/swagger/api/impl/StoreApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public Response getInventory(SecurityContext securityContext) {
2222
// do some magic!
2323
return Response.ok().build();
2424
}
25-
public Response getOrderById(Integer orderId,SecurityContext securityContext) {
25+
public Response getOrderById(Long orderId,SecurityContext securityContext) {
2626
// do some magic!
2727
return Response.ok().build();
2828
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.5-SNAPSHOT
1+
3.0.11-SNAPSHOT

samples/server/petstore/jaxrs-resteasy/eap-joda/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
providedCompile 'org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:1.0.0.Final'
1717
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.0.11.Final'
1818
providedCompile 'javax.validation:validation-api:1.1.0.Final'
19-
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.6.3'
19+
compile 'com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.9'
2020
compile 'joda-time:joda-time:2.7'
2121
testCompile 'junit:junit:4.12',
2222
'org.hamcrest:hamcrest-core:1.3'

0 commit comments

Comments
 (0)