Skip to content

Commit

Permalink
resolve rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
dojinyou committed Sep 16, 2024
1 parent 99ba769 commit 44305a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bootstrap/api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ dependencies {
developmentOnly(libs.spring.boot.docker.compose)
}

val openApiGeneratePath = "${layout.buildDirectory.get()}/generated"

openApiGenerate {
generatorName.set("kotlin-spring")
inputSpec.set("$rootDir/openapi/openapi.yaml")
Expand All @@ -41,3 +43,9 @@ openApiGenerate {
tasks.withType<KotlinCompile> {
dependsOn("openApiGenerate")
}

sourceSets {
main {
kotlin.srcDir("$openApiGeneratePath/src/main/kotlin")
}
}

0 comments on commit 44305a1

Please sign in to comment.