Spring Data REST: custom methods validation
问题 I'm trying to use Spring Data REST repositories annotated with @RepositoryRestResource annotation together with custom methods implementation. There are 2 cases: 1) I have REST repository annotated with @RepositoryRestResource which is mapped to /users endpoint. Also, I have @RestController which is mapped to the same endpoint. That results in methods (which should be exposed) in @RepositoryRestResource to not be visible and getting 405 result on them. However method validation with @Valid