Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrakashkumar/springbootcustomvalidation

Custom Validation based on Annotation & we can make custom Annotation use for Validation.
https://github.com/mrakashkumar/springbootcustomvalidation

custom-annotation exception-handler java8 springboot2-x

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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