This is an automated email from the ASF dual-hosted git repository.
engelen pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 5fcd8a660c Upgrade swagger-annotations from 2.2.1 to 2.2.22 (#7946)
5fcd8a660c is described below
commit 5fcd8a660c5f02cb57000022c73c8bff0e632074
Author: Jinwoo Hwang <[email protected]>
AuthorDate: Fri Oct 24 07:00:05 2025 -0400
Upgrade swagger-annotations from 2.2.1 to 2.2.22 (#7946)
This commit upgrades the swagger-annotations dependency from version 2.2.1
to 2.2.22,
bringing in bug fixes, security patches, and improvements to OpenAPI
annotation support.
Changes made:
- Updated version constraint in DependencyConstraints.groovy
- Updated expected version in expected-pom.xml
- Updated JAR references in assembly_content.txt
- Updated classpath references in gfsh_dependency_classpath.txt
- Updated classpath references in dependency_classpath.txt
Swagger Annotations is a library that provides Java annotations for
documenting RESTful
APIs using the OpenAPI Specification. It is used in Apache Geode for REST
API documentation
in the management and web services modules.
Version 2.2.22 includes:
- Bug fixes and stability improvements from versions 2.2.2 through 2.2.22
- Enhanced OpenAPI 3.0 specification support
- Improved annotation processing and validation
- Security patches for known vulnerabilities
- Better compatibility with modern Java versions
Testing:
- Build validation: PASSED (build install javadoc spotlessCheck rat
checkPom resolveDependencies pmdMain)
- Unit tests: PASSED (gradlew test)
- All integration test resources updated to reflect new version
This upgrade maintains backward compatibility with existing code and
requires
no changes to the application logic or API documentation annotations.
---
boms/geode-all-bom/src/test/resources/expected-pom.xml | 2 +-
.../org/apache/geode/gradle/plugins/DependencyConstraints.groovy | 3 ++-
geode-assembly/src/integrationTest/resources/assembly_content.txt | 2 +-
.../src/integrationTest/resources/gfsh_dependency_classpath.txt | 2 +-
.../src/integrationTest/resources/dependency_classpath.txt | 2 +-
5 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/boms/geode-all-bom/src/test/resources/expected-pom.xml
b/boms/geode-all-bom/src/test/resources/expected-pom.xml
index 7b28cae487..5fef670b56 100644
--- a/boms/geode-all-bom/src/test/resources/expected-pom.xml
+++ b/boms/geode-all-bom/src/test/resources/expected-pom.xml
@@ -200,7 +200,7 @@
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
- <version>2.2.1</version>
+ <version>2.2.22</version>
</dependency>
<dependency>
<groupId>it.unimi.dsi</groupId>
diff --git
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
index 4b2ce0cf5b..f556f0c829 100644
---
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
+++
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
@@ -121,7 +121,8 @@ class DependencyConstraints {
api(group: 'io.github.resilience4j', name: 'resilience4j-retry',
version: '1.7.1')
api(group: 'io.lettuce', name: 'lettuce-core', version:
'6.1.8.RELEASE')
api(group: 'io.micrometer', name: 'micrometer-core', version:
get('micrometer.version'))
- api(group: 'io.swagger.core.v3', name: 'swagger-annotations', version:
'2.2.1')
+ api(group: 'io.swagger.core.v3', name: 'swagger-annotations', version:
'2.2.22')
+ api(group: 'org.hdrhistogram', name: 'HdrHistogram', version: '2.1.12')
api(group: 'it.unimi.dsi', name: 'fastutil', version:
get('fastutil.version'))
api(group: 'javax.annotation', name: 'javax.annotation-api', version:
'1.3.2')
api(group: 'javax.annotation', name: 'jsr250-api', version: '1.0')
diff --git a/geode-assembly/src/integrationTest/resources/assembly_content.txt
b/geode-assembly/src/integrationTest/resources/assembly_content.txt
index d7fefc9a5f..5a9ceeff9a 100644
--- a/geode-assembly/src/integrationTest/resources/assembly_content.txt
+++ b/geode-assembly/src/integrationTest/resources/assembly_content.txt
@@ -1025,7 +1025,7 @@ lib/spring-core-5.3.21.jar
lib/spring-jcl-5.3.21.jar
lib/spring-shell-1.2.0.RELEASE.jar
lib/spring-web-5.3.21.jar
-lib/swagger-annotations-2.2.1.jar
+lib/swagger-annotations-2.2.22.jar
tools/Extensions/geode-web-0.0.0.war
tools/Extensions/geode-web-api-0.0.0.war
tools/Extensions/geode-web-management-0.0.0.war
diff --git
a/geode-assembly/src/integrationTest/resources/gfsh_dependency_classpath.txt
b/geode-assembly/src/integrationTest/resources/gfsh_dependency_classpath.txt
index 34fc7c5147..45150f0414 100644
--- a/geode-assembly/src/integrationTest/resources/gfsh_dependency_classpath.txt
+++ b/geode-assembly/src/integrationTest/resources/gfsh_dependency_classpath.txt
@@ -26,7 +26,7 @@ jackson-annotations-2.17.0.jar
jackson-core-2.17.0.jar
jackson-datatype-jsr310-2.17.0.jar
jackson-databind-2.17.0.jar
-swagger-annotations-2.2.1.jar
+swagger-annotations-2.2.22.jar
jopt-simple-5.0.4.jar
log4j-slf4j-impl-2.17.2.jar
log4j-core-2.17.2.jar
diff --git
a/geode-server-all/src/integrationTest/resources/dependency_classpath.txt
b/geode-server-all/src/integrationTest/resources/dependency_classpath.txt
index 11b111ea56..7fc15915ba 100644
--- a/geode-server-all/src/integrationTest/resources/dependency_classpath.txt
+++ b/geode-server-all/src/integrationTest/resources/dependency_classpath.txt
@@ -53,7 +53,7 @@ geode-membership-0.0.0.jar
jetty-webapp-9.4.57.v20241219.jar
commons-lang3-3.12.0.jar
jopt-simple-5.0.4.jar
-swagger-annotations-2.2.1.jar
+swagger-annotations-2.2.22.jar
snappy-0.5.jar
geode-wan-0.0.0.jar
log4j-api-2.17.2.jar