Spring Boot Microservices – Creating REST API using Spring Boot
In the post Exposing repositories as REST resources, we exposed a repository as a RESTful interface using Spring Data REST. However, that’s not the conventional way of creating REST API for Spring Boot Microservices. That particular approach works best if your data model is exactly similar to your domain model. Usually, that’s not the case. In this post, we will look at the right way of creating REST API using Spring Boot.