Tag: validation

Validating Spring REST controllers’ beans using the Bean Validation API… and writing the tests for it!

So you want to validate the data sent to your application’s REST services? Nowadays you can quite easily do that using Spring and the Bean Validation API. And to help you test that validation process, how about bringing in Spring Boot to programmatically start your application and run your tests against it?