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
We have a REST API where we want to rename fields. To be able to be backwards compatible, we simply introduced the new field and keep support for the old one as well. Since it might be confusing in the docs, we would like to just exclude the old fields from the documentation (only) - so new clients will directly use the new field. But not from the JSON payload using @JsonIgnore. It would be nice, if that would be supported.
The text was updated successfully, but these errors were encountered:
Ah, just forgot to mention, that the wiki page only mentions that those can be put on a class. Not on other places like fields, methods etc. Thanks again anyway!
We have a REST API where we want to rename fields. To be able to be backwards compatible, we simply introduced the new field and keep support for the old one as well. Since it might be confusing in the docs, we would like to just exclude the old fields from the documentation (only) - so new clients will directly use the new field. But not from the JSON payload using @JsonIgnore. It would be nice, if that would be supported.
The text was updated successfully, but these errors were encountered: