Open indiealexh opened 3 weeks ago
/cc @EricWittmann (openapi), @Ladicek (smallrye), @MikeEdgar (openapi), @jmartisk (smallrye), @phillip-kruger (openapi,smallrye), @radcortez (smallrye)
I think you can open this in SmallRye OpenAPI. We are already doing RESTEasy things there, see https://github.com/smallrye/smallrye-open-api/blob/main/extension-jaxrs/src/main/java/io/smallrye/openapi/jaxrs/RestEasyConstants.java for example
I think you can open this in SmallRye OpenAPI. We are already doing RESTEasy things there, see https://github.com/smallrye/smallrye-open-api/blob/main/extension-jaxrs/src/main/java/io/smallrye/openapi/jaxrs/RestEasyConstants.java for example
Thanks, I will do that.
Description
This is a reopening of #31828, but I think it is worth consideration.
smallrye-openapi can scan for
@Provider
ExceptionMappers and add them to endpoints that throw that exception.e.g.
The same should be possible for exceptions mapped by using
@ServerExceptionMapper
, happy to open this ticker with https://github.com/smallrye/smallrye-open-api if that is the better place to do so, but it seems like it should be part of the Quarkus extension given the annotation is RestEasy specific.Implementation ideas
No response