Fixed an issue where swagger-core ...

was unable to read json schema that is rendered by the types containing
enums

Closes Isssue #42