Open JeroenHeemskerk opened 2 years ago
@JeroenHeemskerk have you tried using the JAXB annotations for this? I.e. @XmlElement
, @XmlType
, etc.
No i have not tried that, because it was not mentioned in the documentation that this would generate an XML section in the schema.
I am currently no longer able to test it out, but maybe someone else would.
We discussed this request in the 2023-01-30 group call and decided it would be a good addition to the next minor (3.2, if we do it) or major (4.0) release.
When you define a Schema object you can supply an Xml object. But when you use the
@Schema
annotation there is no possibity to add an@Xml
annotation.I would like to do for example
The only workaround to force an xml element in the schema is to make an overrride of filterSchema in an OASFilter