Class DefaultValueInUpdateValidator

java.lang.Object
software.amazon.smithy.model.validation.AbstractValidator
software.amazon.smithy.model.validation.validators.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 Details

    • DefaultValueInUpdateValidator

      public DefaultValueInUpdateValidator()
  • Method Details

    • validate

      public 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.