Update src/utils/loadAndBundleSpec.ts

This commit is contained in:
Roman Hotsiy 2021-04-08 14:17:52 +03:00 committed by GitHub
parent a70f9f13dc
commit 101bf62556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import { Source, Document, bundle, Config } from '@redocly/openapi-core';
/* tslint:disable-next-line:no-implicit-dependencies */
import { convertObj } from 'swagger2openapi';
import { OpenAPISpec } from '../types';
import { Source, Document, bundle, Config } from '@redocly/openapi-core';
import { IS_BROWSER } from './dom';
export async function loadAndBundleSpec(specUrlOrObject: object | string): Promise<OpenAPISpec> {