diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
index c328e7c432d5..4983dc0bdcbc 100644
--- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/pom.xml
@@ -297,7 +297,7 @@
io.swagger.parser.v3
swagger-parser-v3
- 2.0.30
+ 2.1.17
jakarta.annotation