-
Couldn't load subscription status.
- Fork 41.6k
Description
I've been using Spring Boot 4 since the M2 and I have a simple web application with spring-boot-starter-web and springdoc-openapi-starter-webmvc-api.
My own endpoints use kotlinx-serialization, but SpringDoc continue to rely on jackson for their API.
In the M3 release I had some issues with my SpringDoc endpoint, my api-docs endpoint was producing a array of integers instead of the actual payload (due to it being serialized as byte array, I'd assume). I had a quick look and figured I had to add spring-boot-starter-kotlin-serialization so I could have proper kotlinx-serialization support, and that fixed the problem. Serialization would prefer kotlinx to the annotated objects, fallback to something else if not.
Just upgraded to RC1 now, and we are back to SpringDoc producing a list of bytes in the output, but this time spring-boot-starter-kotlin-serialization is present. Maybe there's some further configuration we need to do on M4 now, but I couldn't find it, so I'm reporting this as a bug.
Let me know if you need more details.