Closed jakubneubauer closed 8 years ago
Have it - the JUnit that reproduces it: https://gist.github.com/jakubneubauer/3df768198a6bc51e9daf
Thanks!
Interestingly enough, I can reproduce this with 2.6(.3) but not with 2.7.0-SNAPSHOT. I am guessing maybe this is duplicate of #81?
Since test passes, assumed fixed for 2.7.0, probably due to fixes in jackson-databind
.
When I serialize JsonSchema containing array of enums, it is correctly serialized like this:
But when I deserialize it again, I will get an array of string, but the enum set of the StringSchema is empty. I have a unit test that demonstrates it but I'm not sure how to attach it to the github issue... Will try it after creation...