-
Feature Request
-
Resolution: Done
-
Major
-
2.6.0.Final
-
None
When a REST endoint is generated, there is only support for XML MIMETYPE
@GET @Produces("application/xml") public List<Book> listAll(@QueryParam("start") Integer startPosition, @QueryParam("max") Integer maxResult)
It would be good to have both XML and JSON
@GET
@Produces({"application/xml","application/json"})
public List<Book> listAll(@QueryParam("start") Integer startPosition, @QueryParam("max") Integer maxResult)