Skip to Content
Modern API Development with Spring and Spring Boot
book

Modern API Development with Spring and Spring Boot

by Sourabh Sharma
June 2021
Intermediate to advanced
582 pages
11h 12m
English
Packt Publishing
Content preview from Modern API Development with Spring and Spring Boot

Chapter 3: API Specifications and Implementation

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:

  • Designing APIs with OAS
  • Converting OAS to Spring code
  • Implementing the OAS code interfaces ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern API Development with Spring 6 and Spring Boot 3 - Second Edition

Modern API Development with Spring 6 and Spring Boot 3 - Second Edition

Sourabh Sharma

Publisher Resources

ISBN: 9781800562479Supplemental Content