UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

27 lines 1.38 kB
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; import type { SchemaOptions } from '../../../components/Content/Schema/types'; type __VLS_Props = { schema?: SchemaObject; /** Track how deep we've gone */ level?: number; name?: string; /** A tighter layout with less borders and without a heading */ compact?: boolean; /** Shows a toggle to hide/show children */ noncollapsible?: boolean; /** Hide the heading */ hideHeading?: boolean; /** Show a special one way toggle for additional properties, also has a top border when open */ additionalProperties?: boolean; /** Hide model names in type display */ hideModelNames?: boolean; /** Discriminator object */ discriminator?: DiscriminatorObject; /** Breadcrumb for the schema */ breadcrumb?: string[]; /** Move the options into a single prop so they are easy to pass around */ options: SchemaOptions; }; 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=Schema.vue.d.ts.map