-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
Describe the bug
When adding an OpenAPI filter, it is not registered for reflection by the SmallRyeOpenApiProcessor
, that causes the openapi endpoint to crash with a java.lang.ClassNotFoundException
when running as a native executable.
It works fine when annotating the filter explicitly with a @RegisterForReflection
annotation.
Expected behavior
When registering the runtime filters (https://github.com/quarkusio/quarkus/blob/main/extensions/smallrye-openapi/deployment/src/main/java/io/quarkus/smallrye/openapi/deployment/SmallRyeOpenApiProcessor.java#L246), the extension should register them for reflection.
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response