UNPKG

@kubb/plugin-zod

Version:

Zod schema generator plugin for Kubb, creating type-safe validation schemas from OpenAPI specifications for runtime data validation.

23 lines (18 loc) 456 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import { z } from 'zod' export const deletePetPathParams = z.object({ petId: z.coerce.number().int().describe('Pet id to delete'), }) export const deletePetHeaderParams = z .object({ api_key: z.string().optional(), }) .optional() /** * @description Invalid pet value */ export const deletePet400 = z.unknown() export const deletePetMutationResponse = z.unknown()