swagger_parser icon indicating copy to clipboard operation
swagger_parser copied to clipboard

Fixes names on enums if available in oneOf, adds toString and Comparable functionality

Open JohnGalt1717 opened this issue 11 months ago • 0 comments

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.

JohnGalt1717 avatar Mar 25 '24 17:03 JohnGalt1717