diff --git a/samples/openapi3/client/petstore/spring-cloud-3/pom.xml b/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
index 7d50eefeaab8..329195785050 100644
--- a/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
+++ b/samples/openapi3/client/petstore/spring-cloud-3/pom.xml
@@ -10,7 +10,7 @@
${java.version}
${java.version}
UTF-8
- 2.2.0
+ 2.7.0
org.springframework.boot