unmock-core
Version:
[][npmjs] [](https://circleci.com/gh/unmock/unmock-js) [](h
10 lines • 757 B
TypeScript
import { OpenAPIObject, Parameter } from "./interfaces";
export declare function derefIfNeeded({ schema, absPath, }: {
schema: OpenAPIObject;
absPath: string;
}): <T>(mightHaveReference: any) => T;
export declare const getPathParametersFromPath: (path: string) => string[];
export declare const getPathParametersFromSchema: (schema: Record<string, import("loas3/dist/generated/full").PathItem>, path: string) => Parameter[];
export declare const buildPathRegexStringFromParameters: (path: string, schemaParameters: Parameter[], pathParameters: string[]) => string;
export declare const getAtLevel: (nestedObj: any, level: number, filterFn?: ((key: string | undefined, value: any) => boolean) | undefined) => any[];
//# sourceMappingURL=util.d.ts.map