x-amazon-apigateway-request-validator property
Specifies a request validator, by referencing a
of the x-amazon-apigateway-request-validators object map, to enable
request validation on the containing API or a method. The value of this extension is a
JSON string.request_validator_name
This extension can be specified at the API level or at the method level. The API-level validator applies to all of the methods unless it is overridden by the method-level validator.
x-amazon-apigateway-request-validator
example
The following example applies the basic
request validator at the API level while applying the parameter-only
request validator on the POST /validation
request.