Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mrakashkumar/springbootcustomvalidation
- Owner: MrAkashKumar
- Created: 2021-02-20T16:51:58.000Z (almost 4 years ago)
- Default Branch: custom-validation
- Last Pushed: 2021-03-14T14:56:13.000Z (almost 4 years ago)
- Last Synced: 2024-04-18T04:50:14.508Z (10 months ago)
- Topics: custom-annotation, exception-handler, java8, springboot2-x
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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