Forum Discussion

satti9397's avatar
satti9397
New Member
6 years ago

Ignore properties whose value is null

I have a type object in yaml file which has few properties .. I do not want to display properties whose value is null just like  in swagger autogenerated class

@JsonInclude(JsonInclude.Include.NON_NULL)

 

May i know how to do this ? Is there any property which serves my purpose in yaml ?

No RepliesBe the first to reply