@loopback/docs
Version:
Documentation for LoopBack 4
25 lines (17 loc) • 721 B
Markdown
lang: en
title: 'API docs: rest.schemavalidatorcache'
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.schemavalidatorcache.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [SchemaValidatorCache](./rest.schemavalidatorcache.md)
## SchemaValidatorCache type
Cache for AJV schema validators
<b>Signature:</b>
```typescript
export declare type SchemaValidatorCache = WeakMap<SchemaObject | ReferenceObject, // First keyed by schema object
Map<string, ajv.ValidateFunction>>;
```