UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

27 lines (26 loc) 1.2 kB
import type { OpenAPIV3 } from '@scalar/openapi-types'; import type { PlaygroundExampleBehavior } from '../../composables/useTheme'; import type { OAExampleObject } from '../../types'; interface Props { operationId: string; body: any; contentType: string; requestBody?: OpenAPIV3.RequestBodyObject; enabledParameters: Record<string, boolean>; examples?: { [key: string]: OAExampleObject; }; exampleBehavior?: PlaygroundExampleBehavior; xExampleBehavior?: PlaygroundExampleBehavior; } declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { submit: () => any; "update:enabled": (key: string, value: boolean) => any; "update:body": (value: any) => any; }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{ onSubmit?: (() => any) | undefined; "onUpdate:enabled"?: ((key: string, value: boolean) => any) | undefined; "onUpdate:body"?: ((value: any) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default;