UNPKG

@redocly/openapi-core

Version:

See https://github.com/Redocly/openapi-cli

6 lines (5 loc) 333 B
import { Document } from '../resolve'; import { Oas3RuleSet } from '../oas-types'; import { LintConfig, Plugin } from '../config/config'; export declare function parseYamlToDocument(body: string, absoluteRef?: string): Document; export declare function makeConfigForRuleset(rules: Oas3RuleSet, plugin?: Partial<Plugin>): LintConfig;