emotional-help-competition / backend

Java backend team's repository
1 stars 0 forks source link

Introduce Hibernate-Validator #53

Open GeloPakDev opened 1 year ago

GeloPakDev commented 1 year ago

Add hibernate-validator for our DTOs and models

Provide the validation for REST API input data using @Validated and @Valid annotations

Create custom ResourceNotFoundException - if the required resource cannot be found

Create custom exception handler for:

kolesroma commented 1 year ago

made exception and validator

kolesroma commented 1 year ago

didn't create validation for QuizController cuz I don't have it in current scope. Tried to make a pr from branch origin/create-quiz-controller but that branch contains many other modifications and leads to merge conflict. Im gonna refactor in develop soon

kolesroma commented 1 year ago

gereralized exceptions