Page Contents

Home > @loopback/rest > ValueValidationOptions

ValueValidationOptions interface

Options for any value validation using AJV

Signature:

export interface ValueValidationOptions extends ValidationOptions 

Extends: ValidationOptions

Properties

Property Type Description
name string Parameter name, as provided in ParameterObject#name property.
source string Where the data comes from. It can be ‘body’, ‘path’, ‘header’, ‘query’, ‘cookie’, etc…