Class DefaultValueInUpdateValidator

  • All Implemented Interfaces:
    Validator

    public final class DefaultValueInUpdateValidator
    extends AbstractValidator
    Finds operations that are meant to partially update a resource, but that use members with default values in their input shapes, making it impossible to know if the member was provided explicitly or defaulted.
    • Constructor Detail

      • DefaultValueInUpdateValidator

        public DefaultValueInUpdateValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.