AutoConfiguration in Spring Boot – How to enable or disable it

Spring Boot Auto Configuration

Spring Boot AutoConfiguration is a feature of the Spring Boot framework that automatically configures and sets up certain beans in the application context based on the dependencies present in the classpath. This helps developers to quickly set up and bootstrap their applications without having to manually define and configure each bean. To understand how Spring … Read more

Spring Boot Validation Tutorial With Example

Spring Boot Validation is a feature of the Spring Framework that allows you to validate user input in your application. Spring Boot Validation uses the Java Bean Validation API, which provides a number of built-in constraints that you can use to validate the properties of your objects.

But why API validation is essential?

API request validation is the crucial step in ensuring that client requests align with the API specifications laid out by the API developers. To avoid unexpected/wrong errors as well as slow/invalid responses, API requests should be validated first for correctness before being progressed further.

Read more