rmannibucau commented on a change in pull request #4: GERONIMO-6757 if we can
avoid CDI.current by injecting, please do! otherwise go ahead.
URL: https://github.com/apache/geronimo-jwt-auth/pull/4#discussion_r355215193
##########
File path:
src/main/java/org/apache/geronimo/microprofile/impl/jwtauth/jaxrs/GeronimoJwtAuthExceptionMapper.java
##########
@@ -36,7 +34,6 @@
public Response toResponse(final JwtException e) {
return Response.status(e.getStatus())
.entity(builder.toObject(e))
- .type(APPLICATION_JSON_TYPE)
Review comment:
Guess we dont want to change that to ensure we serve a type our model is
compatible with (only json today)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services