-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enum as Object issues #140
Comments
Universal workaround is to exclude class which is not mapped correctly. Excluded class is then mapped to I am not sure why excluding doesn't work in your case. I added test(eed856e) specifically for enum class and it works. |
sorry -- I was using 1.24.314 but fix is in 1.24.320 |
Build v1.24.320 adds just one test and it is not released to maven central repository. |
I implemented support for enums with |
It works! |
Closing old issues after release. |
I have enums that are annotated with
@JsonFormat(shape= JsonFormat.Shape.OBJECT
My enums are like this:
In the HTTP response they look like this:
However, my generated Typescript looks like this:
Also, excluding the class does not work. StatusType is still there.
I'm looking for a workaround right now.
The text was updated successfully, but these errors were encountered: