<Can I disable explicit API mode for generated sou...
# forum
r
Can I disable explicit API mode for generated sources? I’m developing a library in Kotlin, and as it is best practise, I enabled explicit API mode in my gradle buildscript: kotlin { explicitApi() } Now, for this library I also generate source code with the openapitools/kotlin-gradle generator (which is IMO flawed in a lot of ways anyway) and I put the generated files into build/generated/openapi/main/kotlin which I marked as a source set by doing: sourceSets { main { kotlin.setSrcDirs(kotlin.srcDirs +...