UNPKG

@redocly/openapi-core

Version:

See https://github.com/Redocly/redocly-cli

11 lines (10 loc) 458 B
import type { Location } from '../ref-utils'; import type { ErrorObject } from '@redocly/ajv/dist/2020'; import type { ResolveFn } from '../walk'; export declare function releaseAjvInstance(): void; export declare function validateJsonSchema(data: any, schema: any, schemaLoc: Location, instancePath: string, resolve: ResolveFn, allowAdditionalProperties: boolean): { valid: boolean; errors: (ErrorObject & { suggest?: string[]; })[]; };