You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Is there a way to allow @JsonIgnoreProperties( allowGetters = true) to allow the variable to be present in response example values , instead of avoiding it ?
#3410
Closed
Andrew3431 opened this issue
Jan 13, 2020
· 2 comments
The @JsonIgnoreProperties hides the variables from appearing in the swagger document, which is expected. But in cases where the variable has allowGetters = true property set, shouldn't the variable be displayed in response example values ?
NOTE: @JsonIgnoreProperties was added not for swagger purposes in my code , but for functional use (to avoid deserialization) , therefore I cant use @JSONVIEW instead of @JsonIgnoreProperties..
Can this feature be supported ?
The text was updated successfully, but these errors were encountered:
Andrew3431
changed the title
Is there a way to allow @JsonIgnoreProperties( allowGetters = true) to allow the variable to be present in response example values , instead of avoiding it ?
Question: Is there a way to allow @JsonIgnoreProperties( allowGetters = true) to allow the variable to be present in response example values , instead of avoiding it ?
Jan 13, 2020
The @JsonIgnoreProperties hides the variables from appearing in the swagger document, which is expected. But in cases where the variable has allowGetters = true property set, shouldn't the variable be displayed in response example values ?
NOTE: @JsonIgnoreProperties was added not for swagger purposes in my code , but for functional use (to avoid deserialization) , therefore I cant use @JSONVIEW instead of @JsonIgnoreProperties..
Can this feature be supported ?
The text was updated successfully, but these errors were encountered: