Skip to Content
Modern API Development with Spring 6 and Spring Boot 3 - Second Edition
book

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

by Sourabh Sharma
September 2023
Intermediate to advanced
494 pages
11h 33m
English
Packt Publishing
Content preview from Modern API Development with Spring 6 and Spring Boot 3 - Second Edition

3

API Specifications and Implementation

In previous chapters, we learned about the design aspects of REST APIs and the Spring fundamentals required to develop 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 to make our development process understandable for non-technical stakeholders as well. To make this approach possible, we will make use of the OpenAPI Specification (OAS) to, first, design an API and, later, implement it. We will also learn how to handle errors that occur while serving the request. In this chapter, we will use the example of designing and implementing an API of a sample e-commerce app.

By the end of this chapter, you ...

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

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Full Stack Development with Spring Boot 3 and React - Fourth Edition

Juha Hinkula

Publisher Resources

ISBN: 9781804613276Supplemental Content