From 7cf872356506a8b73d7c0ae44eb7a95bbbfaa006 Mon Sep 17 00:00:00 2001 From: "Kresten P. Vester" Date: Thu, 5 Sep 2024 10:36:46 +0200 Subject: [PATCH 1/2] Update dependencies to remove vulnerability in org.springframework:spring-webmvc --- .../JavaSpring/libraries/spring-boot/pom-sb3.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/pom-sb3.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/pom-sb3.mustache index cc5a1e1632e0..1024ea0d6088 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/pom-sb3.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/pom-sb3.mustache @@ -11,18 +11,18 @@ ${java.version} UTF-8 {{#springDocDocumentationProvider}} - 2.2.0 + 2.6.0 {{/springDocDocumentationProvider}} {{^springDocDocumentationProvider}} {{#swagger2AnnotationLibrary}} - 2.2.15 + 2.2.22 {{/swagger2AnnotationLibrary}} {{/springDocDocumentationProvider}} {{#useSwaggerUI}} - 5.3.1 + 5.17.14 {{/useSwaggerUI}} {{#virtualService}} - 2.5.2 + 2.5.5 {{/virtualService}} {{#parentOverridden}} From 897c42805b3cabe46e212b1bc83b673566a33696 Mon Sep 17 00:00:00 2001 From: "Kresten P. Vester" Date: Thu, 5 Sep 2024 11:09:25 +0200 Subject: [PATCH 2/2] Updated samples --- samples/openapi3/server/petstore/springboot-3/pom.xml | 4 ++-- .../server/petstore/springboot-file-delegate-optional/pom.xml | 4 ++-- samples/server/petstore/springboot-lombok-tostring/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/openapi3/server/petstore/springboot-3/pom.xml b/samples/openapi3/server/petstore/springboot-3/pom.xml index e8636ac3ca09..54c3603cbc9d 100644 --- a/samples/openapi3/server/petstore/springboot-3/pom.xml +++ b/samples/openapi3/server/petstore/springboot-3/pom.xml @@ -10,8 +10,8 @@ ${java.version} ${java.version} UTF-8 - 2.2.0 - 5.3.1 + 2.6.0 + 5.17.14 org.springframework.boot diff --git a/samples/server/petstore/springboot-file-delegate-optional/pom.xml b/samples/server/petstore/springboot-file-delegate-optional/pom.xml index 3afd4785fae9..9ac3410785c2 100644 --- a/samples/server/petstore/springboot-file-delegate-optional/pom.xml +++ b/samples/server/petstore/springboot-file-delegate-optional/pom.xml @@ -10,8 +10,8 @@ ${java.version} ${java.version} UTF-8 - 2.2.0 - 5.3.1 + 2.6.0 + 5.17.14 org.springframework.boot diff --git a/samples/server/petstore/springboot-lombok-tostring/pom.xml b/samples/server/petstore/springboot-lombok-tostring/pom.xml index 9d17fff871da..0b079a60154c 100644 --- a/samples/server/petstore/springboot-lombok-tostring/pom.xml +++ b/samples/server/petstore/springboot-lombok-tostring/pom.xml @@ -10,8 +10,8 @@ ${java.version} ${java.version} UTF-8 - 2.2.0 - 5.3.1 + 2.6.0 + 5.17.14 org.springframework.boot