UNPKG

@microsoft.azure/openapi-validator-core

Version:
19 lines (18 loc) 592 B
import { JsonParser } from "./jsonParser"; import { JsonPath, IFileSystem } from "./types"; export declare class OpenapiDocument { private _specPath; private parser; private fileSystem; private _content; private _doc; private jsonInstance; private resolver; constructor(_specPath: string, parser: JsonParser, fileSystem: IFileSystem); resolve(): Promise<void>; getObj(): any; getContent(): string | undefined; getReferences(): string[]; getDocumentPath(): string; getPositionFromJsonPath(jsonPath: JsonPath): import("./types").Range; }