You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request to support RestEasy's @ServerExceptionMapper method annotation
This request is an extension of the feature developed in #220 and stems from this quarkus issue: quarkusio/quarkus#44035
smallrye-openapi can scan for @Provider ExceptionMappers and add them to endpoints that throw that exception. The same should be possible for exceptions mapped by using RestEasy's @ServerExceptionMapper method annotation.
Example for illustration
Here is an example of what I would like to do using @ServerExceptionMapper:
Request to support RestEasy's
@ServerExceptionMapper
method annotationThis request is an extension of the feature developed in #220 and stems from this quarkus issue: quarkusio/quarkus#44035
smallrye-openapi can scan for
@Provider
ExceptionMappers and add them to endpoints that throw that exception. The same should be possible for exceptions mapped by using RestEasy's@ServerExceptionMapper
method annotation.Example for illustration
Here is an example of what I would like to do using @ServerExceptionMapper:
Which would be the equivalent of the currently supported method:
which results in:
The text was updated successfully, but these errors were encountered: