Reputation: 36
I want to generate an XSD schema for existing, jaxb annotated, DTO's. I can't easily change the DTO code or the serialization formats. I have two problems:
How do I generate the simpleType based on @JavaXmlTypeAdapter annotations? How do I inject validation constraints based on custom annotations?
I read the documentation for jaxb and various maven plugins but could not find a solution.
Upvotes: 0
Views: 142