UNPKG

@kubb/plugin-ts

Version:

TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.

48 lines (41 loc) 757 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ /** * @description Null response */ export type CreatePets201 = error & { /** * @type object | undefined */ name?: errorCode /** * @type string */ message: string } /** * @description Accepted response */ export type CreatePets202 = unknown /** * @description unexpected error */ export type CreatePetsError = error export type CreatePetsMutationRequest = { /** * @type string */ name: string /** * @type string */ tag: string } export type CreatePetsMutationResponse = createPets201 | createPets202 export type CreatePetsMutation = { Response: createPets201 | createPets202 Request: createPetsMutationRequest Errors: any }