@GET @Path("{id}") @Produces(value = MediaType.APPLICATION_JSON) public Response get(@PathParam("id") Long id) { return Response.ok(service.findUserById(id)).build(); }