Spring Boot Rest Api Best Practices