aboutsummaryrefslogtreecommitdiffstats
path: root/openapi/server/build.gradle
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-21 07:50:50 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-21 07:50:50 +0000
commitf4b789cd3d86eb96a1e012910a3e7111fd4fdfed (patch)
tree3c045b8680c66441e1e231639661e01919ca2618 /openapi/server/build.gradle
parent579223596f72fc15f47bbe759a5f9198dd9750aa (diff)
Upgrade bff openapi generator to 6.6.0
Issue-ID: PORTALNG-21 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I0cf78784b216a80cf6b31fd47fe6ed7e4a8844f5
Diffstat (limited to 'openapi/server/build.gradle')
-rw-r--r--openapi/server/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/openapi/server/build.gradle b/openapi/server/build.gradle
index d3b4a47..e13bc20 100644
--- a/openapi/server/build.gradle
+++ b/openapi/server/build.gradle
@@ -4,6 +4,12 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-webflux"
implementation "org.openapitools:openapi-generator:$openapiVersion"
implementation "org.webjars:redoc:$redocVersion"
+
+ 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)'
+ }
+ }
}
openApiGenerate {
@@ -12,6 +18,7 @@ openApiGenerate {
inputSpec = "$projectDir/src/main/resources/static/api.yaml"
outputDir = "$buildDir/openapi"
configOptions = [
+ hideGenerationTimestamps: "true",
openApiNullable: "false",
skipDefaultInterface: "true",
dateLibrary: "java8",