Closed emirhanemmez closed 2 years ago
can you get a more detailed stacktrace ?
It is not working with Gson. I changed to jackson for serialization then it works. You can close.
This error occurs when i use gson fyi.
Yes this library was made with Jackson in mind, glad it works now.
Why am i getting this error after launching swagger-ui?
ERROR Application - Unhandled: GET - /openapi.json java.lang.IllegalStateException: Serializing collections of different element types is not yet supported. Selected serializers: [com.papsign.ktor.openapigen.model.schema.DataFormat, kotlin.Boolean, com.papsign.ktor.openapigen.model.schema.DataType]