vitepress-openapi
Version:
Generate VitePress API Documentation from OpenAPI Specification.
56 lines (55 loc) • 1.59 kB
TypeScript
import type { SecurityUi } from '../../types';
declare var __VLS_1: {
path: any;
method: any;
parameters: any;
operation: any;
requestBody: any;
securityUi: SecurityUi;
servers: any;
codeSamples: any;
responses: any;
operationData: import("@/lib/operation/operationData").OperationData;
};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_1) => any;
};
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
operationId: {
type: StringConstructor;
required: true;
};
openapi: {
type: ObjectConstructor;
required: true;
};
shouldBuildRequest: {
type: BooleanConstructor;
required: false;
default: boolean;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
operationId: {
type: StringConstructor;
required: true;
};
openapi: {
type: ObjectConstructor;
required: true;
};
shouldBuildRequest: {
type: BooleanConstructor;
required: false;
default: boolean;
};
}>> & Readonly<{}>, {
shouldBuildRequest: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};