Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for an object validator.

Hierarchy

  • ObjectValidatorOptions

Index

Properties

Optional canBeNull

canBeNull: boolean

Indicates if input body can be (null) or not.

Optional canBeUndefined

canBeUndefined: boolean

Indicates if input body can be (undefined) or not.

Optional failedHandler

failedHandler: ObjectValidationFailedHandler<Request>

A custom function, that handles a failed validation.

Optional limit

limit: number

A custom upload limit, in bytes.

Optional schema

schema: AnySchema

The schema.

Generated using TypeDoc