@scalar/openapi-types
Version:
Modern OpenAPI types
22 lines • 640 B
TypeScript
import { z } from 'zod';
/**
* An OpenAPI extension to specify where OAuth2 credentials should be sent
*
* @example
* ```yaml
* x-scalar-credentials-location: header
* ```
*
* @example
* ```yaml
* x-scalar-credentials-location: body
* ```
*/
export declare const XScalarCredentialsLocationSchema: z.ZodObject<{
'x-scalar-credentials-location': z.ZodOptional<z.ZodEnum<["header", "body"]>>;
}, "strip", z.ZodTypeAny, {
'x-scalar-credentials-location'?: "header" | "body" | undefined;
}, {
'x-scalar-credentials-location'?: "header" | "body" | undefined;
}>;
//# sourceMappingURL=x-scalar-credentials-location.d.ts.map