I\'m trying to distinguish between null values and not provided values when partially updating an entity with PUT request method in Spring Rest Controller.
Consider
Actually,if ignore the validation,you can solve your problem like this.
public class BusDto {
private Map changedAttrs = new HashMap<>();
/* getter and setter */
}