Page Contents

Home > @loopback/rest > RequestBodyValidationOptions

RequestBodyValidationOptions interface

Options for request body validation using AJV

Signature:

export interface RequestBodyValidationOptions extends ajv.Options 

Properties

Property Type Description
compiledSchemaCache SchemaValidatorCache Custom cache for compiled schemas by AJV. This setting makes it possible to skip the default cache.