Skip to content

Commit 168d34e

Browse files
committed
updated openapi generator to 6.5.0. use jakarta annotations instead of swagger annotations library
1 parent 166536e commit 168d34e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

client/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ plugins {
22
id 'java-library'
33
id 'maven-publish'
44
id 'signing'
5-
id 'org.openapi.generator' version '6.2.0'
5+
id 'org.openapi.generator' version '6.5.0'
66
id 'org.kordamp.gradle.jandex' version '1.1.0'
77
}
88

99
version = "1.3.1"
1010

1111
dependencies {
12-
implementation "io.swagger:swagger-annotations:1.6.6"
12+
implementation "jakarta.annotation:jakarta.annotation-api:2.1.1"
1313
implementation "com.google.code.findbugs:jsr305:3.0.2"
1414
implementation "com.fasterxml.jackson.core:jackson-core:2.16.0"
1515
implementation "com.fasterxml.jackson.core:jackson-annotations:2.16.0"
@@ -77,12 +77,13 @@ openApiGenerate {
7777

7878
configOptions = [
7979
dateLibrary : 'java8',
80-
useRuntimeException: 'true'
80+
useRuntimeException: 'true',
81+
useJakartaEe : 'true'
8182
]
8283
}
8384

8485
Properties properties = new Properties()
85-
if(System.getenv("OSSRH_USERNAME") == null) {
86+
if (System.getenv("OSSRH_USERNAME") == null) {
8687
properties.load(project.rootProject.file('local.properties').newDataInputStream())
8788
} else {
8889
properties.put("ossrhUsername", System.getenv("OSSRH_USERNAME"))

0 commit comments

Comments
 (0)