Class TraitValueValidator

java.lang.Object
software.amazon.smithy.model.validation.validators.TraitValueValidator
All Implemented Interfaces:
Validator

public final class TraitValueValidator extends Object implements Validator
Validates that trait values are valid for their trait definitions.
  • Field Details

  • Constructor Details

    • TraitValueValidator

      public TraitValueValidator()
  • Method Details

    • validate

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