Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonObjectOptions

Options for 'jsonObject()' function.

Hierarchy

  • JsonObjectOptions

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

A custom function, that handles a failed validation.

Optional options

options: OptionsJson

Custom options for the Express json() middleware.

Optional schema

schema: ObjectSchema

The optional schema to use.

Generated using TypeDoc