diff --git a/packages/swagger-faker/src/components/__snapshots__/Mutation.test.tsx.snap b/packages/swagger-faker/src/components/__snapshots__/Mutation.test.tsx.snap index d5b68401a..33cbc4408 100644 --- a/packages/swagger-faker/src/components/__snapshots__/Mutation.test.tsx.snap +++ b/packages/swagger-faker/src/components/__snapshots__/Mutation.test.tsx.snap @@ -6,7 +6,7 @@ exports[` > pets 1`] = ` */ export function createCreatePets201(): NonNullable { - return unknown() + return undefined } export function createCreatePetsMutationRequest(): NonNullable { @@ -14,7 +14,7 @@ export function createCreatePetsMutationRequest(): NonNullable { - return unknown() + return undefined } /** diff --git a/packages/swagger-zod/src/components/__snapshots__/Mutation.test.tsx.snap b/packages/swagger-zod/src/components/__snapshots__/Mutation.test.tsx.snap index 42f14a69e..ee5cfc10f 100644 --- a/packages/swagger-zod/src/components/__snapshots__/Mutation.test.tsx.snap +++ b/packages/swagger-zod/src/components/__snapshots__/Mutation.test.tsx.snap @@ -4,9 +4,9 @@ exports[` > pets 1`] = ` "/** * @description Null response */ -export const CreatePets201 = z.unknown() +export const CreatePets201 = z.any() export const CreatePetsMutationRequest = z.object({ name: z.string(), tag: z.string() }) -export const CreatePetsMutationResponse = z.unknown() +export const CreatePetsMutationResponse = z.any() /** * @description unexpected error