REST has quickly become the de-facto standard for building web services on the web because they’re easy to build and easy to consume. REST embraces the precepts of the web, including its architecture, benefits, and everything else.
So building on top of HTTP, REST APIs provide the means to build flexible APIs that can:
- Support backward compatibility
- Evolvable APIs
- Scaleable services
- Securable services
- A spectrum of stateless to stateful services
In Spring ecosystem, REST is a first class citizen. The platform is fully mature and keep improving, catch the latest trend in Cloud computing.
Tutorials in this series:
HTTP Methods in Spring RESTful Services
RESTful services enable us to develop any kind of application involving all possible CRUD operations. There are guidelines or principles that suggest using a specific HTTP method on a specific type of call made to the server.Spring Boot + JPA/Hibernate + PostgreSQL RESTful CRUD API Example
In this tutorial, we'll build a Spring Boot RESTful API project for a simple contact CRUD application using JPA/Hibernate and PostgreSQL.Spring Boot RESTful Web Services CRUD Example
Spring provides a very good framework to building RESTful Web Services, and this support are extended in Spring Boot. This tutorial will explain in detail about building CRUD RESTful web services using Spring Boot.Documenting Spring Boot REST API with Swagger
In this tutorial, we will look at setting up Swagger and and SpringFox to create REST API documentation in Spring Boot application.SpringFox Bean Validators for Swagger Documentation
In SpringFox version greater than 2.3.2, support for bean validation annotations was added. It allowing generation of Swagger documentation based on JSR-303 (Bean Validation) annotations automatically.Documenting Spring Boot REST API with SpringDoc + OpenAPI 3
SpringFox 2.9.2 (latest version) still using version 2 of the OpenAPI Specification, and version 3 is not yet supported. In this tutorial, we will use another dependency for documenting REST API in OpenAPI version 3 format — springdoc-openapi