Page Contents

Home > @loopback/rest > RequestBodyParserOptions > validation

RequestBodyParserOptions.validation property

Validation options for AJV, see https://github.com/epoberezkin/ajv#options This setting is global for all request body parsers and it cannot be overridden inside parser specific properties such as json or text.

Signature:

validation?: RequestBodyValidationOptions;