Class NoninclusiveTermsValidator

java.lang.Object
software.amazon.smithy.model.validation.AbstractValidator
software.amazon.smithy.linters.NoninclusiveTermsValidator
All Implemented Interfaces:
Validator

public final class NoninclusiveTermsValidator extends AbstractValidator

Validates that all shape names and values do not contain non-inclusive terms.

  • Method Details

    • validate

      public List<ValidationEvent> validate(Model model)
      Runs a full text scan on a given model and stores the resulting TextOccurrences objects. Namespaces are checked against a global set per model.
      Parameters:
      model - Model to validate.
      Returns:
      a list of ValidationEvents found by the implementer of getValidationEvents per the TextOccurrences provided by this traversal.