@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (22 loc) • 1.17 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
<b>Signature:</b>
```typescript
export interface ValueValidationOptions extends ValidationOptions
```
<b>Extends:</b> [ValidationOptions](./rest.validationoptions.md)
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [name?](./rest.valuevalidationoptions.name.md) | string | <i>(Optional)</i> Parameter name, as provided in <code>ParameterObject#name</code> property. |
| [source?](./rest.valuevalidationoptions.source.md) | string | <i>(Optional)</i> Where the data comes from. It can be 'body', 'path', 'header', 'query', 'cookie', etc... |