@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) • 470 B
text/typescript
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { z } from '@hono/zod-openapi'
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()