@redocly/cli
Version:
[@Redocly](https://redocly.com) CLI is your all-in-one OpenAPI utility. It builds, manages, improves, and quality-checks your OpenAPI descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make API g
14 lines • 880 B
TypeScript
import type { Oas3PathItem, Referenced } from '@redocly/openapi-core';
import type { CommandArgs } from '../../wrapper.js';
import type { VerifyConfigOptions } from '../../types.js';
export type SplitArgv = {
api: string;
outDir: string;
separator: string;
} & VerifyConfigOptions;
export declare function handleSplit({ argv, collectSpecData }: CommandArgs<SplitArgv>): Promise<void>;
export declare function startsWithComponents(node: string): boolean;
export declare function crawl(object: unknown, visitor: (node: Record<string, unknown>) => void): void;
declare function iteratePathItems(pathItems: Record<string, Referenced<Oas3PathItem>> | undefined, openapiDir: string, outDir: string, componentsFiles: object, pathSeparator: string, codeSamplesPathPrefix: string | undefined, ext: string): void;
export { iteratePathItems };
//# sourceMappingURL=index.d.ts.map