@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
22 lines • 1.26 kB
TypeScript
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
import type { ApiReferenceConfiguration } from '@scalar/types';
import type { WorkspaceStore } from '@scalar/workspace-store/client';
import type { OpenApiDocument } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
import type { ClientOptionGroup } from '../../v2/blocks/scalar-request-example-block/types';
type __VLS_Props = {
path: string;
method: HttpMethod;
clientOptions: ClientOptionGroup[];
config: ApiReferenceConfiguration;
document: OpenApiDocument;
isWebhook: boolean;
id: string;
server: Server | undefined;
store: WorkspaceStore;
/** @deprecated Use `document` instead, we just need the selected security scheme uids for now */
collection: Collection;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=Operation.vue.d.ts.map