What is the MediaType we can use in @Produces annotation if we are expecting the server to return a JWT response?
for application json we can use,
@Produces({MediaType.APPLICATION_JSON})
But what if we want it to be application/jwt ?
If we use it as below server will return an error saying
"No message body writer has been found for response class ...."
@Produces({"application/jwt"})