mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 21:54:53 +03:00
Update src/utils/loadAndBundleSpec.ts
This commit is contained in:
parent
a70f9f13dc
commit
101bf62556
|
@ -1,7 +1,7 @@
|
||||||
|
import { Source, Document, bundle, Config } from '@redocly/openapi-core';
|
||||||
/* tslint:disable-next-line:no-implicit-dependencies */
|
/* tslint:disable-next-line:no-implicit-dependencies */
|
||||||
import { convertObj } from 'swagger2openapi';
|
import { convertObj } from 'swagger2openapi';
|
||||||
import { OpenAPISpec } from '../types';
|
import { OpenAPISpec } from '../types';
|
||||||
import { Source, Document, bundle, Config } from '@redocly/openapi-core';
|
|
||||||
import { IS_BROWSER } from './dom';
|
import { IS_BROWSER } from './dom';
|
||||||
|
|
||||||
export async function loadAndBundleSpec(specUrlOrObject: object | string): Promise<OpenAPISpec> {
|
export async function loadAndBundleSpec(specUrlOrObject: object | string): Promise<OpenAPISpec> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user