June 2021
Intermediate to advanced
582 pages
11h 12m
English
In previous chapters, we learned about the design aspects of REST APIs and the Spring fundamentals required for developing RESTful web services. In this chapter, you'll make use of these two areas to implement REST APIs. We have chosen a design-first approach for implementation. You will make use of the OpenAPI Specification (OAS) for first designing an API and later implementing it. You will also learn how to handle errors that occur while serving the request. Here, an API of a sample e-commerce app will be designed and implemented for reference.
We'll cover the following topics as part of this chapter: