RequestValidator class
A set of validation rules for incoming Method requests.
In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator
object. It the referenced using the x-amazon-apigateway-request-validator
property.
 
Constructors
- RequestValidator({String? id, String? name, bool? validateRequestBody, bool? validateRequestParameters})
- 
          RequestValidator.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → String?
- 
  The identifier of this RequestValidator.
  final
- name → String?
- 
  The name of this RequestValidator
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- validateRequestBody → bool?
- 
  A Boolean flag to indicate whether to validate a request body according to
the configured Model schema.
  final
- validateRequestParameters → bool?
- 
  A Boolean flag to indicate whether to validate request parameters
(true) or not (false).final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited