Class UniqueProtocolTestCaseIdValidator

  • All Implemented Interfaces:
    Validator

    public class UniqueProtocolTestCaseIdValidator
    extends AbstractValidator
    Validates that the "id" property of smithy.test#httpRequestTests, smithy.test#httpResponseTests, and smithy.test#httpMalformedRequestTests are unique across all test cases.
    • Constructor Detail

      • UniqueProtocolTestCaseIdValidator

        public UniqueProtocolTestCaseIdValidator()
    • 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.