@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
8 lines • 705 B
TypeScript
import type { Config } from '@redocly/openapi-core';
import type { BuildDocsOptions } from './types.js';
export declare function getObjectOrJSON(openapiOptions: string | Record<string, unknown>, config: Config): JSON | Record<string, unknown> | Config;
export declare function getPageHTML(api: any, pathToApi: string, { title, disableGoogleFont, templateFileName, templateOptions, redocOptions, redocCurrentVersion, }: BuildDocsOptions, configPath?: string): Promise<string>;
export declare function sanitizeJSONString(str: string): string;
export declare function escapeClosingScriptTag(str: string): string;
export declare function escapeUnicode(str: string): string;
//# sourceMappingURL=utils.d.ts.map