Removal of the showResourcesVetList method dead code
Cause no more JSON and XML export feature
Why is it dead code? Is there a bug in the @GetMapping (works for me)?
The UI menu references the GET /vets.html?page=1 endpoint (within the showVetList method of the VetController), not the /vets one. Thus I think we could remove the unused showResourcesVetList method.
The UI is clearly meant to show HTML. The /vets endpoint still works (and gives you JSON or XML depending on what you ask it for). I think that was the purpose of the code that you proposed to remove, so I think it's worth keeping.
The /vets endpoint works, but is no longer used by the UI. If you remember we have those links for XML and JSON rendering :
From my point of view, we don't need to keep that kind of dead code. It might disappoint some developers.
Maybe we should put the links back? Or at least add some instructions about how to get the XML and JSON?