public final class AuthTraitValidator extends AbstractValidator
@auth
trait values referenced from an operation must refer
to authentication traits applied to service shapes that enclose the
operation.MODEL_ERROR
Constructor and Description |
---|
AuthTraitValidator() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationEvent> |
validate(Model model)
Validates a model and returns a list of validation events.
|
createEvent, createEvent, danger, danger, error, error, getName, note, note, warning, warning
public java.util.List<ValidationEvent> validate(Model model)
Validator
model
- Model to validate.