@loopback/docs
Version:
Documentation for LoopBack 4
24 lines (16 loc) • 872 B
Markdown
lang: en
title: 'API docs: rest.requestbodyvalidationoptions.compiledschemacache'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.requestbodyvalidationoptions.compiledschemacache.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RequestBodyValidationOptions](./rest.requestbodyvalidationoptions.md) > [compiledSchemaCache](./rest.requestbodyvalidationoptions.compiledschemacache.md)
## RequestBodyValidationOptions.compiledSchemaCache property
Custom cache for compiled schemas by AJV. This setting makes it possible to skip the default cache.
<b>Signature:</b>
```typescript
compiledSchemaCache?: SchemaValidatorCache;
```