Skip to content

Api Gateway  >  Structures  >  RequestValidator

RequestValidator

Structure Class

RequestValidator dataclass

A set of validation rules for incoming Method requests.

Attributes

id class-attribute instance-attribute
id: str | None = None

The identifier of this RequestValidator.

name class-attribute instance-attribute
name: str | None = None

The name of this RequestValidator

validate_request_body class-attribute instance-attribute
validate_request_body: bool = False

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

validate_request_parameters class-attribute instance-attribute
validate_request_parameters: bool = False

A Boolean flag to indicate whether to validate request parameters (true) or not (false).