-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Following the documentation from here and using latest version 5.4.0, I'm trying to do:
schemas {
generator = `SchemaGenerator.kotlinx `{
namingStrategy = JsonNamingStrategy.SnakeCase
}
}
However, I get the error:
Cannot access class 'CompiledSwaggerSchemaData'. Check your module classpath for missing or conflicting dependencies.
Cannot access class 'InitialTypeData'. Check your module classpath for missing or conflicting dependencies.
This is an issue due to Kotlin 2.2.21. If I try to rollback Kotlin to 2.0.21 and also rollback this library to 5.3.0, it works fine but with a warning:
Cannot access class 'CompiledSwaggerSchemaData' in the expression type. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies.
According to the changelog, Kotlin 2.2.21 should be supported.
Metadata
Metadata
Assignees
Labels
No labels