UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

123 lines (122 loc) 3.86 kB
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & (new () => { $slots: S; }); declare const __VLS_component: import("vue").DefineComponent<{}, { path: string; servers: unknown[]; method: string; operation: Record<string, any>; id: string; $props: { readonly path?: string | undefined; readonly servers?: unknown[] | undefined; readonly method?: string | undefined; readonly operation?: Record<string, any> | undefined; readonly id?: string | undefined; }; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; type __VLS_Slots = { header?: ((props: { operation: Record<string, any>; method: string; baseUrl: string; path: string; deprecated: any; }) => any) | undefined; tags?: ((props: { operation: Record<string, any>; method: string; baseUrl: string; path: string; tags: any; }) => any) | undefined; path?: (((props: { operationId: string; operation: Record<string, any>; method: string; baseUrl: string; path: string; hideBaseUrl: boolean; deprecated: any; servers: unknown[] | null; updateSelectedServer: typeof updateSelectedServer; }) => any) & ((props: { operationId: string; operation: Record<string, any>; method: string; baseUrl: string; path: string; hideBaseUrl: boolean; deprecated: any; servers: unknown[] | null; updateSelectedServer: typeof updateSelectedServer; }) => any)) | undefined; description?: ((props: { operation: Record<string, any>; method: string; baseUrl: string; path: string; }) => any) | undefined; security?: ((props: { operation: Record<string, any>; method: string; baseUrl: string; path: string; securityUi: any; }) => any) | undefined; parameters?: ((props: { operationId: string; parameters: any; }) => any) | undefined; 'request-body'?: ((props: { operationId: string; requestBody: any; contentType: string | undefined; }) => any) | undefined; responses?: ((props: { operationId: string; responses: any; }) => any) | undefined; playground?: ((props: { operationId: string; path: string; method: string; baseUrl: string; parameters: any; requestBody: any; securityUi: any; contentType: string | undefined; request: {}; updateRequest: typeof updateRequest; servers: unknown[] | null; updateSelectedServer: typeof updateSelectedServer; }) => any) | undefined; 'code-samples'?: ((props: { operationId: string; operation: Record<string, any>; method: string; baseUrl: string; path: string; request: {}; updateRequest: typeof updateRequest; codeSamples: any; }) => any) | undefined; branding?: ((props: { operationId: string; operation: Record<string, any>; method: string; baseUrl: string; path: string; }) => any) | undefined; footer?: ((props: { operationId: string; operation: Record<string, any>; method: string; baseUrl: string; path: string; }) => any) | undefined; }; declare function updateSelectedServer(server: any): void; declare function updateRequest(newRequest: any): void;