Example of real-world spring validation use cases
Switch branches/tags
Nothing to show
Clone or download

README.md

Spring Validation Example

This project demonstrates Spring Validations using Spring Boot.

Read a full description of this repository on my blog post about Spring validation.

To run the application:

./gradlew bootRun

To send a request to the products endpoint:

curl -X POST -H "Content-Type: application/json" -d '{
	"name": "Avocado",
	"price": 79,
	"sku": "AV87"
}' "http://localhost:8080/products"