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: do not auto-expose properties absent from @JsonIgnoreProperties #2068

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

MikeEdgar
Copy link
Member

@MikeEdgar MikeEdgar commented Nov 13, 2024

Additional fix for #2062

Do not automatically expose a property just because it is not listed in @JsonIgnoreProperties of a reference type. Only when annotation is used on the referencing type. Properties still exposed when annotation is on declaring class or descendant.

@MikeEdgar MikeEdgar added this to the 4.0.3 milestone Nov 13, 2024
@MikeEdgar MikeEdgar linked an issue Nov 13, 2024 that may be closed by this pull request
phillip-kruger
phillip-kruger previously approved these changes Nov 13, 2024
Only when annotation is used on the referencing type. Properties still
exposed when annotation is on declaring class or descendant.

Signed-off-by: Michael Edgar <[email protected]>
Copy link

sonarcloud bot commented Nov 13, 2024

@MikeEdgar MikeEdgar merged commit 780153e into smallrye:main Nov 13, 2024
6 checks passed
@MikeEdgar MikeEdgar deleted the issue-2062-part3 branch November 13, 2024 01:55
@MikeEdgar MikeEdgar added the backport/3.x Issue pending backport to the 3.x series label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/3.x Issue pending backport to the 3.x series
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Found several bugs in the OpenAPI generation results
2 participants