UNPKG

@redocly/cli

Version:

[@Redocly](https://redocly.com) CLI is your all-in-one API documentation utility. It builds, manages, improves, and quality-checks your API descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make

14 lines 880 B
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