Create REST end-point in Controller. All business logic should be in Service layer.
technical specification
1) Write unit tests (Use @WebMvcTest for Controller tests, no Spring context in Service and repository tests- 100% coverage
2) Write Integration tests, if you wish
Create REST end-point in Controller. All business logic should be in Service layer. technical specification 1) Write unit tests (Use @WebMvcTest for Controller tests, no Spring context in Service and repository tests- 100% coverage 2) Write Integration tests, if you wish