Skip to content

Custom Validation based on Annotation & we can make custom Annotation use for Validation.

Notifications You must be signed in to change notification settings

MrAkashKumar/SpringBootCustomValidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBootCustomValidation

Custom Validation based on Annotation & we can make custom Annotation use for Validation.

CUSTOM Validation

                         STEP 1


                          API :: http://localhost:8096/custom/api/v1/validate
                          
                          TYPE :: POST
                          
                          Request Body:
                          
                            {
                              "employeeName":"Akash Kumar",
                              "employeeMobile":"8109833593",
                              "employeeCode":"5613"
                            }
                            
                          Response:
                          
                             {
                              "employeeName":"Akash Kumar",
                              "employeeMobile":"8109833593",
                              "employeeCode":"5613"
                            }
                            
                            
                            
                            
                          STEP 2
                          
                          API :: http://localhost:8096/custom/api/v1/employee
                          
                          TYPE :: POST
                          
                          Request Body:
                          
                            {
                              "employeeName":"Akash Kumar",
                              "employeeMobile":"810983359X",
                              "employeeCode":"RE5613"
                            }
                          
                          Response
                          
                          Just Think ????

Thanks Akash Kumar

About

Custom Validation based on Annotation & we can make custom Annotation use for Validation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages