This commit is contained in:
Damontecres 2025-12-01 20:51:35 -05:00
parent 2cc762a5b8
commit 6e597f0509
No known key found for this signature in database
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,11 @@
package com.github.damontecres.wholphin.services
import com.github.damontecres.api.seerr.SeerrApiClient
class SeerrService constructor(
private val api: SeerrApiClient,
) {
fun init() {
api.searchApi.discoverTvGet(1)
}
}

View file

@ -36,6 +36,14 @@ openApiGenerate {
put("enumPropertyNaming", "UPPERCASE")
put("modelMutable", false)
}
typeMappings.set(
mapOf(
"number" to "kotlin.Int",
"integer" to "kotlin.Int",
"int32" to "kotlin.Int",
"int64" to "kotlin.Long",
),
)
}
tasks.named("compileKotlin") {