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

Description
I just posted an issue in jackson-module-jsonSchema.
FasterXML/jackson-module-jsonSchema#49
For completeness:
I have the following Java enum:
@XmlType
@XmlEnum(Integer.class)
public enum DefaultMessageVersion
{
@XmlEnumValue("1") ONE;
}
That is producing the following json schema snippet:
"defaultMessageVersion" : {
"type" : "string",
"enum" : [ "1" ]
}
This is because (I believe) Jackson ignores the @XmlEnum annotation. I would like the outputted snippet to have "type" : "integer" (or int? I'm not 100% sure which it is).
I have posted the issue here at the request of cowtowncoder, and am hoping that I can submit a fix myself (with pointers on where to look), or that someone else with more knowledge and expertise can take care of it without too much trouble.