@@ -10,7 +10,6 @@ plugins {
10
10
id(" com.github.johnrengelman.shadow" ) version " 8.1.1"
11
11
kotlin(" plugin.serialization" )
12
12
alias(libs.plugins.openapi.generator)
13
- // alias(libs.plugins.kotlin.plugin.allopen)
14
13
}
15
14
16
15
description = " Model Server offering access to model storage"
@@ -67,9 +66,6 @@ dependencies {
67
66
testImplementation(libs.ktor.server.test.host)
68
67
testImplementation(kotlin(" test" ))
69
68
testImplementation(project(" :modelql-untyped" ))
70
-
71
- // implementation("jakarta.ws.rs:jakarta.ws.rs-api:2.1.6")
72
- // implementation("jakarta.annotation:jakarta.annotation-api:1.3.5")
73
69
}
74
70
75
71
tasks.test {
@@ -218,21 +214,6 @@ openApiGenerate {
218
214
" featureMetrics" to " false" ,
219
215
),
220
216
)
221
- globalProperties.putAll(
222
- mapOf (
223
- // "debugOpenAPI" to "true",
224
- // "debugModels" to "true",
225
- // "debugSupportingFiles" to "true",
226
- // "debugOperations" to "true",
227
-
228
- // "models" to "",
229
- // "apis" to "",
230
- // "supportingFiles" to "",
231
- // "apiTests" to "false",
232
- // "modelTests" to "false",
233
- // "modelDocs" to "false",
234
- ),
235
- )
236
217
}
237
218
238
219
// Ensure that the OpenAPI generator runs before starting to compile
@@ -252,16 +233,8 @@ ktlint {
252
233
exclude {
253
234
it.file.toPath().toAbsolutePath().startsWith(openAPIgenerationPath)
254
235
}
255
- // exclude("$openAPIgenerationPath/src/main/kotlin/**")
256
- // exclude("$openAPIgenerationPath/**")
257
- // exclude("**/generated/**")
258
236
}
259
237
}
260
238
261
- // allOpen {
262
- // annotation("javax.ws.rs.Path")
263
- // annotation("javax.enterprise.context.ApplicationScoped")
264
- // }
265
-
266
239
// add openAPI generated artifacts to the sourceSets
267
240
java.sourceSets.getByName(" main" ).java.srcDir(file(" $openAPIgenerationPath /src/main/kotlin" ))
0 commit comments