UNPKG

@scalar/swagger-editor

Version:

an editor which is tailored to write OpenAPI spec

16 lines 494 B
import { type ThemeId } from '@scalar/themes'; import { type ComputedRef, type Ref } from 'vue'; export type SwaggerEditorProps = { value?: string; theme?: ThemeId; proxyUrl?: string; error?: string | Ref<string> | ComputedRef<string> | null; }; export type SwaggerEditorHeaderProps = { proxyUrl?: string; }; export type SwaggerEditorInputProps = { value?: string; }; export type OpenSwaggerEditorActions = 'importUrl' | 'uploadFile'; //# sourceMappingURL=types.d.ts.map