Emirhan Emmez

11/30/2021, 8:23 AM
hi, i have a problem about implementing library for swagger. But after launching swagger-ui i'm facing a bug: 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]
Is there any better library for swagger i can use?

Aleksei Tirman [JB]

11/30/2021, 9:48 AM
There is another library Also, here is a feature request to integrate this feature into Ktor.
👍 1

Emirhan Emmez

11/30/2021, 10:22 AM
Thanks, i solved bug. It's all about gson serialization. I changed to jackson then it is fixed

Júlio Santos

04/12/2022, 4:41 PM
Hello @Emirhan Emmez, how are you? Do you happen to have an example that I can use?

Emirhan Emmez

04/19/2022, 1:15 PM
Hi @Júlio Santos, sorry for late retexting. in develop branch can you check plugins/OpenApi.kt? Btw, I'm not an expert, i wrote only one sample route