Skip to content

Commit

Permalink
Update Openapi generator to newest version, removed the requirement o…
Browse files Browse the repository at this point in the history
…f the custom nullable library (#314)
  • Loading branch information
slinkydeveloper authored May 15, 2024
1 parent 61f9d23 commit 1c4b4e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.openapitools.generator.gradle.plugin.tasks.GenerateTask

plugins {
`java-library`
id("org.openapi.generator") version "6.6.0"
id("org.openapi.generator") version "7.5.0"
`library-publishing-conventions`
}

Expand All @@ -14,7 +14,6 @@ dependencies {
implementation(jacksonLibs.jackson.core)
implementation(jacksonLibs.jackson.databind)
implementation(jacksonLibs.jackson.jsr310)
implementation("org.openapitools:jackson-databind-nullable:0.2.6")

// Required for the annotations
compileOnly("org.apache.tomcat:annotations-api:6.0.53")
Expand Down Expand Up @@ -43,6 +42,8 @@ tasks.withType<GenerateTask> {
generateModelTests.set(false)
generateModelDocumentation.set(false)

configOptions.put("openApiNullable", "false")

finalizedBy("spotlessJava")
}

Expand Down

0 comments on commit 1c4b4e7

Please sign in to comment.