brendanbenson / SpringValidationExample

Example of real-world spring validation use cases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 100.0%