@redocly/openapi-core
Version:
See https://github.com/Redocly/redocly-cli
7 lines (6 loc) • 396 B
TypeScript
import { StyleguideConfig } from '../config';
import type { Document } from '../resolve';
import type { Oas3RuleSet } from '../oas-types';
import type { Plugin } from '../config/types';
export declare function parseYamlToDocument(body: string, absoluteRef?: string): Document;
export declare function makeConfigForRuleset(rules: Oas3RuleSet, plugin?: Partial<Plugin>): Promise<StyleguideConfig>;