How to handle Resource validation in REST webservices?

前端 未结 4 1955
悲哀的现实
悲哀的现实 2020-12-24 14:46

I\'m building a REST webservice in Java using Spring, Jersey and Hibernate (JPA).

Now I\'m trying to add support for validation in my resources. JSR-303 (Bean valida

4条回答
  •  无人及你
    2020-12-24 15:15

    Oval is the best package to evaluate an object. It is very useful to generate a unit test assertion and automated test.

提交回复
热议问题