aboutsummaryrefslogtreecommitdiffstats
path: root/openapi
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-17 07:03:55 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-17 07:03:55 +0000
commitc2a9ab935340303230cf66d64ecc0bf0418cc6f3 (patch)
treeeb56515a0d6d2eebc7f7640ee4a87f996c75b9ca /openapi
parent56552b36e41b39325ea9f7df17af6a1c78cb790d (diff)
Update history to Spring Boot 3
Issue-ID: PORTALNG-41 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I777e5921dcb0860764d1959fbcbc4e070b5238f8
Diffstat (limited to 'openapi')
-rw-r--r--openapi/build.gradle13
1 files changed, 5 insertions, 8 deletions
diff --git a/openapi/build.gradle b/openapi/build.gradle
index 63c32b5..7ec2657 100644
--- a/openapi/build.gradle
+++ b/openapi/build.gradle
@@ -4,18 +4,14 @@ plugins {
}
ext {
- openapiVersion = '6.6.0'
+ openapiVersion = '7.0.0-beta'
}
dependencies {
implementation "org.openapitools:openapi-generator:$openapiVersion"
-
constraints {
- implementation('io.swagger.core.v3:swagger-annotations:2.2.5') {
- because 'there is a dependency conflict between swagger-parser versions 2 and 3 (https://github.com/OpenAPITools/openapi-generator/issues/14901)'
- }
- implementation('javax.validation:validation-api:2.0.1.Final') {
- because 'because min max validation wouldnt work with older version of dependency'
+ implementation('jakarta.validation:jakarta.validation-api:3.0.2') {
+ because 'because min max validation wouldnt work with older versions of dependency'
}
}
}
@@ -34,7 +30,8 @@ openApiGenerate {
interfaceOnly: "true",
useTags: "true",
useOptional: "true",
- reactive: "true"
+ reactive: "true",
+ useSpringBoot3: "true"
]
generateApiTests = false
generateApiDocumentation = false