UNPKG

@scalar/oas-utils

Version:

Open API spec and Yaml handling utilities

7 lines 261 B
/** * Fetches an OpenAPI/Swagger document from a given URL * * @throws an error if the fetch fails */ export declare function fetchDocument(url: string, proxyUrl?: string, prettyPrint?: boolean): Promise<string>; //# sourceMappingURL=fetch-document.d.ts.map