/** * Return list of all ticket. * * @return */ @GET @Produces("application/json") public List<Ticket> listTickets() { return tm.listAll(); }