diff --git a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/pom.xml b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/pom.xml
index 073730d7a477..19e7d76bd5e3 100644
--- a/samples/openapi3/client/petstore/spring-cloud-3-with-optional/pom.xml
+++ b/samples/openapi3/client/petstore/spring-cloud-3-with-optional/pom.xml
@@ -56,7 +56,7 @@
org.springframework.security
spring-security-oauth2-client
- 6.1.1
+ 6.2.7
com.fasterxml.jackson.datatype