Skip to content

brendanbenson/SpringValidationExample

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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