Skip to content

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]>
@sonarqubecloud
Copy link

@MikeEdgar MikeEdgar merged commit 780153e into smallrye:main Nov 13, 2024
@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