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 ServicesRESTful 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 ExampleIn 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 ExampleSpring 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 SwaggerIn 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 DocumentationIn 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 3SpringFox 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