This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Description
While converting jaxb annotated classes into a JsonSchema, I noticed that attributes with the @XmlAttribute(required = true) annotation are included in the latter schema but do not respect the required property. Debugging the JaxbAnnotationIntrospector, I noticed that hasRequiredMarker() only looks for the @xmlelement annotation and not the @XmlAttribute annotation, despite the latter being checked by this method.