Build REST APIs in Spring Boot Without Writing Controllers

You can build REST APIs in Spring Boot with almost zero controller code using tools like Spring Data REST, projections, and repository…