aboutsummaryrefslogtreecommitdiffstats
path: root/openapi/server/build.gradle
diff options
context:
space:
mode:
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",