@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.18 kB
Markdown
lang: en
title: 'API docs: rest.valuevalidationoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.valuevalidationoptions.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [ValueValidationOptions](./rest.valuevalidationoptions.md)
## ValueValidationOptions interface
Options for any value validation using AJV
**Signature:**
```typescript
export interface ValueValidationOptions extends ValidationOptions
```
**Extends:** [ValidationOptions](./rest.validationoptions.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [name?](./rest.valuevalidationoptions.name.md) | | string | _(Optional)_ Parameter name, as provided in <code>ParameterObject#name</code> property. |
| [source?](./rest.valuevalidationoptions.source.md) | | string | _(Optional)_ Where the data comes from. It can be 'body', 'path', 'header', 'query', 'cookie', etc... |