Skip to content

RequestValidator

Structure Class

RequestValidator dataclass

Bases: _SerdeShape

A set of validation rules for incoming Method requests.

Attributes

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

The identifier of this RequestValidator.

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

The name of this RequestValidator

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

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 = ...

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