diff --git a/modules/swagger-codegen/pom.xml b/modules/swagger-codegen/pom.xml
index ebd06c67cb9..559f87e50e9 100644
--- a/modules/swagger-codegen/pom.xml
+++ b/modules/swagger-codegen/pom.xml
@@ -251,7 +251,7 @@
org.json
json
- 20230227
+ ${json-version}