rest - JAX RS Jersey Schema Validation -
how configure schema validation jax-rs restful services?
we using xsd define models, , jaxb generate java models.
this how it's done automatically in rexsl: xslresolver#addxsdvalidatortomarshaller() (pay attention highlighted method). in nutshell, need use setschema()
of jaxb marshaller
.
Comments
Post a Comment