snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Make class field of @ServerResponse optional in RESTEasy Reactive #222

Closed snowdrop-bot closed 3 years ago

snowdrop-bot commented 3 years ago

Description We should be able to write something like:

    @ServerExceptionMapper
    public Response mapException(UnknownCheeseException x) {
        return Response.status(Response.Status.NOT_FOUND).entity("Unknown cheese").build();
    }

https://github.com/quarkusio/quarkus/issues/13636


$upstream:13636$