Resteasy reactive: No proper handling of missing or empty @Produces
for Multi results
#15638
Labels
Milestone
@Produces
for Multi results
#15638
more info: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/html.20web.20requests/near/229859196
Describe the bug
A rest endpoint returning a multi, missing a
@Produces
annotation results in NullPointerException thrown at runtime.Adding the annotation without value produces a different
NPE
:Expected behavior
Build error
Actual behavior
(Describe the actual behavior clearly and concisely.)
To Reproduce
https://github.com/thomaswue/quarkus-example/blob/4bd0ee66405d26ab7d0bdc36593db68404218324/src/main/java/org/acme/GreetingResource.java
The text was updated successfully, but these errors were encountered: