jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Bean validation for Response entities

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Tue, 5 Nov 2013 12:32:47 -0500

On Nov 5, 2013, at 5:15 AM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> Hi Santiago, All
>
> Are the runtimes supporting a Bean Validation feature (Chapter 7 of the spec) expected to support the validation of the response entities wrapped in JAX-RS Response ?
>

 That's a great question. I believe the spec is mute about this case. So I think we can neither forbid not mandate that behavior. We should, however, clarify this in the next update.

 The RI does support validation in this case.

-- Santiago