Skip to content
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

Fix missing jackson annotations for enum #1045

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mcassidygamma
Copy link

I encountered an issue when using the jaxrs-spec generator. For a pojo which used an enum, the enum was trying to use @JsonCreator and @JsonValue which were never being imported, thus compilation would fail.

I've added the imports and added a test also.
Resubmitting after grabbing all the most recent master branch changes.

@mcassidygamma mcassidygamma marked this pull request as ready for review May 26, 2022 10:03
@blaukvik
Copy link

This would be nice -
Is there a SNAPSHOT of maven-plugin with this somewhere ? I can test :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants