Page Contents

Home > @loopback/rest > ValueValidationOptions

ValueValidationOptions interface

Options for any value validation using AJV

Signature:

export interface ValueValidationOptions extends RequestBodyValidationOptions 

Extends: RequestBodyValidationOptions

Properties

Property Type Description
source string Where the data comes from. It can be ‘body’, ‘path’, ‘header’, ‘query’, ‘cookie’, etc…