Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ignoreUnknownJacksonAnnotation configuration property is simply getting ignored #11899

Open
bansalm2001 opened this issue Sep 19, 2022 · 1 comment

Comments

@bansalm2001
Copy link

Hello! Trying to add @JsonIgnoreProperties(ignoreUnknown = true) annotation to all the generated model classes.
Trying to accomplish by adding the configuration property: ignoreUnknownJacksonAnnotation
But it seems that it simply gets ignored. I have generated swagger-codegen-cli.jar from the master branch. It appears that this should be an out of box solution.

Please help!

@neshant
Copy link

neshant commented Oct 28, 2022

I have a similar observation!

nikhilbchilwant added a commit to nikhilbchilwant/swagger-codegen that referenced this issue Oct 3, 2024
…on property

Add unit tests for ignoreUnknownJacksonAnnotation configuration property
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants