cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore properties whose value is null

satti9397
New Member

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 ?

New Here?
Join us and watch the welcome video:
Announcements