Spring REST API multiple RequestParams vs controller implementation
问题 I'm wondering about proper way of implementating of controller in case of GET request with multiple request params given. In my understanding of REST it's much better to have one endpoint with additional parameters for filtering/sorting than several endpoints (one for each case). I'm just wondering about maintanance and extensibility of such endpoint. Please have a look on example below : @RestController @RequestMapping("/customers") public class CustomerController { @Autowired private