Swagger core version 1.5.12
The Java enumeration has the following code:
@XmlType(name = "PickPriority")
@XmlEnum
public enum PickPriority {
@XmlEnumValue("1")
VALUE_1("1"),
The following code is being generated:
{"name":"PickingPriority"},"enum":["VALUE_1",
The value() of the enumeration should be used.