Closed
Description
Latest Spring Doc + Spring Boot 3.4.1 breaks the native image support.
Accessing OpenAPI will bail out with an error 400.
The following Reflection hints can at least get OpenAPI working Again:
@RegisterReflection(classes = {io.swagger.v3.core.jackson.mixin.Schema31Mixin.TypeSerializer.class, io.swagger.v3.oas.models.media.JsonSchema.class, com.fasterxml.jackson.databind.BeanDescription.class}, memberCategories = {MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.INVOKE_PUBLIC_METHODS})
=>
I kindly ask to add them, as the latest org.graalvm.buildtools.native:0.10.4 does not seem to contain the reachability metadata.
It can also be done in other ways, as long as the classes above are registered for Reflection.
Thx in advance