Contributions
how to exclude null value field from custom response object
Hi, Is it possible to exclude null value field from response where return type is custom object. I want to exclude "displayString" field if it's value is null from response. Below is the swagger details : DeviceMonitoringDetailsVo: type: object properties: field: type: string description: device-detail field item displayString: type: string nullable: false description: field-item display name in UI value: type: string description: value of the device-detail field editable: type: boolean description: Determines if field is editable by user/UI Thanks, Navneet531Views0likes0Comments