diff --git a/.gitignore b/.gitignore
index 2146898f27..ceacfbcb75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -80,6 +80,7 @@ samples/client/petstore/java/default/build/
samples/client/petstore/scala/build/
samples/client/petstore/java/resttemplate/hello.txt
samples/client/petstore/java/retrofit2/hello.txt
+samples/client/petstore/java/feign/hello.txt
#PHP
samples/client/petstore/php/SwaggerClient-php/composer.lock
diff --git a/modules/swagger-codegen/src/main/resources/JavaJaxRS/cxf/server/pom.mustache b/modules/swagger-codegen/src/main/resources/JavaJaxRS/cxf/server/pom.mustache
index ddf991b6a3..2bc2739b1f 100644
--- a/modules/swagger-codegen/src/main/resources/JavaJaxRS/cxf/server/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/JavaJaxRS/cxf/server/pom.mustache
@@ -241,7 +241,7 @@
4.3.9.RELEASE
{{/generateSpringApplication}}
{{#generateSpringBootApplication}}
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
{{/generateSpringBootApplication}}
3.1.11
2.8.9
diff --git a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-boot/pom.mustache b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-boot/pom.mustache
index f42ea7adff..86c50e3a38 100644
--- a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-boot/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-boot/pom.mustache
@@ -9,12 +9,12 @@
{{#java8}}1.8{{/java8}}{{^java8}}1.7{{/java8}}
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-cloud/pom.mustache b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-cloud/pom.mustache
index d47cb8524d..b434ee572c 100644
--- a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-cloud/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-cloud/pom.mustache
@@ -14,7 +14,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-mvc/pom.mustache b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-mvc/pom.mustache
index fc58cd9d2e..307cf529bf 100644
--- a/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-mvc/pom.mustache
+++ b/modules/swagger-codegen/src/main/resources/JavaSpring/libraries/spring-mvc/pom.mustache
@@ -159,7 +159,7 @@
1.7.21
4.12
2.5
- 2.6.0
+ 2.7.0
2.8.9
2.6.4
4.3.9.RELEASE
diff --git a/samples/client/petstore/spring-cloud/pom.xml b/samples/client/petstore/spring-cloud/pom.xml
index 6584929902..9361435603 100644
--- a/samples/client/petstore/spring-cloud/pom.xml
+++ b/samples/client/petstore/spring-cloud/pom.xml
@@ -14,7 +14,7 @@
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/samples/client/petstore/spring-stubs/pom.xml b/samples/client/petstore/spring-stubs/pom.xml
index 52dd32b90f..cfb1f67fdb 100644
--- a/samples/client/petstore/spring-stubs/pom.xml
+++ b/samples/client/petstore/spring-stubs/pom.xml
@@ -42,9 +42,12 @@
- com.github.joschi.jackson
- jackson-datatype-threetenbp
- 2.6.4
+ com.fasterxml.jackson.datatype
+ jackson-datatype-joda
+
+
+ joda-time
+ joda-time
diff --git a/samples/server/petstore/jaxrs-cxf/.swagger-codegen-ignore b/samples/server/petstore/jaxrs-cxf/.swagger-codegen-ignore
index 70b88e7103..e36d46f134 100644
--- a/samples/server/petstore/jaxrs-cxf/.swagger-codegen-ignore
+++ b/samples/server/petstore/jaxrs-cxf/.swagger-codegen-ignore
@@ -22,4 +22,4 @@
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
-**/impl/*
\ No newline at end of file
+#**/impl/*
diff --git a/samples/server/petstore/jaxrs-cxf/.swagger-codegen/VERSION b/samples/server/petstore/jaxrs-cxf/.swagger-codegen/VERSION
index 7fea99011a..f9f7450d13 100644
--- a/samples/server/petstore/jaxrs-cxf/.swagger-codegen/VERSION
+++ b/samples/server/petstore/jaxrs-cxf/.swagger-codegen/VERSION
@@ -1 +1 @@
-2.2.3-SNAPSHOT
\ No newline at end of file
+2.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeApi.java b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeApi.java
index 6411e862c1..1e201b5f14 100644
--- a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeApi.java
+++ b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeApi.java
@@ -78,10 +78,18 @@ public interface FakeApi {
@Path("/fake")
@Consumes({ "*/*" })
@Produces({ "*/*" })
- @ApiOperation(value = "To test enum parameters", tags={ "fake" })
+ @ApiOperation(value = "To test enum parameters", tags={ "fake", })
@ApiResponses(value = {
@ApiResponse(code = 400, message = "Invalid request"),
@ApiResponse(code = 404, message = "Not found") })
public void testEnumParameters(@Multipart(value = "enum_form_string_array", required = false) List enumFormStringArray, @Multipart(value = "enum_form_string", required = false) String enumFormString, @HeaderParam("enum_header_string_array") List enumHeaderStringArray, @HeaderParam("enum_header_string") String enumHeaderString, @QueryParam("enum_query_string_array") List enumQueryStringArray, @QueryParam("enum_query_string") @DefaultValue("-efg") String enumQueryString, @QueryParam("enum_query_integer") Integer enumQueryInteger, @Multipart(value = "enum_query_double", required = false) Double enumQueryDouble);
+
+ @GET
+ @Path("/fake/jsonFormData")
+ @Consumes({ "application/json" })
+ @ApiOperation(value = "test json serialization of form data", tags={ "fake" })
+ @ApiResponses(value = {
+ @ApiResponse(code = 200, message = "successful operation") })
+ public void testJsonFormData(@Multipart(value = "param") String param, @Multipart(value = "param2") String param2);
}
diff --git a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeClassnameTags123Api.java b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeClassnameTags123Api.java
index e0e30bba64..021e7eeb91 100644
--- a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeClassnameTags123Api.java
+++ b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/api/FakeClassnameTags123Api.java
@@ -17,6 +17,7 @@ import io.swagger.annotations.ApiResponses;
import io.swagger.annotations.ApiResponse;
import io.swagger.jaxrs.PATCH;
import javax.validation.constraints.*;
+import javax.validation.Valid;
@Path("/")
@Api(value = "/", description = "")
@@ -29,6 +30,6 @@ public interface FakeClassnameTags123Api {
@ApiOperation(value = "To test class name in snake case", tags={ "fake_classname_tags 123#$%^" })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Client.class) })
- public Client testClassname(Client body);
+ public Client testClassname(@Valid Client body);
}
diff --git a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/model/FormatTest.java b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/model/FormatTest.java
index cf49e7062a..bbb02c8525 100644
--- a/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/model/FormatTest.java
+++ b/samples/server/petstore/jaxrs-cxf/src/gen/java/io/swagger/model/FormatTest.java
@@ -179,7 +179,7 @@ public class FormatTest {
* @return _byte
**/
@NotNull
- public byte[] getByte() {
+ @Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
return _byte;
}
diff --git a/samples/server/petstore/jaxrs-cxf/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java b/samples/server/petstore/jaxrs-cxf/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
index 92699c3411..b170bddee2 100644
--- a/samples/server/petstore/jaxrs-cxf/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
+++ b/samples/server/petstore/jaxrs-cxf/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
@@ -4,9 +4,8 @@ import io.swagger.api.*;
import java.math.BigDecimal;
import io.swagger.model.Client;
import java.util.Date;
-
-import io.swagger.model.OuterComposite;
import org.joda.time.LocalDate;
+import io.swagger.model.OuterComposite;
import java.io.InputStream;
import java.io.OutputStream;
@@ -22,30 +21,30 @@ import org.apache.cxf.jaxrs.ext.multipart.*;
import io.swagger.annotations.Api;
public class FakeApiServiceImpl implements FakeApi {
- @Override
public Boolean fakeOuterBooleanSerialize(Boolean body) {
// TODO: Implement...
+
return null;
}
-
- @Override
+
public OuterComposite fakeOuterCompositeSerialize(OuterComposite body) {
// TODO: Implement...
+
return null;
}
-
- @Override
+
public BigDecimal fakeOuterNumberSerialize(BigDecimal body) {
// TODO: Implement...
+
return null;
}
-
- @Override
+
public String fakeOuterStringSerialize(String body) {
// TODO: Implement...
+
return null;
}
-
+
public Client testClientModel(Client body) {
// TODO: Implement...
@@ -64,5 +63,11 @@ public class FakeApiServiceImpl implements FakeApi {
}
+ public void testJsonFormData(String param, String param2) {
+ // TODO: Implement...
+
+
+ }
+
}
diff --git a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeApi.java b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeApi.java
index b851f34846..036292d5fe 100644
--- a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeApi.java
+++ b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeApi.java
@@ -96,12 +96,23 @@ public class FakeApi {
@Consumes({ "*/*" })
@Produces({ "*/*" })
- @ApiOperation(value = "To test enum parameters", notes = "To test enum parameters", response = void.class, tags={ "fake" })
+ @ApiOperation(value = "To test enum parameters", notes = "To test enum parameters", response = void.class, tags={ "fake", })
@ApiResponses(value = {
@ApiResponse(code = 400, message = "Invalid request", response = void.class),
@ApiResponse(code = 404, message = "Not found", response = void.class) })
public Response testEnumParameters(@FormParam(value = "enum_form_string_array") List enumFormStringArray,@FormParam(value = "enum_form_string") String enumFormString,@HeaderParam("enum_header_string_array") List enumHeaderStringArray,@HeaderParam("enum_header_string") String enumHeaderString,@QueryParam("enum_query_string_array") List enumQueryStringArray,@QueryParam("enum_query_string") @DefaultValue("-efg") String enumQueryString,@QueryParam("enum_query_integer") Integer enumQueryInteger,@FormParam(value = "enum_query_double") Double enumQueryDouble) {
return Response.ok().entity("magic!").build();
}
+
+ @GET
+ @Path("/jsonFormData")
+ @Consumes({ "application/json" })
+
+ @ApiOperation(value = "test json serialization of form data", notes = "", response = void.class, tags={ "fake" })
+ @ApiResponses(value = {
+ @ApiResponse(code = 200, message = "successful operation", response = void.class) })
+ public Response testJsonFormData(@FormParam(value = "param") String param,@FormParam(value = "param2") String param2) {
+ return Response.ok().entity("magic!").build();
+ }
}
diff --git a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeClassnameTestApi.java b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
index 8aee5ba7a4..4041f6f5ec 100644
--- a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
+++ b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
@@ -27,7 +27,7 @@ public class FakeClassnameTestApi {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Client.class) })
public Response testClassname(Client body) {
- return Response.ok().entity("magic!").build();
+ return Response.ok().entity("magic!").build();
}
}
diff --git a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/model/FormatTest.java b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/model/FormatTest.java
index a2f6796aac..339ed6e5e5 100644
--- a/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/model/FormatTest.java
+++ b/samples/server/petstore/jaxrs-spec/src/gen/java/io/swagger/model/FormatTest.java
@@ -160,7 +160,7 @@ public class FormatTest {
@ApiModelProperty(required = true, value = "")
@NotNull
- public byte[] getByte() {
+ @Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
return _byte;
}
public void setByte(byte[] _byte) {
diff --git a/samples/server/petstore/jaxrs-spec/swagger.json b/samples/server/petstore/jaxrs-spec/swagger.json
index 2b5d1b98b9..72cf38c294 100644
--- a/samples/server/petstore/jaxrs-spec/swagger.json
+++ b/samples/server/petstore/jaxrs-spec/swagger.json
@@ -998,6 +998,33 @@
}
}
}
+ },
+ "/fake/jsonFormData" : {
+ "get" : {
+ "tags" : [ "fake" ],
+ "summary" : "test json serialization of form data",
+ "description" : "",
+ "operationId" : "testJsonFormData",
+ "consumes" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "param",
+ "in" : "formData",
+ "description" : "field1",
+ "required" : true,
+ "type" : "string"
+ }, {
+ "name" : "param2",
+ "in" : "formData",
+ "description" : "field2",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "successful operation"
+ }
+ }
+ }
}
},
"securityDefinitions" : {
@@ -1337,7 +1364,8 @@
},
"byte" : {
"type" : "string",
- "format" : "byte"
+ "format" : "byte",
+ "pattern" : "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
},
"binary" : {
"type" : "string",
diff --git a/samples/server/petstore/jaxrs/jersey2/.swagger-codegen/VERSION b/samples/server/petstore/jaxrs/jersey2/.swagger-codegen/VERSION
index 7fea99011a..f9f7450d13 100644
--- a/samples/server/petstore/jaxrs/jersey2/.swagger-codegen/VERSION
+++ b/samples/server/petstore/jaxrs/jersey2/.swagger-codegen/VERSION
@@ -1 +1 @@
-2.2.3-SNAPSHOT
\ No newline at end of file
+2.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApi.java b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApi.java
index 6b9497fde6..8935f8b3d7 100644
--- a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApi.java
+++ b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApi.java
@@ -166,4 +166,17 @@ public class FakeApi {
throws NotFoundException {
return delegate.testEnumParameters(enumFormStringArray,enumFormString,enumHeaderStringArray,enumHeaderString,enumQueryStringArray,enumQueryString,enumQueryInteger,enumQueryDouble,securityContext);
}
+ @GET
+ @Path("/jsonFormData")
+ @Consumes({ "application/json" })
+
+ @io.swagger.annotations.ApiOperation(value = "test json serialization of form data", notes = "", response = void.class, tags={ "fake", })
+ @io.swagger.annotations.ApiResponses(value = {
+ @io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = void.class) })
+ public Response testJsonFormData(@ApiParam(value = "field1", required=true) @FormParam("param") String param
+,@ApiParam(value = "field2", required=true) @FormParam("param2") String param2
+,@Context SecurityContext securityContext)
+ throws NotFoundException {
+ return delegate.testJsonFormData(param,param2,securityContext);
+ }
}
diff --git a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApiService.java b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApiService.java
index 490647b96a..7114880257 100644
--- a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApiService.java
+++ b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeApiService.java
@@ -27,4 +27,5 @@ public abstract class FakeApiService {
public abstract Response testClientModel(Client body,SecurityContext securityContext) throws NotFoundException;
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,byte[] binary,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext) throws NotFoundException;
public abstract Response testEnumParameters(List enumFormStringArray,String enumFormString,List enumHeaderStringArray,String enumHeaderString, List enumQueryStringArray, String enumQueryString, Integer enumQueryInteger,Double enumQueryDouble,SecurityContext securityContext) throws NotFoundException;
+ public abstract Response testJsonFormData(String param,String param2,SecurityContext securityContext) throws NotFoundException;
}
diff --git a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeClassnameTestApi.java b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
index 9340a5f602..c9a3713ce3 100644
--- a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
+++ b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/api/FakeClassnameTestApi.java
@@ -17,6 +17,7 @@ import java.io.InputStream;
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
import org.glassfish.jersey.media.multipart.FormDataParam;
+import javax.servlet.ServletConfig;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.SecurityContext;
@@ -29,7 +30,28 @@ import javax.validation.constraints.*;
@io.swagger.annotations.Api(description = "the fake_classname_test API")
public class FakeClassnameTestApi {
- private final FakeClassnameTestApiService delegate = FakeClassnameTestApiServiceFactory.getFakeClassnameTestApi();
+ private final FakeClassnameTestApiService delegate;
+
+ public FakeClassnameTestApi(@Context ServletConfig servletContext) {
+ FakeClassnameTestApiService delegate = null;
+
+ if (servletContext != null) {
+ String implClass = servletContext.getInitParameter("FakeClassnameTestApi.implementation");
+ if (implClass != null && !"".equals(implClass.trim())) {
+ try {
+ delegate = (FakeClassnameTestApiService) Class.forName(implClass).newInstance();
+ } catch (Exception e) {
+ throw new RuntimeException(e);
+ }
+ }
+ }
+
+ if (delegate == null) {
+ delegate = FakeClassnameTestApiServiceFactory.getFakeClassnameTestApi();
+ }
+
+ this.delegate = delegate;
+ }
@PATCH
diff --git a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/model/FormatTest.java b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/model/FormatTest.java
index bdd53cb3e5..8b5e5b18ec 100644
--- a/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/model/FormatTest.java
+++ b/samples/server/petstore/jaxrs/jersey2/src/gen/java/io/swagger/model/FormatTest.java
@@ -223,7 +223,7 @@ public class FormatTest {
@JsonProperty("byte")
@ApiModelProperty(required = true, value = "")
@NotNull
- public byte[] getByte() {
+ @Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
return _byte;
}
diff --git a/samples/server/petstore/jaxrs/jersey2/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java b/samples/server/petstore/jaxrs/jersey2/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
index 132991700c..529420f7f7 100644
--- a/samples/server/petstore/jaxrs/jersey2/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
+++ b/samples/server/petstore/jaxrs/jersey2/src/main/java/io/swagger/api/impl/FakeApiServiceImpl.java
@@ -55,4 +55,9 @@ public class FakeApiServiceImpl extends FakeApiService {
// do some magic!
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
}
+ @Override
+ public Response testJsonFormData(String param, String param2, SecurityContext securityContext) throws NotFoundException {
+ // do some magic!
+ return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
+ }
}
diff --git a/samples/server/petstore/spring-mvc-j8-async/pom.xml b/samples/server/petstore/spring-mvc-j8-async/pom.xml
index f55765b7a0..689bcb91b8 100644
--- a/samples/server/petstore/spring-mvc-j8-async/pom.xml
+++ b/samples/server/petstore/spring-mvc-j8-async/pom.xml
@@ -139,7 +139,7 @@
1.7.21
4.12
2.5
- 2.6.0
+ 2.7.0
2.8.9
2.6.4
4.3.9.RELEASE
diff --git a/samples/server/petstore/spring-mvc/pom.xml b/samples/server/petstore/spring-mvc/pom.xml
index 940b3be296..673178a791 100644
--- a/samples/server/petstore/spring-mvc/pom.xml
+++ b/samples/server/petstore/spring-mvc/pom.xml
@@ -139,7 +139,7 @@
1.7.21
4.12
2.5
- 2.6.0
+ 2.7.0
2.8.9
2.6.4
4.3.9.RELEASE
diff --git a/samples/server/petstore/springboot-beanvalidation/pom.xml b/samples/server/petstore/springboot-beanvalidation/pom.xml
index 5e6452410f..35c7e3849c 100644
--- a/samples/server/petstore/springboot-beanvalidation/pom.xml
+++ b/samples/server/petstore/springboot-beanvalidation/pom.xml
@@ -9,12 +9,12 @@
1.7
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/samples/server/petstore/springboot-delegate-j8/pom.xml b/samples/server/petstore/springboot-delegate-j8/pom.xml
index ba9be83fe8..4729f8cf40 100644
--- a/samples/server/petstore/springboot-delegate-j8/pom.xml
+++ b/samples/server/petstore/springboot-delegate-j8/pom.xml
@@ -9,12 +9,12 @@
1.8
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/samples/server/petstore/springboot-delegate/pom.xml b/samples/server/petstore/springboot-delegate/pom.xml
index a4dfc99309..df779d931d 100644
--- a/samples/server/petstore/springboot-delegate/pom.xml
+++ b/samples/server/petstore/springboot-delegate/pom.xml
@@ -9,12 +9,12 @@
1.7
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/samples/server/petstore/springboot-implicitHeaders/pom.xml b/samples/server/petstore/springboot-implicitHeaders/pom.xml
index a4dfc99309..df779d931d 100644
--- a/samples/server/petstore/springboot-implicitHeaders/pom.xml
+++ b/samples/server/petstore/springboot-implicitHeaders/pom.xml
@@ -9,12 +9,12 @@
1.7
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java
diff --git a/samples/server/petstore/springboot/pom.xml b/samples/server/petstore/springboot/pom.xml
index a4dfc99309..df779d931d 100644
--- a/samples/server/petstore/springboot/pom.xml
+++ b/samples/server/petstore/springboot/pom.xml
@@ -9,12 +9,12 @@
1.7
${java.version}
${java.version}
- 2.6.1
+ 2.7.0
org.springframework.boot
spring-boot-starter-parent
- 1.4.7.RELEASE
+ 1.5.4.RELEASE
src/main/java