- Notifications
You must be signed in to change notification settings - Fork 157
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm working with an API that returns integer values for enums instead of their String names. So instead of:
enum UserRole { @JsonValue('swaggerGeneratedUnknown') swaggerGeneratedUnknown, @JsonValue('Guest') guest, @JsonValue('User') user, @JsonValue('Admin') admin }I would need this to be generated:
enum UserRole { @JsonValue(-1) swaggerGeneratedUnknown, @JsonValue(0) guest, @JsonValue(1) user, @JsonValue(2) admin }Is this possible with this package?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working