How can I make Spring direct the request to my custom method?
CodePudding user response:
All query method resources are exposed under the search resource. (See here for further information.)
http://localhost:8080/tasks/search/
should give you the list of available search endpoints. One should be : http://localhost:8080/tasks/search/findByOrganizationId
, to which you can apply your parameterized search.