Skip to content

A small demo of validation annotations with rest controllers and their tests.

Notifications You must be signed in to change notification settings

deligkarisk/so_spring_validation_tested_rest_controllers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Example for Rest controller (Stack Overflow contribution)

This small Spring boot project demonstrates how to use annotations to validate an object's properties (in this case username, email). It also showcases how to use Rest controllers and implement tests for different responses.

This code answers the following Stack Overflow question: issue-with-spring-boot-validation-with-version

About

A small demo of validation annotations with rest controllers and their tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages