wordnik/swagger-core — pull request #574 by e28eta (2014-05-21 00:22:44+00:00)
Title: XmlEnumValue annotation doesn't override the default value

We're using @XmlEnumValue to override the string that our enum values serialize/deserialize as.

Swagger is using the Java enum names, and it seems to be ignoring the XmlEnumValue annotation. This pull request changes the test slightly to expose this issue. On my machine, this causes the test case to fail. I don't know what it'll take to fix.

Our particular XmlEnumValue annotations also change the case to lowercase, but I didn't think that was necessary here.