diff options
-rw-r--r-- | app/build.gradle | 8 | ||||
-rw-r--r-- | openapi/build.gradle | 11 | ||||
-rw-r--r-- | settings.gradle | 2 |
3 files changed, 14 insertions, 7 deletions
diff --git a/app/build.gradle b/app/build.gradle index 1551d9e..6fa8258 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -35,12 +35,12 @@ repositories { } ext { - vavrVersion = '0.10.4' - problemVersion = '0.27.1' - logstashLogbackVersion = '7.2' + vavrVersion = '0.10.4' + problemVersion = '0.27.1' + logstashLogbackVersion = '7.2' embedMongoVersion = '3.2.8' embedMongoIntegrationVersion = '1.1.0-spring27x' - springCloudWiremockVersion = '3.1.0' + springCloudWiremockVersion = '3.1.0' } dependencies { diff --git a/openapi/build.gradle b/openapi/build.gradle index 1f7148e..f1e04b3 100644 --- a/openapi/build.gradle +++ b/openapi/build.gradle @@ -9,8 +9,14 @@ repositories { } dependencies { - implementation 'org.openapitools:openapi-generator:6.2.0' + implementation 'org.openapitools:openapi-generator:6.6.0' implementation 'org.springframework.boot:spring-boot-starter-webflux:2.7.3' + + 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)' + } + } } // https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-gradle-plugin/README.adoc @@ -26,7 +32,8 @@ openApiGenerate { interfaceOnly: "true", useTags: "true", useOptional: "true", - reactive: "true" + reactive: "true", + hideGenerationTimestamp: "true" ] generateApiTests = false generateApiDocumentation = false diff --git a/settings.gradle b/settings.gradle index 91c8fc5..5477589 100644 --- a/settings.gradle +++ b/settings.gradle @@ -7,7 +7,7 @@ pluginManagement { id 'org.sonarqube' version '3.4.0.2513' id 'com.github.hierynomus.license' version '0.16.1' id 'com.gorylenko.gradle-git-properties' version '2.4.1' - id 'org.openapi.generator' version '6.2.0' + id 'org.openapi.generator' version '6.6.0' } // https://docs.gradle.org/current/userguide/plugins.html#sec:custom_plugin_repositories repositories { |