UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

29 lines 1.44 kB
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; import type { SchemaOptions } from '../../../components/Content/Schema/types'; import { type CompositionKeyword } from './helpers/schema-composition.js'; type __VLS_Props = { /** The composition keyword (oneOf, anyOf, allOf) */ composition: CompositionKeyword; /** Optional discriminator object for polymorphic schemas */ discriminator?: DiscriminatorObject; /** Optional name for the schema */ name?: string; /** The schema value containing the composition */ schema: SchemaObject; /** Nesting level for proper indentation */ level: number; /** Whether to use compact layout */ compact?: boolean; /** Whether to hide the heading */ hideHeading?: boolean; /** Breadcrumb for navigation */ breadcrumb?: string[]; /** Move the options into 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<{}>, { compact: boolean; hideHeading: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; //# sourceMappingURL=SchemaComposition.vue.d.ts.map