AlexJuca
09/20/2020, 9:53 PMrequire for spring boot rest API's. 👌
v1.1.0 now supports custom error responses!
https://github.com/nextbss/requirektthanksforallthefish
09/21/2020, 7:07 AMjavax.validation specification and hibernate-validator implements them quite nicely, especially in an api context since the path of the violating field can easily be described. and you also get all the errors in one call
the other example you provide on authorization is probably even less realistic, authorization is not a prerequisite but a complex flow. just think how to handle password base, flow base, sso, oauth, openid and all stuff that spring security already does with require seems a bit overwhelming to me