UNPKG

@scalar/openapi-parser

Version:

modern OpenAPI parser written in TypeScript

9 lines 427 B
import type { UnknownObject } from '@scalar/types/utils'; import type { Filesystem } from '../types/index.js'; /** * Normalize the OpenAPI document (YAML, JSON, object) to a JavaScript object. * * Doesn't modify the object if it's a `Filesystem` (multiple files) already. */ export declare function normalize(content: string | UnknownObject | Filesystem): UnknownObject | Filesystem; //# sourceMappingURL=normalize.d.ts.map