Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidateBodyOptions

RouterEvent.validateBody() options. Extends jsonschema.validate() Options.

Hierarchy

  • Options
    • ValidateBodyOptions

Index

Properties

Optional allowUnknownAttributes

allowUnknownAttributes: boolean

Optional base

base: string

Optional httpStatusCode

httpStatusCode: number

The HTTP status code to use for validation errors. Defaults to 422.

Optional propertyName

propertyName: string

Optional rewrite

rewrite: RewriteFunction

Optional skipAttributes

skipAttributes: string[]

Optional throwError

throwError: boolean

Generated using TypeDoc