---
lang: en
title: 'API docs: rest.requestbodyparseroptions.validation'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.requestbodyparseroptions.validation.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RequestBodyParserOptions](./rest.requestbodyparseroptions.md) &gt; [validation](./rest.requestbodyparseroptions.validation.md)

## RequestBodyParserOptions.validation property

Validation options for AJV, see https://github.com/epoberezkin/ajv\#options This setting is global for all request body parsers and it cannot be overridden inside parser specific properties such as `json` or `text`<!-- -->.

<b>Signature:</b>

```typescript
validation?: RequestBodyValidationOptions;
```

