Migrate primitive class members to classes. (e.g. int to Integer) to provide nullable fields.
Also make sure that field members have no default values so that the serializer can omit these values and generate a short and clean response. This is especially important when using the fields response filter query parameter.
Migrate primitive class members to classes. (e.g. int to Integer) to provide nullable fields.
Also make sure that field members have no default values so that the serializer can omit these values and generate a short and clean response. This is especially important when using the
fields
response filter query parameter.