Page Contents

Home > @loopback/rest > SchemaValidatorCache

SchemaValidatorCache type

Cache for AJV schema validators

Signature:

export declare type SchemaValidatorCache = WeakMap<SchemaObject | ReferenceObject, // First keyed by schema object
Map<string, ajv.ValidateFunction>>;