swagger_parser
swagger_parser copied to clipboard
Fixes names on enums if available in oneOf, adds toString and Comparable functionality
This should bring enum functionality up to all best practices:
If the spec has oneOf with const and title, it will use title automatically to name the enum. Will handle toString() properly. Enables Comparable against the value correctly per the documentation on advanced enums.