1 returning a Single, annotated as producing JSON => works perfectly fine
1 returning a List, not annotated as producing anything => returns a proper HTTP 500 saying that no MessageBodyWriter can be found for dealing with application/octet-stream => lgtm
1 returning a Single, not annotating as producing anything => the response is never sent back. Test timeout occurs
Version 0.0.2.
Here's a full repo reproducing the issue.
Just run
./gradlew test
and you should see what's going wrong.3 routes have been defined :
Single
, annotated as producing JSON => works perfectly fineList
, not annotated as producing anything => returns a proper HTTP 500 saying that noMessageBodyWriter
can be found for dealing withapplication/octet-stream
=> lgtmSingle
, not annotating as producing anything => the response is never sent back. Test timeout occursLet me know if you need anything else.