openapi-graph-core
Version:
A TS library to manage large API projects defined by OpenAPIv3 specification.
9 lines (8 loc) • 352 B
TypeScript
import { OpenAPIContent } from 'openapi-graph-types';
/**
* reads the contents of all given paths. The files will be validated.
*
* @param paths of the .yaml|.yml files. The paths should exists.
* @returns the contents of the files as JSON with their path
*/
export declare function getOpenApisContent(paths: string[]): Promise<OpenAPIContent[]>;