Class ProtocolHttpPayloadValidator
- java.lang.Object
-
- software.amazon.smithy.model.validation.AbstractValidator
-
- software.amazon.smithy.aws.traits.protocols.ProtocolHttpPayloadValidator
-
- All Implemented Interfaces:
software.amazon.smithy.model.validation.Validator
public final class ProtocolHttpPayloadValidator extends software.amazon.smithy.model.validation.AbstractValidator
Ensures that the http payload trait is only bound to structures, unions, documents, blobs, or strings for AWS protocols.
-
-
Constructor Summary
Constructors Constructor Description ProtocolHttpPayloadValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<software.amazon.smithy.model.validation.ValidationEvent>
validate(software.amazon.smithy.model.Model model)
-