Spring Boot Custom JSON response with different Get Method
I developed a spring boot application, in the controller I have a method that returns a list of shops and one of the shop. I want to make different response for different get method, since when you use find all…