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

Swagger does not respect Jackson @JsonIgnoreProperties annotation #2845

Open
duckladydinh opened this issue Jun 18, 2018 · 3 comments
Open
Assignees

Comments

@duckladydinh
Copy link

When I used @JsonIgnoreProperties annotation to ignore some redundant properties from the super classes, it has completely no effect on Swagger. The consequence is the API document and the real Json objects have inconsistent structure. Does anyone know how we can solve this problem?

@guan25
Copy link

guan25 commented Aug 13, 2018

yes ,I have same problem

@frantuma
Copy link
Member

This is partially addressed in #3649, please see comment in PR and related test about limitations.

See also #3442 for a concrete example, keeping ticket open until fully addressed

@frantuma frantuma self-assigned this Jul 23, 2020
frantuma added a commit that referenced this issue Jul 23, 2020
refs #2845 - resolve  @JsonIgnoreProperties as property annotation (partial support)
@SushmitaGoswami
Copy link

Any update on this?

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

No branches or pull requests

4 participants