openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[BUG] [Kotlin] Invalid import io.ktor.util.InternalAPI when using ktor 3.0.0-beta

Open kit0kat opened this issue 1 year ago • 1 comments

When using the Kotlin multiplatform generator, there will be a "HttpBasicAuth.kt" file containing the following import

import io.ktor.util.InternalAPI

which needs to be removed or updated to

import io.ktor.util.io.InternalAPI

when using ktor 3.0.0-beta. Using this beta version is required for wasmJs support on Kotlin Multiplatform, so unfortunately I cannot downgrade to a stable version.

kit0kat avatar Aug 25 '24 14:08 kit0kat

Still an issue when using ktor 3.0.0 and openapi generator 7.9.0

ninovanhooff avatar Oct 15 '24 17:10 ninovanhooff