UNPKG

@scalar/openapi-types

Version:
23 lines 751 B
import { z } from 'zod'; export declare const XScalarStabilityValues: { readonly Deprecated: "deprecated"; readonly Experimental: "experimental"; readonly Stable: "stable"; }; export type XScalarStabilityValues = (typeof XScalarStabilityValues)[keyof typeof XScalarStabilityValues]; /** * An OpenAPI extension to indicate the stability of the operation * * @example * ```yaml * x-scalar-stability: deprecated * ``` */ export declare const XScalarStabilitySchema: z.ZodObject<{ 'x-scalar-stability': z.ZodCatch<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>; }, "strip", z.ZodTypeAny, { 'x-scalar-stability'?: string | undefined; }, { 'x-scalar-stability'?: unknown; }>; //# sourceMappingURL=x-scalar-stability.d.ts.map