@scalar/openapi-types
Version:
Modern OpenAPI types
23 lines • 751 B
TypeScript
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