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) 438 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import { z } from 'zod' /** * @description Null response */ export const createPets201 = z.unknown() /** * @description unexpected error */ export const createPetsError = z.lazy(() => error) export const createPetsMutationRequest = z.object({ name: z.string(), tag: z.string(), }) export const createPetsMutationResponse = z.lazy(() => createPets201)