Skip to content

brendanbenson/SpringValidationExample

Repository files navigation

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"

About

Example of real-world spring validation use cases

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages