PRPO-skupina-08 / JustPhotons

0 stars 0 forks source link

user-management POST 'n PUT body fields validation #9

Closed ba-na-na-na-na closed 3 days ago

ba-na-na-na-na commented 4 days ago

JSON fields in POST and PUT bodies should be validated, so no inappropriate info gets where it shouldn't.

ba-na-na-na-na commented 4 days ago

Using javax.validation.constraints.* and @Valid in UserResource.java

ba-na-na-na-na commented 4 days ago

And UserCreateDTO.java