Repository navigation
Replies: 2 comments 1 reply
|
Can't you create different objectmapper instances to handle different message types? Maybe Swagger team can add this feature to their libs. |
1 reply
|
No, I don't think there is a way to define such contextuality unfortunately. Although... you MIGHT be able to figure out a way to override lookup for |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have generated sources from openapi. I'd like to disable returning null/empty collections and maps.
I did following changes to the ObjectMapper
however this affects every class, which is not wanted. Can I somehow enable
NON_EMPTYandNON_NULLserialization but just for some packages (e.g.com.example.*.generated.*)?All reactions