I've found that I use Kotlin version 1.5.31 but the latest multiplatform plugin 1.6.0-M1 where the above annotation is now and error (previous was a warning)
Created 1 year ago
I've found that I use Kotlin version 1.5.31 but the latest multiplatform plugin 1.6.0-M1 where the above annotation is now and error (previous was a warning)
[BUG] [multiplatform] ExperimentalAPI annotation from Kotlin 1.6.0 and above #10467
With this setup:
AS Artic Fox 2020.3.1 Patch 2
Experimental annotation
I had (using @InternalAPI annotation) this error.
e: Opt-in requirement marker annotation on override requires the same marker on base declaration
I'd to use @OptIn(InternalAPI::class) instead
File: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/kotlin-client/libraries/multiplatform/auth/HttpBasicAuth.kt.mustache