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 | Modifiers | Type | Description |
---|---|---|---|
name? | string | (Optional) Parameter name, as provided in ParameterObject#name property. |
|
source? | string | (Optional) Where the data comes from. It can be ‘body’, ‘path’, ‘header’, ‘query’, ‘cookie’, etc… |