UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

13 lines (12 loc) 369 B
import type { Ref } from 'vue'; import type { ParsedOperation } from '../types'; export interface OperationData { operationId: string; security: { selectedSchemeId: Ref<string>; }; } export declare const OPERATION_DATA_KEY: unique symbol; export declare function initOperationData({ operation }: { operation: ParsedOperation; }): OperationData;