From b92d6d14a9bb4441ca2a3142edbaedcd2ef351b4 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Thu, 14 Dec 2023 04:08:40 +0200 Subject: [PATCH] fix(docs): fix typo parameters --- docs/plugins/swagger-client/index.md | 6 +- docs/plugins/swagger-faker/index.md | 6 +- docs/plugins/swagger-msw/index.md | 6 +- docs/plugins/swagger-swr/index.md | 6 +- docs/plugins/swagger-tanstack-query/index.md | 6 +- docs/plugins/swagger-ts/index.md | 6 +- docs/plugins/swagger-zod/index.md | 6 +- .../clients/hooks/petController/useAddPet.ts | 4 +- .../hooks/petController/useDeletePet.ts | 4 +- .../petController/useFindPetsByStatus.ts | 10 +- .../hooks/petController/useFindPetsByTags.ts | 10 +- .../hooks/petController/useGetPetById.ts | 10 +- .../hooks/petController/useUpdatePet.ts | 4 +- .../petController/useUpdatePetWithForm.ts | 4 +- .../hooks/petController/useUploadFile.ts | 4 +- .../hooks/petsController/useCreatePets.ts | 4 +- .../hooks/userController/useCreateUser.ts | 4 +- .../useCreateUsersWithListInput.ts | 4 +- .../hooks/userController/useDeleteUser.ts | 4 +- .../hooks/userController/useGetUserByName.ts | 10 +- .../hooks/userController/useLoginUser.ts | 10 +- .../hooks/userController/useLogoutUser.ts | 10 +- .../hooks/userController/useUpdateUser.ts | 4 +- .../clients/swr/petSWRController/useAddPet.ts | 4 +- .../swr/petSWRController/useDeletePet.ts | 4 +- .../petSWRController/useFindPetsByStatus.ts | 6 +- .../swr/petSWRController/useFindPetsByTags.ts | 6 +- .../swr/petSWRController/useGetPetById.ts | 6 +- .../swr/petSWRController/useUpdatePet.ts | 4 +- .../petSWRController/useUpdatePetWithForm.ts | 4 +- .../swr/petSWRController/useUploadFile.ts | 4 +- .../swr/petsSWRController/useCreatePets.ts | 4 +- .../swr/userSWRController/useCreateUser.ts | 4 +- .../useCreateUsersWithListInput.ts | 4 +- .../swr/userSWRController/useDeleteUser.ts | 4 +- .../swr/userSWRController/useGetUserByName.ts | 6 +- .../swr/userSWRController/useLoginUser.ts | 6 +- .../swr/userSWRController/useLogoutUser.ts | 6 +- .../swr/userSWRController/useUpdateUser.ts | 4 +- .../src/gen/hooks/useAddPetHook.ts | 4 +- .../src/gen/hooks/useCreateUserHook.ts | 4 +- .../hooks/useCreateUsersWithListInputHook.ts | 4 +- .../src/gen/hooks/useDeleteOrderHook.ts | 4 +- .../src/gen/hooks/useDeletePetHook.ts | 4 +- .../src/gen/hooks/useDeleteUserHook.ts | 4 +- .../src/gen/hooks/useFindPetsByStatusHook.ts | 14 +-- .../src/gen/hooks/useFindPetsByTagsHook.ts | 14 +-- .../src/gen/hooks/useGetInventoryHook.ts | 14 +-- .../src/gen/hooks/useGetOrderByIdHook.ts | 14 +-- .../src/gen/hooks/useGetPetByIdHook.ts | 14 +-- .../src/gen/hooks/useGetUserByNameHook.ts | 14 +-- .../src/gen/hooks/useLoginUserHook.ts | 14 +-- .../src/gen/hooks/useLogoutUserHook.ts | 14 +-- .../src/gen/hooks/usePlaceOrderHook.ts | 4 +- .../src/gen/hooks/usePlaceOrderPatchHook.ts | 4 +- .../src/gen/hooks/useUpdatePetHook.ts | 4 +- .../src/gen/hooks/useUpdatePetWithFormHook.ts | 4 +- .../src/gen/hooks/useUpdateUserHook.ts | 4 +- .../src/gen/hooks/useUploadFileHook.ts | 4 +- .../src/gen/hooks/useAddPetHook.ts | 4 +- .../src/gen/hooks/useCreateUserHook.ts | 4 +- .../hooks/useCreateUsersWithListInputHook.ts | 4 +- .../src/gen/hooks/useDeleteOrderHook.ts | 4 +- .../src/gen/hooks/useDeletePetHook.ts | 4 +- .../src/gen/hooks/useDeleteUserHook.ts | 4 +- .../src/gen/hooks/useFindPetsByStatusHook.ts | 10 +- .../src/gen/hooks/useFindPetsByTagsHook.ts | 10 +- .../src/gen/hooks/useGetInventoryHook.ts | 10 +- .../src/gen/hooks/useGetOrderByIdHook.ts | 10 +- .../src/gen/hooks/useGetPetByIdHook.ts | 10 +- .../src/gen/hooks/useGetUserByNameHook.ts | 10 +- .../src/gen/hooks/useLoginUserHook.ts | 10 +- .../src/gen/hooks/useLogoutUserHook.ts | 10 +- .../src/gen/hooks/usePlaceOrderHook.ts | 4 +- .../src/gen/hooks/usePlaceOrderPatchHook.ts | 4 +- .../src/gen/hooks/useUpdatePetHook.ts | 4 +- .../src/gen/hooks/useUpdatePetWithFormHook.ts | 4 +- .../src/gen/hooks/useUpdateUserHook.ts | 4 +- .../src/gen/hooks/useUploadFileHook.ts | 4 +- examples/simple-single/src/gen/hooks.ts | 96 +++++++++---------- .../solid-query/src/gen/hooks/addPetQuery.ts | 4 +- .../src/gen/hooks/createUserQuery.ts | 4 +- .../hooks/createUsersWithListInputQuery.ts | 4 +- .../src/gen/hooks/deleteOrderQuery.ts | 4 +- .../src/gen/hooks/deletePetQuery.ts | 4 +- .../src/gen/hooks/deleteUserQuery.ts | 4 +- .../src/gen/hooks/findPetsByStatusQuery.ts | 6 +- .../src/gen/hooks/findPetsByTagsQuery.ts | 6 +- .../src/gen/hooks/getInventoryQuery.ts | 6 +- .../src/gen/hooks/getOrderByIdQuery.ts | 6 +- .../src/gen/hooks/getPetByIdQuery.ts | 6 +- .../src/gen/hooks/getUserByNameQuery.ts | 6 +- .../src/gen/hooks/loginUserQuery.ts | 6 +- .../src/gen/hooks/logoutUserQuery.ts | 6 +- .../src/gen/hooks/placeOrderPatchQuery.ts | 4 +- .../src/gen/hooks/placeOrderQuery.ts | 4 +- .../src/gen/hooks/updatePetQuery.ts | 4 +- .../src/gen/hooks/updatePetWithFormQuery.ts | 4 +- .../src/gen/hooks/updateUserQuery.ts | 4 +- .../src/gen/hooks/uploadFileQuery.ts | 4 +- .../svelte-query/src/gen/hooks/addPetQuery.ts | 4 +- .../src/gen/hooks/createUserQuery.ts | 4 +- .../hooks/createUsersWithListInputQuery.ts | 4 +- .../src/gen/hooks/deleteOrderQuery.ts | 4 +- .../src/gen/hooks/deletePetQuery.ts | 4 +- .../src/gen/hooks/deleteUserQuery.ts | 4 +- .../src/gen/hooks/findPetsByStatusQuery.ts | 10 +- .../src/gen/hooks/findPetsByTagsQuery.ts | 10 +- .../src/gen/hooks/getInventoryQuery.ts | 10 +- .../src/gen/hooks/getOrderByIdQuery.ts | 10 +- .../src/gen/hooks/getPetByIdQuery.ts | 10 +- .../src/gen/hooks/getUserByNameQuery.ts | 10 +- .../src/gen/hooks/loginUserQuery.ts | 10 +- .../src/gen/hooks/logoutUserQuery.ts | 10 +- .../src/gen/hooks/placeOrderPatchQuery.ts | 4 +- .../src/gen/hooks/placeOrderQuery.ts | 4 +- .../src/gen/hooks/updatePetQuery.ts | 4 +- .../src/gen/hooks/updatePetWithFormQuery.ts | 4 +- .../src/gen/hooks/updateUserQuery.ts | 4 +- .../src/gen/hooks/uploadFileQuery.ts | 4 +- examples/swr/src/gen/hooks/useAddPet.ts | 4 +- examples/swr/src/gen/hooks/useCreateUser.ts | 4 +- .../gen/hooks/useCreateUsersWithListInput.ts | 4 +- examples/swr/src/gen/hooks/useDeleteOrder.ts | 4 +- examples/swr/src/gen/hooks/useDeletePet.ts | 4 +- examples/swr/src/gen/hooks/useDeleteUser.ts | 4 +- .../swr/src/gen/hooks/useFindPetsByStatus.ts | 6 +- .../swr/src/gen/hooks/useFindPetsByTags.ts | 6 +- examples/swr/src/gen/hooks/useGetInventory.ts | 6 +- examples/swr/src/gen/hooks/useGetOrderById.ts | 6 +- examples/swr/src/gen/hooks/useGetPetById.ts | 6 +- .../swr/src/gen/hooks/useGetUserByName.ts | 6 +- examples/swr/src/gen/hooks/useLoginUser.ts | 6 +- examples/swr/src/gen/hooks/useLogoutUser.ts | 6 +- examples/swr/src/gen/hooks/usePlaceOrder.ts | 4 +- .../swr/src/gen/hooks/usePlaceOrderPatch.ts | 4 +- examples/swr/src/gen/hooks/useUpdatePet.ts | 4 +- .../swr/src/gen/hooks/useUpdatePetWithForm.ts | 4 +- examples/swr/src/gen/hooks/useUpdateUser.ts | 4 +- examples/swr/src/gen/hooks/useUploadFile.ts | 4 +- .../vue-query-v5/src/gen/hooks/useAddPet.ts | 4 +- .../src/gen/hooks/useCreateUser.ts | 4 +- .../gen/hooks/useCreateUsersWithListInput.ts | 4 +- .../src/gen/hooks/useDeleteOrder.ts | 4 +- .../src/gen/hooks/useDeletePet.ts | 4 +- .../src/gen/hooks/useDeleteUser.ts | 4 +- .../src/gen/hooks/useFindPetsByStatus.ts | 6 +- .../src/gen/hooks/useFindPetsByTags.ts | 6 +- .../src/gen/hooks/useGetInventory.ts | 6 +- .../src/gen/hooks/useGetOrderById.ts | 6 +- .../src/gen/hooks/useGetPetById.ts | 6 +- .../src/gen/hooks/useGetUserByName.ts | 6 +- .../src/gen/hooks/useLoginUser.ts | 6 +- .../src/gen/hooks/useLogoutUser.ts | 6 +- .../src/gen/hooks/usePlaceOrder.ts | 4 +- .../src/gen/hooks/useUpdatePet.ts | 4 +- .../src/gen/hooks/useUpdatePetWithForm.ts | 4 +- .../src/gen/hooks/useUpdateUser.ts | 4 +- .../src/gen/hooks/useUploadFile.ts | 4 +- examples/vue-query/src/gen/hooks/useAddPet.ts | 4 +- .../vue-query/src/gen/hooks/useCreateUser.ts | 4 +- .../gen/hooks/useCreateUsersWithListInput.ts | 4 +- .../vue-query/src/gen/hooks/useDeleteOrder.ts | 4 +- .../vue-query/src/gen/hooks/useDeletePet.ts | 4 +- .../vue-query/src/gen/hooks/useDeleteUser.ts | 4 +- .../src/gen/hooks/useFindPetsByStatus.ts | 6 +- .../src/gen/hooks/useFindPetsByTags.ts | 6 +- .../src/gen/hooks/useGetInventory.ts | 6 +- .../src/gen/hooks/useGetOrderById.ts | 6 +- .../vue-query/src/gen/hooks/useGetPetById.ts | 6 +- .../src/gen/hooks/useGetUserByName.ts | 6 +- .../vue-query/src/gen/hooks/useLoginUser.ts | 6 +- .../vue-query/src/gen/hooks/useLogoutUser.ts | 6 +- .../vue-query/src/gen/hooks/usePlaceOrder.ts | 4 +- .../vue-query/src/gen/hooks/useUpdatePet.ts | 4 +- .../src/gen/hooks/useUpdatePetWithForm.ts | 4 +- .../vue-query/src/gen/hooks/useUpdateUser.ts | 4 +- .../vue-query/src/gen/hooks/useUploadFile.ts | 4 +- packages/swagger-client/src/types.ts | 6 +- packages/swagger-faker/src/types.ts | 6 +- packages/swagger-msw/src/types.ts | 6 +- .../swagger-swr/src/components/Mutation.tsx | 2 +- packages/swagger-swr/src/components/Query.tsx | 2 +- .../src/components/QueryOptions.tsx | 2 +- .../swagger-swr/src/components/SchemaType.tsx | 2 +- packages/swagger-swr/src/types.ts | 6 +- .../src/components/Mutation.tsx | 4 +- .../src/components/Query.tsx | 4 +- .../src/components/QueryOptions.tsx | 4 +- .../src/components/SchemaType.tsx | 2 +- packages/swagger-tanstack-query/src/types.ts | 6 +- packages/swagger-ts/src/types.ts | 6 +- packages/swagger-zod/src/types.ts | 6 +- 193 files changed, 585 insertions(+), 585 deletions(-) diff --git a/docs/plugins/swagger-client/index.md b/docs/plugins/swagger-client/index.md index ee789ab9c..4d625263a 100644 --- a/docs/plugins/swagger-client/index.md +++ b/docs/plugins/swagger-client/index.md @@ -449,7 +449,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -502,7 +502,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -555,7 +555,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-faker/index.md b/docs/plugins/swagger-faker/index.md index a12589dfc..dfef0faf5 100644 --- a/docs/plugins/swagger-faker/index.md +++ b/docs/plugins/swagger-faker/index.md @@ -232,7 +232,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -285,7 +285,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -338,7 +338,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-msw/index.md b/docs/plugins/swagger-msw/index.md index 1a21ff8c5..235b16f42 100644 --- a/docs/plugins/swagger-msw/index.md +++ b/docs/plugins/swagger-msw/index.md @@ -244,7 +244,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -299,7 +299,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -354,7 +354,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-swr/index.md b/docs/plugins/swagger-swr/index.md index a1a22fc60..5668574f3 100644 --- a/docs/plugins/swagger-swr/index.md +++ b/docs/plugins/swagger-swr/index.md @@ -361,7 +361,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -414,7 +414,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -467,7 +467,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-tanstack-query/index.md b/docs/plugins/swagger-tanstack-query/index.md index 6e6c15998..3b1c09817 100644 --- a/docs/plugins/swagger-tanstack-query/index.md +++ b/docs/plugins/swagger-tanstack-query/index.md @@ -578,7 +578,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -631,7 +631,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -684,7 +684,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-ts/index.md b/docs/plugins/swagger-ts/index.md index be2f5dacf..e605b040c 100644 --- a/docs/plugins/swagger-ts/index.md +++ b/docs/plugins/swagger-ts/index.md @@ -470,7 +470,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -521,7 +521,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -572,7 +572,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/docs/plugins/swagger-zod/index.md b/docs/plugins/swagger-zod/index.md index a4157b30c..3752bde79 100644 --- a/docs/plugins/swagger-zod/index.md +++ b/docs/plugins/swagger-zod/index.md @@ -140,7 +140,7 @@ export default defineConfig({ ### include -Array containing include paramaters to include tags/operations/methods/paths. +Array containing include parameters to include tags/operations/methods/paths. ::: info type @@ -191,7 +191,7 @@ export default defineConfig({ ### exclude -Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. +Array containing exclude parameters to exclude/skip tags/operations/methods/paths. ::: info type @@ -242,7 +242,7 @@ export default defineConfig({ ### override -Array containing override paramaters to override `options` based on tags/operations/methods/paths. +Array containing override parameters to override `options` based on tags/operations/methods/paths. ::: info type diff --git a/examples/advanced/src/gen/clients/hooks/petController/useAddPet.ts b/examples/advanced/src/gen/clients/hooks/petController/useAddPet.ts index 62891b609..ed119563f 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useAddPet.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useAddPet.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type AddPet = { * @link /pet */ export function useAddPet(options: { mutation?: UseMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/petController/useDeletePet.ts b/examples/advanced/src/gen/clients/hooks/petController/useDeletePet.ts index 6a31d5ffd..9a7b15d83 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useDeletePet.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useDeletePet.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeletePet = { * @link /pet/:petId */ export function useDeletePet(petId: DeletePetPathParams['petId'], headers?: DeletePet['headerParams'], options: { mutation?: UseMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByStatus.ts b/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByStatus.ts index 82dc00ddc..dc1c5266d 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByStatus.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByStatus.ts @@ -13,7 +13,7 @@ type FindPetsByStatus = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -54,7 +54,7 @@ export function useFindPetsByStatus< TQueryKey extends QueryKey = FindPetsByStatusQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -80,7 +80,7 @@ export function findPetsByStatusInfiniteQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusInfiniteQueryKey(params) return { @@ -112,7 +112,7 @@ export function useFindPetsByStatusInfinite< TQueryKey extends QueryKey = FindPetsByStatusInfiniteQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByTags.ts b/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByTags.ts index 89908c8a5..1aa093ebb 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByTags.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useFindPetsByTags.ts @@ -18,7 +18,7 @@ type FindPetsByTags = { headerParams: FindPetsByTagsHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -32,7 +32,7 @@ export function findPetsByTagsQueryOptions< >( headers: FindPetsByTags['headerParams'], params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -61,7 +61,7 @@ export function useFindPetsByTags< TQueryKey extends QueryKey = FindPetsByTagsQueryKey, >(headers: FindPetsByTags['headerParams'], params?: FindPetsByTags['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -87,7 +87,7 @@ export function findPetsByTagsInfiniteQueryOptions< >( headers: FindPetsByTags['headerParams'], params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsInfiniteQueryKey(params) return { @@ -120,7 +120,7 @@ export function useFindPetsByTagsInfinite< TQueryKey extends QueryKey = FindPetsByTagsInfiniteQueryKey, >(headers: FindPetsByTags['headerParams'], params?: FindPetsByTags['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/petController/useGetPetById.ts b/examples/advanced/src/gen/clients/hooks/petController/useGetPetById.ts index bdd2f77ea..cacac07f9 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useGetPetById.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useGetPetById.ts @@ -13,7 +13,7 @@ type GetPetById = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -53,7 +53,7 @@ export function useGetPetById< TQueryKey extends QueryKey = GetPetByIdQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseBaseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function getPetByIdInfiniteQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdInfiniteQueryKey(petId) return { @@ -105,7 +105,7 @@ export function useGetPetByIdInfinite< TQueryKey extends QueryKey = GetPetByIdInfiniteQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseInfiniteQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/petController/useUpdatePet.ts b/examples/advanced/src/gen/clients/hooks/petController/useUpdatePet.ts index b0e3b6567..6f9816fb8 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useUpdatePet.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useUpdatePet.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePet(options: { mutation?: UseMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/petController/useUpdatePetWithForm.ts b/examples/advanced/src/gen/clients/hooks/petController/useUpdatePetWithForm.ts index d0fd1bc35..c371f25b9 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useUpdatePetWithForm.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useUpdatePetWithForm.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UpdatePetWithForm = { * @link /pet/:petId */ export function useUpdatePetWithForm(petId: UpdatePetWithFormPathParams['petId'], params?: UpdatePetWithForm['queryParams'], options: { mutation?: UseMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/petController/useUploadFile.ts b/examples/advanced/src/gen/clients/hooks/petController/useUploadFile.ts index 0f6a08ced..234adaffb 100644 --- a/examples/advanced/src/gen/clients/hooks/petController/useUploadFile.ts +++ b/examples/advanced/src/gen/clients/hooks/petController/useUploadFile.ts @@ -18,7 +18,7 @@ type UploadFile = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UploadFile = { * @link /pet/:petId/uploadImage */ export function useUploadFile(petId: UploadFilePathParams['petId'], params?: UploadFile['queryParams'], options: { mutation?: UseMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/petsController/useCreatePets.ts b/examples/advanced/src/gen/clients/hooks/petsController/useCreatePets.ts index 8ddb334a5..dbf99e4a1 100644 --- a/examples/advanced/src/gen/clients/hooks/petsController/useCreatePets.ts +++ b/examples/advanced/src/gen/clients/hooks/petsController/useCreatePets.ts @@ -21,7 +21,7 @@ type CreatePets = { headerParams: CreatePetsHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ type CreatePets = { * @link /pets/:uuid */ export function useCreatePets(uuid: CreatePetsPathParams['uuid'], headers: CreatePets['headerParams'], params?: CreatePets['queryParams'], options: { mutation?: UseMutationOptions - client?: CreatePets['client']['paramaters'] + client?: CreatePets['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/userController/useCreateUser.ts b/examples/advanced/src/gen/clients/hooks/userController/useCreateUser.ts index be5c38813..1a6d0d370 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useCreateUser.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useCreateUser.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type CreateUser = { * @link /user */ export function useCreateUser(options: { mutation?: UseMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/userController/useCreateUsersWithListInput.ts b/examples/advanced/src/gen/clients/hooks/userController/useCreateUsersWithListInput.ts index bfce5b40e..360103d62 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useCreateUsersWithListInput.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useCreateUsersWithListInput.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInput(options: { mutation?: UseMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/userController/useDeleteUser.ts b/examples/advanced/src/gen/clients/hooks/userController/useDeleteUser.ts index 6548355e1..7a85a9a98 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useDeleteUser.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useDeleteUser.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteUser = { * @link /user/:username */ export function useDeleteUser(username: DeleteUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/hooks/userController/useGetUserByName.ts b/examples/advanced/src/gen/clients/hooks/userController/useGetUserByName.ts index 8ed81d725..4cea5628b 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useGetUserByName.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useGetUserByName.ts @@ -13,7 +13,7 @@ type GetUserByName = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -52,7 +52,7 @@ export function useGetUserByName< TQueryKey extends QueryKey = GetUserByNameQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseBaseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function getUserByNameInfiniteQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameInfiniteQueryKey(username) return { @@ -104,7 +104,7 @@ export function useGetUserByNameInfinite< TQueryKey extends QueryKey = GetUserByNameInfiniteQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseInfiniteQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/userController/useLoginUser.ts b/examples/advanced/src/gen/clients/hooks/userController/useLoginUser.ts index 34eaf1247..d79c0d7ea 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useLoginUser.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useLoginUser.ts @@ -13,7 +13,7 @@ type LoginUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -53,7 +53,7 @@ export function useLoginUser< TQueryKey extends QueryKey = LoginUserQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseBaseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function loginUserInfiniteQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserInfiniteQueryKey(params) return { @@ -109,7 +109,7 @@ export function useLoginUserInfinite< TQueryKey extends QueryKey = LoginUserInfiniteQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/userController/useLogoutUser.ts b/examples/advanced/src/gen/clients/hooks/userController/useLogoutUser.ts index 5816a47b3..fb3e5b658 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useLogoutUser.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useLogoutUser.ts @@ -13,7 +13,7 @@ type LogoutUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -49,7 +49,7 @@ export function useLogoutUser< TQueryKey extends QueryKey = LogoutUserQueryKey, >(options: { query?: UseBaseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -72,7 +72,7 @@ export function logoutUserInfiniteQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserInfiniteQueryKey() return { queryKey, @@ -97,7 +97,7 @@ export function useLogoutUserInfinite< TQueryKey extends QueryKey = LogoutUserInfiniteQueryKey, >(options: { query?: UseInfiniteQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/advanced/src/gen/clients/hooks/userController/useUpdateUser.ts b/examples/advanced/src/gen/clients/hooks/userController/useUpdateUser.ts index c8f93844b..e73bde67f 100644 --- a/examples/advanced/src/gen/clients/hooks/userController/useUpdateUser.ts +++ b/examples/advanced/src/gen/clients/hooks/userController/useUpdateUser.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdateUser = { * @link /user/:username */ export function useUpdateUser(username: UpdateUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useAddPet.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useAddPet.ts index 5cc127bb9..3bae0b1dc 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useAddPet.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useAddPet.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type AddPet = { * @link /pet */ export function useAddPet(options?: { mutation?: SWRMutationConfiguration - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useDeletePet.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useDeletePet.ts index a2814b41e..e155d9cde 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useDeletePet.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useDeletePet.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeletePet = { * @link /pet/:petId */ export function useDeletePet(petId: DeletePetPathParams['petId'], headers?: DeletePet['headerParams'], options?: { mutation?: SWRMutationConfiguration - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByStatus.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByStatus.ts index 7e03d8cce..166a97232 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByStatus.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByStatus.ts @@ -13,13 +13,13 @@ type FindPetsByStatus = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function findPetsByStatusQueryOptions( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -41,7 +41,7 @@ export function useFindPetsByStatus - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByTags.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByTags.ts index ca5a184ef..599217995 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByTags.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useFindPetsByTags.ts @@ -18,14 +18,14 @@ type FindPetsByTags = { headerParams: FindPetsByTagsHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function findPetsByTagsQueryOptions( params?: FindPetsByTags['queryParams'], headers?: FindPetsByTags['headerParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -49,7 +49,7 @@ export function useFindPetsByTags - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useGetPetById.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useGetPetById.ts index bb0d390b1..255ffa0a9 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useGetPetById.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useGetPetById.ts @@ -13,13 +13,13 @@ type GetPetById = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getPetByIdQueryOptions( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -40,7 +40,7 @@ export function useGetPetById - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePet.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePet.ts index 31cdca488..314ca083e 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePet.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePet.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePet(options?: { mutation?: SWRMutationConfiguration - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePetWithForm.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePetWithForm.ts index 97ba7b3b4..1bf9b91eb 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePetWithForm.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useUpdatePetWithForm.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UpdatePetWithForm = { * @link /pet/:petId */ export function useUpdatePetWithForm(petId: UpdatePetWithFormPathParams['petId'], params?: UpdatePetWithForm['queryParams'], options?: { mutation?: SWRMutationConfiguration - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/petSWRController/useUploadFile.ts b/examples/advanced/src/gen/clients/swr/petSWRController/useUploadFile.ts index ce10d5f64..43edceda1 100644 --- a/examples/advanced/src/gen/clients/swr/petSWRController/useUploadFile.ts +++ b/examples/advanced/src/gen/clients/swr/petSWRController/useUploadFile.ts @@ -18,7 +18,7 @@ type UploadFile = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UploadFile = { * @link /pet/:petId/uploadImage */ export function useUploadFile(petId: UploadFilePathParams['petId'], params?: UploadFile['queryParams'], options?: { mutation?: SWRMutationConfiguration - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/petsSWRController/useCreatePets.ts b/examples/advanced/src/gen/clients/swr/petsSWRController/useCreatePets.ts index 5de1d4a8d..8e8205966 100644 --- a/examples/advanced/src/gen/clients/swr/petsSWRController/useCreatePets.ts +++ b/examples/advanced/src/gen/clients/swr/petsSWRController/useCreatePets.ts @@ -21,7 +21,7 @@ type CreatePets = { headerParams: CreatePetsHeaderParams response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ type CreatePets = { * @link /pets/:uuid */ export function useCreatePets(uuid: CreatePetsPathParams['uuid'], params?: CreatePets['queryParams'], headers?: CreatePets['headerParams'], options?: { mutation?: SWRMutationConfiguration - client?: CreatePets['client']['paramaters'] + client?: CreatePets['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUser.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUser.ts index ba30346b1..de5f41281 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUser.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUser.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type CreateUser = { * @link /user */ export function useCreateUser(options?: { mutation?: SWRMutationConfiguration - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUsersWithListInput.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUsersWithListInput.ts index 92ac04ef3..d8bdfbb65 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUsersWithListInput.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useCreateUsersWithListInput.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInput(options?: { mutation?: SWRMutationConfiguration - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useDeleteUser.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useDeleteUser.ts index 488690dfd..950bc8916 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useDeleteUser.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useDeleteUser.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteUser = { * @link /user/:username */ export function useDeleteUser(username: DeleteUserPathParams['username'], options?: { mutation?: SWRMutationConfiguration - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useGetUserByName.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useGetUserByName.ts index 17b2810f8..6747bff59 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useGetUserByName.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useGetUserByName.ts @@ -13,13 +13,13 @@ type GetUserByName = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getUserByNameQueryOptions( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -39,7 +39,7 @@ export function useGetUserByName - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useLoginUser.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useLoginUser.ts index 2ac5b263d..01b8a0166 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useLoginUser.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useLoginUser.ts @@ -13,13 +13,13 @@ type LoginUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function loginUserQueryOptions( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -40,7 +40,7 @@ export function useLoginUser - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useLogoutUser.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useLogoutUser.ts index d3a9cbde0..481dc448f 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useLogoutUser.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useLogoutUser.ts @@ -13,12 +13,12 @@ type LogoutUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function logoutUserQueryOptions( - options: LogoutUser['client']['paramaters'] = {}, + options: LogoutUser['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -36,7 +36,7 @@ export function logoutUserQueryOptions(options?: { query?: SWRConfiguration - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] shouldFetch?: boolean }): SWRResponse { const { query: queryOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/advanced/src/gen/clients/swr/userSWRController/useUpdateUser.ts b/examples/advanced/src/gen/clients/swr/userSWRController/useUpdateUser.ts index f89c9d5df..b9cad2422 100644 --- a/examples/advanced/src/gen/clients/swr/userSWRController/useUpdateUser.ts +++ b/examples/advanced/src/gen/clients/swr/userSWRController/useUpdateUser.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: Awaited> client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdateUser = { * @link /user/:username */ export function useUpdateUser(username: UpdateUserPathParams['username'], options?: { mutation?: SWRMutationConfiguration - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/react-query-v5/src/gen/hooks/useAddPetHook.ts b/examples/react-query-v5/src/gen/hooks/useAddPetHook.ts index ff782ee5d..511669a7c 100644 --- a/examples/react-query-v5/src/gen/hooks/useAddPetHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useAddPetHook.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type AddPet = { * @link /pet */ export function useAddPetHook(options: { mutation?: UseMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useCreateUserHook.ts b/examples/react-query-v5/src/gen/hooks/useCreateUserHook.ts index 668d5dee2..a1bb7c5dd 100644 --- a/examples/react-query-v5/src/gen/hooks/useCreateUserHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useCreateUserHook.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type CreateUser = { * @link /user */ export function useCreateUserHook(options: { mutation?: UseMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useCreateUsersWithListInputHook.ts b/examples/react-query-v5/src/gen/hooks/useCreateUsersWithListInputHook.ts index 0a46fc3ab..fe490128d 100644 --- a/examples/react-query-v5/src/gen/hooks/useCreateUsersWithListInputHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useCreateUsersWithListInputHook.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInputHook(options: { mutation?: UseMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useDeleteOrderHook.ts b/examples/react-query-v5/src/gen/hooks/useDeleteOrderHook.ts index 1a99b2b4b..e22cd89c8 100644 --- a/examples/react-query-v5/src/gen/hooks/useDeleteOrderHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useDeleteOrderHook.ts @@ -13,7 +13,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteOrder = { * @link /store/order/:orderId */ export function useDeleteOrderHook(orderId: DeleteOrderPathParams['orderId'], options: { mutation?: UseMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useDeletePetHook.ts b/examples/react-query-v5/src/gen/hooks/useDeletePetHook.ts index 41a97acf7..48dad7da9 100644 --- a/examples/react-query-v5/src/gen/hooks/useDeletePetHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useDeletePetHook.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeletePet = { * @link /pet/:petId */ export function useDeletePetHook(petId: DeletePetPathParams['petId'], headers?: DeletePet['headerParams'], options: { mutation?: UseMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useDeleteUserHook.ts b/examples/react-query-v5/src/gen/hooks/useDeleteUserHook.ts index fe0e3a7c8..14e9965e1 100644 --- a/examples/react-query-v5/src/gen/hooks/useDeleteUserHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useDeleteUserHook.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteUser = { * @link /user/:username */ export function useDeleteUserHook(username: DeleteUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useFindPetsByStatusHook.ts b/examples/react-query-v5/src/gen/hooks/useFindPetsByStatusHook.ts index 11a902887..871da279e 100644 --- a/examples/react-query-v5/src/gen/hooks/useFindPetsByStatusHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useFindPetsByStatusHook.ts @@ -22,7 +22,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -63,7 +63,7 @@ export function useFindPetsByStatusHook< TQueryKey extends QueryKey = FindPetsByStatusQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: QueryObserverOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -89,7 +89,7 @@ export function findPetsByStatusInfiniteQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusInfiniteQueryKey(params) return { @@ -123,7 +123,7 @@ export function useFindPetsByStatusHookInfinite< TQueryKey extends QueryKey = FindPetsByStatusInfiniteQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -148,7 +148,7 @@ export function findPetsByStatusSuspenseQueryOptions< TData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusSuspenseQueryKey(params) return { @@ -175,7 +175,7 @@ export function useFindPetsByStatusHookSuspense< TQueryKey extends QueryKey = FindPetsByStatusSuspenseQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseSuspenseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useFindPetsByTagsHook.ts b/examples/react-query-v5/src/gen/hooks/useFindPetsByTagsHook.ts index 3b86dc723..9b03a0cf2 100644 --- a/examples/react-query-v5/src/gen/hooks/useFindPetsByTagsHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useFindPetsByTagsHook.ts @@ -22,7 +22,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -63,7 +63,7 @@ export function useFindPetsByTagsHook< TQueryKey extends QueryKey = FindPetsByTagsQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: QueryObserverOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -88,7 +88,7 @@ export function findPetsByTagsInfiniteQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsInfiniteQueryKey(params) return { @@ -122,7 +122,7 @@ export function useFindPetsByTagsHookInfinite< TQueryKey extends QueryKey = FindPetsByTagsInfiniteQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -146,7 +146,7 @@ export function findPetsByTagsSuspenseQueryOptions< TData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsSuspenseQueryKey(params) return { @@ -173,7 +173,7 @@ export function useFindPetsByTagsHookSuspense< TQueryKey extends QueryKey = FindPetsByTagsSuspenseQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: UseSuspenseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useGetInventoryHook.ts b/examples/react-query-v5/src/gen/hooks/useGetInventoryHook.ts index 84f816cca..4e963210b 100644 --- a/examples/react-query-v5/src/gen/hooks/useGetInventoryHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useGetInventoryHook.ts @@ -22,7 +22,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -59,7 +59,7 @@ export function useGetInventoryHook< TQueryKey extends QueryKey = GetInventoryQueryKey, >(options: { query?: QueryObserverOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -82,7 +82,7 @@ export function getInventoryInfiniteQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryInfiniteQueryKey() return { queryKey, @@ -110,7 +110,7 @@ export function useGetInventoryHookInfinite< TQueryKey extends QueryKey = GetInventoryInfiniteQueryKey, >(options: { query?: UseInfiniteQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -132,7 +132,7 @@ export function getInventorySuspenseQueryOptions< TQueryFnData extends GetInventory['data'] = GetInventory['data'], TError = GetInventory['error'], TData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventorySuspenseQueryKey() return { queryKey, @@ -157,7 +157,7 @@ export function useGetInventoryHookSuspense< TQueryKey extends QueryKey = GetInventorySuspenseQueryKey, >(options: { query?: UseSuspenseQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useGetOrderByIdHook.ts b/examples/react-query-v5/src/gen/hooks/useGetOrderByIdHook.ts index c1556e320..91aa68a10 100644 --- a/examples/react-query-v5/src/gen/hooks/useGetOrderByIdHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useGetOrderByIdHook.ts @@ -22,7 +22,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(orderId) return { @@ -62,7 +62,7 @@ export function useGetOrderByIdHook< TQueryKey extends QueryKey = GetOrderByIdQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: QueryObserverOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -88,7 +88,7 @@ export function getOrderByIdInfiniteQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdInfiniteQueryKey(orderId) return { @@ -117,7 +117,7 @@ export function useGetOrderByIdHookInfinite< TQueryKey extends QueryKey = GetOrderByIdInfiniteQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: UseInfiniteQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -142,7 +142,7 @@ export function getOrderByIdSuspenseQueryOptions< TData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdSuspenseQueryKey(orderId) return { @@ -168,7 +168,7 @@ export function useGetOrderByIdHookSuspense< TQueryKey extends QueryKey = GetOrderByIdSuspenseQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: UseSuspenseQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useGetPetByIdHook.ts b/examples/react-query-v5/src/gen/hooks/useGetPetByIdHook.ts index 1c0086d63..d6016fd4d 100644 --- a/examples/react-query-v5/src/gen/hooks/useGetPetByIdHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useGetPetByIdHook.ts @@ -22,7 +22,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -62,7 +62,7 @@ export function useGetPetByIdHook< TQueryKey extends QueryKey = GetPetByIdQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: QueryObserverOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -87,7 +87,7 @@ export function getPetByIdInfiniteQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdInfiniteQueryKey(petId) return { @@ -116,7 +116,7 @@ export function useGetPetByIdHookInfinite< TQueryKey extends QueryKey = GetPetByIdInfiniteQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseInfiniteQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -140,7 +140,7 @@ export function getPetByIdSuspenseQueryOptions< TData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdSuspenseQueryKey(petId) return { @@ -166,7 +166,7 @@ export function useGetPetByIdHookSuspense< TQueryKey extends QueryKey = GetPetByIdSuspenseQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseSuspenseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useGetUserByNameHook.ts b/examples/react-query-v5/src/gen/hooks/useGetUserByNameHook.ts index e80d2b93d..5401d7422 100644 --- a/examples/react-query-v5/src/gen/hooks/useGetUserByNameHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useGetUserByNameHook.ts @@ -22,7 +22,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -61,7 +61,7 @@ export function useGetUserByNameHook< TQueryKey extends QueryKey = GetUserByNameQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: QueryObserverOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -87,7 +87,7 @@ export function getUserByNameInfiniteQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameInfiniteQueryKey(username) return { @@ -115,7 +115,7 @@ export function useGetUserByNameHookInfinite< TQueryKey extends QueryKey = GetUserByNameInfiniteQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseInfiniteQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -140,7 +140,7 @@ export function getUserByNameSuspenseQueryOptions< TData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameSuspenseQueryKey(username) return { @@ -165,7 +165,7 @@ export function useGetUserByNameHookSuspense< TQueryKey extends QueryKey = GetUserByNameSuspenseQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseSuspenseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useLoginUserHook.ts b/examples/react-query-v5/src/gen/hooks/useLoginUserHook.ts index 215fc8c56..95dacfa4f 100644 --- a/examples/react-query-v5/src/gen/hooks/useLoginUserHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useLoginUserHook.ts @@ -22,7 +22,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -35,7 +35,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -62,7 +62,7 @@ export function useLoginUserHook< TQueryKey extends QueryKey = LoginUserQueryKey, >(params?: LoginUser['queryParams'], options: { query?: QueryObserverOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -87,7 +87,7 @@ export function loginUserInfiniteQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserInfiniteQueryKey(params) return { @@ -120,7 +120,7 @@ export function useLoginUserHookInfinite< TQueryKey extends QueryKey = LoginUserInfiniteQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -144,7 +144,7 @@ export function loginUserSuspenseQueryOptions< TData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserSuspenseQueryKey(params) return { @@ -170,7 +170,7 @@ export function useLoginUserHookSuspense< TQueryKey extends QueryKey = LoginUserSuspenseQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseSuspenseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/useLogoutUserHook.ts b/examples/react-query-v5/src/gen/hooks/useLogoutUserHook.ts index cefab78f0..5bb99ebbd 100644 --- a/examples/react-query-v5/src/gen/hooks/useLogoutUserHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useLogoutUserHook.ts @@ -22,7 +22,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -58,7 +58,7 @@ export function useLogoutUserHook< TQueryKey extends QueryKey = LogoutUserQueryKey, >(options: { query?: QueryObserverOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -81,7 +81,7 @@ export function logoutUserInfiniteQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserInfiniteQueryKey() return { queryKey, @@ -108,7 +108,7 @@ export function useLogoutUserHookInfinite< TQueryKey extends QueryKey = LogoutUserInfiniteQueryKey, >(options: { query?: UseInfiniteQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { @@ -130,7 +130,7 @@ export function logoutUserSuspenseQueryOptions< TQueryFnData extends LogoutUser['data'] = LogoutUser['data'], TError = LogoutUser['error'], TData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserSuspenseQueryKey() return { queryKey, @@ -154,7 +154,7 @@ export function useLogoutUserHookSuspense< TQueryKey extends QueryKey = LogoutUserSuspenseQueryKey, >(options: { query?: UseSuspenseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseSuspenseQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query-v5/src/gen/hooks/usePlaceOrderHook.ts b/examples/react-query-v5/src/gen/hooks/usePlaceOrderHook.ts index cb0f44765..9a26ee5ae 100644 --- a/examples/react-query-v5/src/gen/hooks/usePlaceOrderHook.ts +++ b/examples/react-query-v5/src/gen/hooks/usePlaceOrderHook.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrder = { * @link /store/order */ export function usePlaceOrderHook(options: { mutation?: UseMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/usePlaceOrderPatchHook.ts b/examples/react-query-v5/src/gen/hooks/usePlaceOrderPatchHook.ts index c814ffba4..266a2f414 100644 --- a/examples/react-query-v5/src/gen/hooks/usePlaceOrderPatchHook.ts +++ b/examples/react-query-v5/src/gen/hooks/usePlaceOrderPatchHook.ts @@ -13,7 +13,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrderPatch = { * @link /store/order */ export function usePlaceOrderPatchHook(options: { mutation?: UseMutationOptions - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useUpdatePetHook.ts b/examples/react-query-v5/src/gen/hooks/useUpdatePetHook.ts index a3279d22e..46b8c3ebf 100644 --- a/examples/react-query-v5/src/gen/hooks/useUpdatePetHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useUpdatePetHook.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePetHook(options: { mutation?: UseMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useUpdatePetWithFormHook.ts b/examples/react-query-v5/src/gen/hooks/useUpdatePetWithFormHook.ts index 7b0d3f936..0299f8c00 100644 --- a/examples/react-query-v5/src/gen/hooks/useUpdatePetWithFormHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useUpdatePetWithFormHook.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UpdatePetWithForm = { * @link /pet/:petId */ export function useUpdatePetWithFormHook(petId: UpdatePetWithFormPathParams['petId'], params?: UpdatePetWithForm['queryParams'], options: { mutation?: UseMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useUpdateUserHook.ts b/examples/react-query-v5/src/gen/hooks/useUpdateUserHook.ts index 0e3c2050b..dab9b041a 100644 --- a/examples/react-query-v5/src/gen/hooks/useUpdateUserHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useUpdateUserHook.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdateUser = { * @link /user/:username */ export function useUpdateUserHook(username: UpdateUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query-v5/src/gen/hooks/useUploadFileHook.ts b/examples/react-query-v5/src/gen/hooks/useUploadFileHook.ts index 86fae9575..cf7e200dd 100644 --- a/examples/react-query-v5/src/gen/hooks/useUploadFileHook.ts +++ b/examples/react-query-v5/src/gen/hooks/useUploadFileHook.ts @@ -13,7 +13,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -22,7 +22,7 @@ type UploadFile = { * @link /pet/:petId/uploadImage */ export function useUploadFileHook(petId: UploadFilePathParams['petId'], params?: UploadFile['queryParams'], options: { mutation?: UseMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useAddPetHook.ts b/examples/react-query/src/gen/hooks/useAddPetHook.ts index ff782ee5d..511669a7c 100644 --- a/examples/react-query/src/gen/hooks/useAddPetHook.ts +++ b/examples/react-query/src/gen/hooks/useAddPetHook.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type AddPet = { * @link /pet */ export function useAddPetHook(options: { mutation?: UseMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useCreateUserHook.ts b/examples/react-query/src/gen/hooks/useCreateUserHook.ts index 668d5dee2..a1bb7c5dd 100644 --- a/examples/react-query/src/gen/hooks/useCreateUserHook.ts +++ b/examples/react-query/src/gen/hooks/useCreateUserHook.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type CreateUser = { * @link /user */ export function useCreateUserHook(options: { mutation?: UseMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useCreateUsersWithListInputHook.ts b/examples/react-query/src/gen/hooks/useCreateUsersWithListInputHook.ts index 0a46fc3ab..fe490128d 100644 --- a/examples/react-query/src/gen/hooks/useCreateUsersWithListInputHook.ts +++ b/examples/react-query/src/gen/hooks/useCreateUsersWithListInputHook.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInputHook(options: { mutation?: UseMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useDeleteOrderHook.ts b/examples/react-query/src/gen/hooks/useDeleteOrderHook.ts index 1a99b2b4b..e22cd89c8 100644 --- a/examples/react-query/src/gen/hooks/useDeleteOrderHook.ts +++ b/examples/react-query/src/gen/hooks/useDeleteOrderHook.ts @@ -13,7 +13,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteOrder = { * @link /store/order/:orderId */ export function useDeleteOrderHook(orderId: DeleteOrderPathParams['orderId'], options: { mutation?: UseMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useDeletePetHook.ts b/examples/react-query/src/gen/hooks/useDeletePetHook.ts index 41a97acf7..48dad7da9 100644 --- a/examples/react-query/src/gen/hooks/useDeletePetHook.ts +++ b/examples/react-query/src/gen/hooks/useDeletePetHook.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeletePet = { * @link /pet/:petId */ export function useDeletePetHook(petId: DeletePetPathParams['petId'], headers?: DeletePet['headerParams'], options: { mutation?: UseMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useDeleteUserHook.ts b/examples/react-query/src/gen/hooks/useDeleteUserHook.ts index fe0e3a7c8..14e9965e1 100644 --- a/examples/react-query/src/gen/hooks/useDeleteUserHook.ts +++ b/examples/react-query/src/gen/hooks/useDeleteUserHook.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type DeleteUser = { * @link /user/:username */ export function useDeleteUserHook(username: DeleteUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useFindPetsByStatusHook.ts b/examples/react-query/src/gen/hooks/useFindPetsByStatusHook.ts index f9a46fa33..cee9532e1 100644 --- a/examples/react-query/src/gen/hooks/useFindPetsByStatusHook.ts +++ b/examples/react-query/src/gen/hooks/useFindPetsByStatusHook.ts @@ -13,7 +13,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -54,7 +54,7 @@ export function useFindPetsByStatusHook< TQueryKey extends QueryKey = FindPetsByStatusQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -80,7 +80,7 @@ export function findPetsByStatusInfiniteQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusInfiniteQueryKey(params) return { @@ -112,7 +112,7 @@ export function useFindPetsByStatusHookInfinite< TQueryKey extends QueryKey = FindPetsByStatusInfiniteQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useFindPetsByTagsHook.ts b/examples/react-query/src/gen/hooks/useFindPetsByTagsHook.ts index 29f35b1e3..76b294c8d 100644 --- a/examples/react-query/src/gen/hooks/useFindPetsByTagsHook.ts +++ b/examples/react-query/src/gen/hooks/useFindPetsByTagsHook.ts @@ -13,7 +13,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -54,7 +54,7 @@ export function useFindPetsByTagsHook< TQueryKey extends QueryKey = FindPetsByTagsQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -79,7 +79,7 @@ export function findPetsByTagsInfiniteQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsInfiniteQueryKey(params) return { @@ -111,7 +111,7 @@ export function useFindPetsByTagsHookInfinite< TQueryKey extends QueryKey = FindPetsByTagsInfiniteQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useGetInventoryHook.ts b/examples/react-query/src/gen/hooks/useGetInventoryHook.ts index 5f90845f4..baaf00515 100644 --- a/examples/react-query/src/gen/hooks/useGetInventoryHook.ts +++ b/examples/react-query/src/gen/hooks/useGetInventoryHook.ts @@ -13,7 +13,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -50,7 +50,7 @@ export function useGetInventoryHook< TQueryKey extends QueryKey = GetInventoryQueryKey, >(options: { query?: UseBaseQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -73,7 +73,7 @@ export function getInventoryInfiniteQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryInfiniteQueryKey() return { queryKey, @@ -99,7 +99,7 @@ export function useGetInventoryHookInfinite< TQueryKey extends QueryKey = GetInventoryInfiniteQueryKey, >(options: { query?: UseInfiniteQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useGetOrderByIdHook.ts b/examples/react-query/src/gen/hooks/useGetOrderByIdHook.ts index 4f95ccf58..1bc36ef25 100644 --- a/examples/react-query/src/gen/hooks/useGetOrderByIdHook.ts +++ b/examples/react-query/src/gen/hooks/useGetOrderByIdHook.ts @@ -13,7 +13,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(orderId) return { @@ -53,7 +53,7 @@ export function useGetOrderByIdHook< TQueryKey extends QueryKey = GetOrderByIdQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: UseBaseQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -79,7 +79,7 @@ export function getOrderByIdInfiniteQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdInfiniteQueryKey(orderId) return { @@ -106,7 +106,7 @@ export function useGetOrderByIdHookInfinite< TQueryKey extends QueryKey = GetOrderByIdInfiniteQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: UseInfiniteQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useGetPetByIdHook.ts b/examples/react-query/src/gen/hooks/useGetPetByIdHook.ts index 96c7dad72..f4adb95db 100644 --- a/examples/react-query/src/gen/hooks/useGetPetByIdHook.ts +++ b/examples/react-query/src/gen/hooks/useGetPetByIdHook.ts @@ -13,7 +13,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -53,7 +53,7 @@ export function useGetPetByIdHook< TQueryKey extends QueryKey = GetPetByIdQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseBaseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function getPetByIdInfiniteQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdInfiniteQueryKey(petId) return { @@ -105,7 +105,7 @@ export function useGetPetByIdHookInfinite< TQueryKey extends QueryKey = GetPetByIdInfiniteQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseInfiniteQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useGetUserByNameHook.ts b/examples/react-query/src/gen/hooks/useGetUserByNameHook.ts index 37860ace5..f98a8ada5 100644 --- a/examples/react-query/src/gen/hooks/useGetUserByNameHook.ts +++ b/examples/react-query/src/gen/hooks/useGetUserByNameHook.ts @@ -13,7 +13,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -52,7 +52,7 @@ export function useGetUserByNameHook< TQueryKey extends QueryKey = GetUserByNameQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseBaseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function getUserByNameInfiniteQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameInfiniteQueryKey(username) return { @@ -104,7 +104,7 @@ export function useGetUserByNameHookInfinite< TQueryKey extends QueryKey = GetUserByNameInfiniteQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseInfiniteQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useLoginUserHook.ts b/examples/react-query/src/gen/hooks/useLoginUserHook.ts index 313d4df70..43b2b2502 100644 --- a/examples/react-query/src/gen/hooks/useLoginUserHook.ts +++ b/examples/react-query/src/gen/hooks/useLoginUserHook.ts @@ -13,7 +13,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -53,7 +53,7 @@ export function useLoginUserHook< TQueryKey extends QueryKey = LoginUserQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseBaseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -78,7 +78,7 @@ export function loginUserInfiniteQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserInfiniteQueryKey(params) return { @@ -109,7 +109,7 @@ export function useLoginUserHookInfinite< TQueryKey extends QueryKey = LoginUserInfiniteQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseInfiniteQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/useLogoutUserHook.ts b/examples/react-query/src/gen/hooks/useLogoutUserHook.ts index acb5b6e32..c7449dc36 100644 --- a/examples/react-query/src/gen/hooks/useLogoutUserHook.ts +++ b/examples/react-query/src/gen/hooks/useLogoutUserHook.ts @@ -13,7 +13,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -49,7 +49,7 @@ export function useLogoutUserHook< TQueryKey extends QueryKey = LogoutUserQueryKey, >(options: { query?: UseBaseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -72,7 +72,7 @@ export function logoutUserInfiniteQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserInfiniteQueryKey() return { queryKey, @@ -97,7 +97,7 @@ export function useLogoutUserHookInfinite< TQueryKey extends QueryKey = LogoutUserInfiniteQueryKey, >(options: { query?: UseInfiniteQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseInfiniteQueryResult & { queryKey: TQueryKey } { diff --git a/examples/react-query/src/gen/hooks/usePlaceOrderHook.ts b/examples/react-query/src/gen/hooks/usePlaceOrderHook.ts index cb0f44765..9a26ee5ae 100644 --- a/examples/react-query/src/gen/hooks/usePlaceOrderHook.ts +++ b/examples/react-query/src/gen/hooks/usePlaceOrderHook.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrder = { * @link /store/order */ export function usePlaceOrderHook(options: { mutation?: UseMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/usePlaceOrderPatchHook.ts b/examples/react-query/src/gen/hooks/usePlaceOrderPatchHook.ts index c814ffba4..266a2f414 100644 --- a/examples/react-query/src/gen/hooks/usePlaceOrderPatchHook.ts +++ b/examples/react-query/src/gen/hooks/usePlaceOrderPatchHook.ts @@ -13,7 +13,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrderPatch = { * @link /store/order */ export function usePlaceOrderPatchHook(options: { mutation?: UseMutationOptions - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useUpdatePetHook.ts b/examples/react-query/src/gen/hooks/useUpdatePetHook.ts index a3279d22e..46b8c3ebf 100644 --- a/examples/react-query/src/gen/hooks/useUpdatePetHook.ts +++ b/examples/react-query/src/gen/hooks/useUpdatePetHook.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePetHook(options: { mutation?: UseMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useUpdatePetWithFormHook.ts b/examples/react-query/src/gen/hooks/useUpdatePetWithFormHook.ts index 7b0d3f936..0299f8c00 100644 --- a/examples/react-query/src/gen/hooks/useUpdatePetWithFormHook.ts +++ b/examples/react-query/src/gen/hooks/useUpdatePetWithFormHook.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ type UpdatePetWithForm = { * @link /pet/:petId */ export function useUpdatePetWithFormHook(petId: UpdatePetWithFormPathParams['petId'], params?: UpdatePetWithForm['queryParams'], options: { mutation?: UseMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useUpdateUserHook.ts b/examples/react-query/src/gen/hooks/useUpdateUserHook.ts index 0e3c2050b..dab9b041a 100644 --- a/examples/react-query/src/gen/hooks/useUpdateUserHook.ts +++ b/examples/react-query/src/gen/hooks/useUpdateUserHook.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdateUser = { * @link /user/:username */ export function useUpdateUserHook(username: UpdateUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/react-query/src/gen/hooks/useUploadFileHook.ts b/examples/react-query/src/gen/hooks/useUploadFileHook.ts index 86fae9575..cf7e200dd 100644 --- a/examples/react-query/src/gen/hooks/useUploadFileHook.ts +++ b/examples/react-query/src/gen/hooks/useUploadFileHook.ts @@ -13,7 +13,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -22,7 +22,7 @@ type UploadFile = { * @link /pet/:petId/uploadImage */ export function useUploadFileHook(petId: UploadFilePathParams['petId'], params?: UploadFile['queryParams'], options: { mutation?: UseMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/simple-single/src/gen/hooks.ts b/examples/simple-single/src/gen/hooks.ts index 9d9142e13..63c5cdd42 100644 --- a/examples/simple-single/src/gen/hooks.ts +++ b/examples/simple-single/src/gen/hooks.ts @@ -82,7 +82,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -92,7 +92,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePet(options: { mutation?: UseMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -119,7 +119,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -129,7 +129,7 @@ type AddPet = { * @link /pet */ export function useAddPet(options: { mutation?: UseMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -156,7 +156,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -169,7 +169,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -197,7 +197,7 @@ export function useFindPetsByStatus< TQueryKey extends QueryKey = FindPetsByStatusQueryKey, >(params?: FindPetsByStatus['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -224,7 +224,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -237,7 +237,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -265,7 +265,7 @@ export function useFindPetsByTags< TQueryKey extends QueryKey = FindPetsByTagsQueryKey, >(params?: FindPetsByTags['queryParams'], options: { query?: UseBaseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -292,7 +292,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -305,7 +305,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -332,7 +332,7 @@ export function useGetPetById< TQueryKey extends QueryKey = GetPetByIdQueryKey, >(petId: GetPetByIdPathParams['petId'], options: { query?: UseBaseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -359,7 +359,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -368,7 +368,7 @@ type UpdatePetWithForm = { * @link /pet/:petId */ export function useUpdatePetWithForm(petId: UpdatePetWithFormPathParams['petId'], params?: UpdatePetWithForm['queryParams'], options: { mutation?: UseMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -395,7 +395,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -405,7 +405,7 @@ type DeletePet = { * @link /pet/:petId */ export function useDeletePet(petId: DeletePetPathParams['petId'], headers?: DeletePet['headerParams'], options: { mutation?: UseMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -432,7 +432,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -441,7 +441,7 @@ type UploadFile = { * @link /pet/:petId/uploadImage */ export function useUploadFile(petId: UploadFilePathParams['petId'], params?: UploadFile['queryParams'], options: { mutation?: UseMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -469,7 +469,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -480,7 +480,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -506,7 +506,7 @@ export function useGetInventory< TQueryKey extends QueryKey = GetInventoryQueryKey, >(options: { query?: UseBaseQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -533,7 +533,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -543,7 +543,7 @@ type PlaceOrder = { * @link /store/order */ export function usePlaceOrder(options: { mutation?: UseMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -570,7 +570,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -580,7 +580,7 @@ type PlaceOrderPatch = { * @link /store/order */ export function usePlaceOrderPatch(options: { mutation?: UseMutationOptions - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -607,7 +607,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -620,7 +620,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(orderId) return { @@ -647,7 +647,7 @@ export function useGetOrderById< TQueryKey extends QueryKey = GetOrderByIdQueryKey, >(orderId: GetOrderByIdPathParams['orderId'], options: { query?: UseBaseQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -674,7 +674,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -684,7 +684,7 @@ type DeleteOrder = { * @link /store/order/:orderId */ export function useDeleteOrder(orderId: DeleteOrderPathParams['orderId'], options: { mutation?: UseMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -710,7 +710,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -720,7 +720,7 @@ type CreateUser = { * @link /user */ export function useCreateUser(options: { mutation?: UseMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -751,7 +751,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -761,7 +761,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInput(options: { mutation?: UseMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -788,7 +788,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -801,7 +801,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -828,7 +828,7 @@ export function useLoginUser< TQueryKey extends QueryKey = LoginUserQueryKey, >(params?: LoginUser['queryParams'], options: { query?: UseBaseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -855,7 +855,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -866,7 +866,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -891,7 +891,7 @@ export function useLogoutUser< TQueryKey extends QueryKey = LogoutUserQueryKey, >(options: { query?: UseBaseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -918,7 +918,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -931,7 +931,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -957,7 +957,7 @@ export function useGetUserByName< TQueryKey extends QueryKey = GetUserByNameQueryKey, >(username: GetUserByNamePathParams['username'], options: { query?: UseBaseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}): UseQueryResult & { queryKey: TQueryKey } { @@ -984,7 +984,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -994,7 +994,7 @@ type UpdateUser = { * @link /user/:username */ export function useUpdateUser(username: UpdateUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ @@ -1021,7 +1021,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -1031,7 +1031,7 @@ type DeleteUser = { * @link /user/:username */ export function useDeleteUser(username: DeleteUserPathParams['username'], options: { mutation?: UseMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}): UseMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} return useMutation({ diff --git a/examples/solid-query/src/gen/hooks/addPetQuery.ts b/examples/solid-query/src/gen/hooks/addPetQuery.ts index f29c289cf..2c721478a 100644 --- a/examples/solid-query/src/gen/hooks/addPetQuery.ts +++ b/examples/solid-query/src/gen/hooks/addPetQuery.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type AddPet = { export function addPetQuery( options: { mutation?: CreateMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/createUserQuery.ts b/examples/solid-query/src/gen/hooks/createUserQuery.ts index 8d007706d..464b2e8a8 100644 --- a/examples/solid-query/src/gen/hooks/createUserQuery.ts +++ b/examples/solid-query/src/gen/hooks/createUserQuery.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type CreateUser = { export function createUserQuery( options: { mutation?: CreateMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/createUsersWithListInputQuery.ts b/examples/solid-query/src/gen/hooks/createUsersWithListInputQuery.ts index f7fb54321..a5a5ce534 100644 --- a/examples/solid-query/src/gen/hooks/createUsersWithListInputQuery.ts +++ b/examples/solid-query/src/gen/hooks/createUsersWithListInputQuery.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -32,7 +32,7 @@ type CreateUsersWithListInput = { export function createUsersWithListInputQuery( options: { mutation?: CreateMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/deleteOrderQuery.ts b/examples/solid-query/src/gen/hooks/deleteOrderQuery.ts index 33f224ec7..24c7e7359 100644 --- a/examples/solid-query/src/gen/hooks/deleteOrderQuery.ts +++ b/examples/solid-query/src/gen/hooks/deleteOrderQuery.ts @@ -13,7 +13,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function deleteOrderQuery( orderId: DeleteOrderPathParams['orderId'], options: { mutation?: CreateMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/deletePetQuery.ts b/examples/solid-query/src/gen/hooks/deletePetQuery.ts index 6537bb571..20a5276fe 100644 --- a/examples/solid-query/src/gen/hooks/deletePetQuery.ts +++ b/examples/solid-query/src/gen/hooks/deletePetQuery.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function deletePetQuery( headers?: DeletePet['headerParams'], options: { mutation?: CreateMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/deleteUserQuery.ts b/examples/solid-query/src/gen/hooks/deleteUserQuery.ts index 2dbb741f6..5f32d842a 100644 --- a/examples/solid-query/src/gen/hooks/deleteUserQuery.ts +++ b/examples/solid-query/src/gen/hooks/deleteUserQuery.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function deleteUserQuery( username: DeleteUserPathParams['username'], options: { mutation?: CreateMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/findPetsByStatusQuery.ts b/examples/solid-query/src/gen/hooks/findPetsByStatusQuery.ts index 44e907f31..7165dbece 100644 --- a/examples/solid-query/src/gen/hooks/findPetsByStatusQuery.ts +++ b/examples/solid-query/src/gen/hooks/findPetsByStatusQuery.ts @@ -13,7 +13,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -56,7 +56,7 @@ export function findPetsByStatusQuery< params?: FindPetsByStatus['queryParams'], options: { query?: CreateBaseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/findPetsByTagsQuery.ts b/examples/solid-query/src/gen/hooks/findPetsByTagsQuery.ts index 9bddcbfc3..49532d723 100644 --- a/examples/solid-query/src/gen/hooks/findPetsByTagsQuery.ts +++ b/examples/solid-query/src/gen/hooks/findPetsByTagsQuery.ts @@ -13,7 +13,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -56,7 +56,7 @@ export function findPetsByTagsQuery< params?: FindPetsByTags['queryParams'], options: { query?: CreateBaseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/getInventoryQuery.ts b/examples/solid-query/src/gen/hooks/getInventoryQuery.ts index 386618a89..9020b91fd 100644 --- a/examples/solid-query/src/gen/hooks/getInventoryQuery.ts +++ b/examples/solid-query/src/gen/hooks/getInventoryQuery.ts @@ -13,7 +13,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -51,7 +51,7 @@ export function getInventoryQuery< >( options: { query?: CreateBaseQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/getOrderByIdQuery.ts b/examples/solid-query/src/gen/hooks/getOrderByIdQuery.ts index b441ff2c2..e1c454568 100644 --- a/examples/solid-query/src/gen/hooks/getOrderByIdQuery.ts +++ b/examples/solid-query/src/gen/hooks/getOrderByIdQuery.ts @@ -13,7 +13,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(orderId) return { @@ -55,7 +55,7 @@ export function getOrderByIdQuery< orderId: GetOrderByIdPathParams['orderId'], options: { query?: CreateBaseQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/getPetByIdQuery.ts b/examples/solid-query/src/gen/hooks/getPetByIdQuery.ts index b11ea5976..381d2a531 100644 --- a/examples/solid-query/src/gen/hooks/getPetByIdQuery.ts +++ b/examples/solid-query/src/gen/hooks/getPetByIdQuery.ts @@ -13,7 +13,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -55,7 +55,7 @@ export function getPetByIdQuery< petId: GetPetByIdPathParams['petId'], options: { query?: CreateBaseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/getUserByNameQuery.ts b/examples/solid-query/src/gen/hooks/getUserByNameQuery.ts index 4a7794a2e..fac02ad67 100644 --- a/examples/solid-query/src/gen/hooks/getUserByNameQuery.ts +++ b/examples/solid-query/src/gen/hooks/getUserByNameQuery.ts @@ -13,7 +13,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -54,7 +54,7 @@ export function getUserByNameQuery< username: GetUserByNamePathParams['username'], options: { query?: CreateBaseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/loginUserQuery.ts b/examples/solid-query/src/gen/hooks/loginUserQuery.ts index 33005a615..17f9d6713 100644 --- a/examples/solid-query/src/gen/hooks/loginUserQuery.ts +++ b/examples/solid-query/src/gen/hooks/loginUserQuery.ts @@ -13,7 +13,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -55,7 +55,7 @@ export function loginUserQuery< params?: LoginUser['queryParams'], options: { query?: CreateBaseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/logoutUserQuery.ts b/examples/solid-query/src/gen/hooks/logoutUserQuery.ts index 0a9d45cda..bcd8640b8 100644 --- a/examples/solid-query/src/gen/hooks/logoutUserQuery.ts +++ b/examples/solid-query/src/gen/hooks/logoutUserQuery.ts @@ -13,7 +13,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -50,7 +50,7 @@ export function logoutUserQuery< >( options: { query?: CreateBaseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey diff --git a/examples/solid-query/src/gen/hooks/placeOrderPatchQuery.ts b/examples/solid-query/src/gen/hooks/placeOrderPatchQuery.ts index 1fe9d4ea6..b2f0253c2 100644 --- a/examples/solid-query/src/gen/hooks/placeOrderPatchQuery.ts +++ b/examples/solid-query/src/gen/hooks/placeOrderPatchQuery.ts @@ -13,7 +13,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type PlaceOrderPatch = { export function placeOrderPatchQuery( options: { mutation?: CreateMutationOptions - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/placeOrderQuery.ts b/examples/solid-query/src/gen/hooks/placeOrderQuery.ts index 09b7c7140..d2b58e06c 100644 --- a/examples/solid-query/src/gen/hooks/placeOrderQuery.ts +++ b/examples/solid-query/src/gen/hooks/placeOrderQuery.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type PlaceOrder = { export function placeOrderQuery( options: { mutation?: CreateMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/updatePetQuery.ts b/examples/solid-query/src/gen/hooks/updatePetQuery.ts index b18b19295..478a1baa9 100644 --- a/examples/solid-query/src/gen/hooks/updatePetQuery.ts +++ b/examples/solid-query/src/gen/hooks/updatePetQuery.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type UpdatePet = { export function updatePetQuery( options: { mutation?: CreateMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/updatePetWithFormQuery.ts b/examples/solid-query/src/gen/hooks/updatePetWithFormQuery.ts index 9f7de03f2..1194f0459 100644 --- a/examples/solid-query/src/gen/hooks/updatePetWithFormQuery.ts +++ b/examples/solid-query/src/gen/hooks/updatePetWithFormQuery.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function updatePetWithFormQuery( params?: UpdatePetWithForm['queryParams'], options: { mutation?: CreateMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/updateUserQuery.ts b/examples/solid-query/src/gen/hooks/updateUserQuery.ts index 4071e6f7d..17305e158 100644 --- a/examples/solid-query/src/gen/hooks/updateUserQuery.ts +++ b/examples/solid-query/src/gen/hooks/updateUserQuery.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function updateUserQuery( username: UpdateUserPathParams['username'], options: { mutation?: CreateMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/solid-query/src/gen/hooks/uploadFileQuery.ts b/examples/solid-query/src/gen/hooks/uploadFileQuery.ts index e49b53982..567de4f82 100644 --- a/examples/solid-query/src/gen/hooks/uploadFileQuery.ts +++ b/examples/solid-query/src/gen/hooks/uploadFileQuery.ts @@ -13,7 +13,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function uploadFileQuery( params?: UploadFile['queryParams'], options: { mutation?: CreateMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/addPetQuery.ts b/examples/svelte-query/src/gen/hooks/addPetQuery.ts index e15416f0a..3d1d48134 100644 --- a/examples/svelte-query/src/gen/hooks/addPetQuery.ts +++ b/examples/svelte-query/src/gen/hooks/addPetQuery.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type AddPet = { export function addPetQuery( options: { mutation?: CreateMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/createUserQuery.ts b/examples/svelte-query/src/gen/hooks/createUserQuery.ts index 0525427eb..6d1cafc00 100644 --- a/examples/svelte-query/src/gen/hooks/createUserQuery.ts +++ b/examples/svelte-query/src/gen/hooks/createUserQuery.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type CreateUser = { export function createUserQuery( options: { mutation?: CreateMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/createUsersWithListInputQuery.ts b/examples/svelte-query/src/gen/hooks/createUsersWithListInputQuery.ts index 666fcbdc3..5c57e3a23 100644 --- a/examples/svelte-query/src/gen/hooks/createUsersWithListInputQuery.ts +++ b/examples/svelte-query/src/gen/hooks/createUsersWithListInputQuery.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -32,7 +32,7 @@ type CreateUsersWithListInput = { export function createUsersWithListInputQuery( options: { mutation?: CreateMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/deleteOrderQuery.ts b/examples/svelte-query/src/gen/hooks/deleteOrderQuery.ts index eec6aa5e2..81c13aa4c 100644 --- a/examples/svelte-query/src/gen/hooks/deleteOrderQuery.ts +++ b/examples/svelte-query/src/gen/hooks/deleteOrderQuery.ts @@ -13,7 +13,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function deleteOrderQuery( orderId: DeleteOrderPathParams['orderId'], options: { mutation?: CreateMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/deletePetQuery.ts b/examples/svelte-query/src/gen/hooks/deletePetQuery.ts index b1aef9bf6..135bacb2b 100644 --- a/examples/svelte-query/src/gen/hooks/deletePetQuery.ts +++ b/examples/svelte-query/src/gen/hooks/deletePetQuery.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function deletePetQuery( headers?: DeletePet['headerParams'], options: { mutation?: CreateMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/deleteUserQuery.ts b/examples/svelte-query/src/gen/hooks/deleteUserQuery.ts index 3ac6f3b9e..41d3f33c6 100644 --- a/examples/svelte-query/src/gen/hooks/deleteUserQuery.ts +++ b/examples/svelte-query/src/gen/hooks/deleteUserQuery.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function deleteUserQuery( username: DeleteUserPathParams['username'], options: { mutation?: CreateMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/findPetsByStatusQuery.ts b/examples/svelte-query/src/gen/hooks/findPetsByStatusQuery.ts index e57606c51..95009b109 100644 --- a/examples/svelte-query/src/gen/hooks/findPetsByStatusQuery.ts +++ b/examples/svelte-query/src/gen/hooks/findPetsByStatusQuery.ts @@ -20,7 +20,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(params) return { @@ -63,7 +63,7 @@ export function findPetsByStatusQuery< params?: FindPetsByStatus['queryParams'], options: { query?: CreateBaseQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -90,7 +90,7 @@ export function findPetsByStatusInfiniteQueryOptions< TQueryData = FindPetsByStatus['response'], >( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusInfiniteQueryKey(params) return { @@ -124,7 +124,7 @@ export function findPetsByStatusQueryInfinite< params?: FindPetsByStatus['queryParams'], options: { query?: CreateInfiniteQueryOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/findPetsByTagsQuery.ts b/examples/svelte-query/src/gen/hooks/findPetsByTagsQuery.ts index 128a31714..211fc5868 100644 --- a/examples/svelte-query/src/gen/hooks/findPetsByTagsQuery.ts +++ b/examples/svelte-query/src/gen/hooks/findPetsByTagsQuery.ts @@ -20,7 +20,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(params) return { @@ -63,7 +63,7 @@ export function findPetsByTagsQuery< params?: FindPetsByTags['queryParams'], options: { query?: CreateBaseQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -89,7 +89,7 @@ export function findPetsByTagsInfiniteQueryOptions< TQueryData = FindPetsByTags['response'], >( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsInfiniteQueryKey(params) return { @@ -123,7 +123,7 @@ export function findPetsByTagsQueryInfinite< params?: FindPetsByTags['queryParams'], options: { query?: CreateInfiniteQueryOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/getInventoryQuery.ts b/examples/svelte-query/src/gen/hooks/getInventoryQuery.ts index d6c63916d..05d45bbcd 100644 --- a/examples/svelte-query/src/gen/hooks/getInventoryQuery.ts +++ b/examples/svelte-query/src/gen/hooks/getInventoryQuery.ts @@ -20,7 +20,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -58,7 +58,7 @@ export function getInventoryQuery< >( options: { query?: CreateBaseQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -83,7 +83,7 @@ export function getInventoryInfiniteQueryOptions< TData = GetInventory['response'], TQueryData = GetInventory['response'], >( - options: GetInventory['client']['paramaters'] = {}, + options: GetInventory['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getInventoryInfiniteQueryKey() return { @@ -111,7 +111,7 @@ export function getInventoryQueryInfinite< >( options: { query?: CreateInfiniteQueryOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/getOrderByIdQuery.ts b/examples/svelte-query/src/gen/hooks/getOrderByIdQuery.ts index 57b868bf7..ad945768a 100644 --- a/examples/svelte-query/src/gen/hooks/getOrderByIdQuery.ts +++ b/examples/svelte-query/src/gen/hooks/getOrderByIdQuery.ts @@ -20,7 +20,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(orderId) return { @@ -62,7 +62,7 @@ export function getOrderByIdQuery< orderId: GetOrderByIdPathParams['orderId'], options: { query?: CreateBaseQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -89,7 +89,7 @@ export function getOrderByIdInfiniteQueryOptions< TQueryData = GetOrderById['response'], >( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdInfiniteQueryKey(orderId) return { @@ -118,7 +118,7 @@ export function getOrderByIdQueryInfinite< orderId: GetOrderByIdPathParams['orderId'], options: { query?: CreateInfiniteQueryOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/getPetByIdQuery.ts b/examples/svelte-query/src/gen/hooks/getPetByIdQuery.ts index 72998be7c..34aed907e 100644 --- a/examples/svelte-query/src/gen/hooks/getPetByIdQuery.ts +++ b/examples/svelte-query/src/gen/hooks/getPetByIdQuery.ts @@ -20,7 +20,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(petId) return { @@ -62,7 +62,7 @@ export function getPetByIdQuery< petId: GetPetByIdPathParams['petId'], options: { query?: CreateBaseQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -88,7 +88,7 @@ export function getPetByIdInfiniteQueryOptions< TQueryData = GetPetById['response'], >( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdInfiniteQueryKey(petId) return { @@ -117,7 +117,7 @@ export function getPetByIdQueryInfinite< petId: GetPetByIdPathParams['petId'], options: { query?: CreateInfiniteQueryOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/getUserByNameQuery.ts b/examples/svelte-query/src/gen/hooks/getUserByNameQuery.ts index 83972b544..3c46ab54d 100644 --- a/examples/svelte-query/src/gen/hooks/getUserByNameQuery.ts +++ b/examples/svelte-query/src/gen/hooks/getUserByNameQuery.ts @@ -20,7 +20,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(username) return { @@ -61,7 +61,7 @@ export function getUserByNameQuery< username: GetUserByNamePathParams['username'], options: { query?: CreateBaseQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -88,7 +88,7 @@ export function getUserByNameInfiniteQueryOptions< TQueryData = GetUserByName['response'], >( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameInfiniteQueryKey(username) return { @@ -116,7 +116,7 @@ export function getUserByNameQueryInfinite< username: GetUserByNamePathParams['username'], options: { query?: CreateInfiniteQueryOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/loginUserQuery.ts b/examples/svelte-query/src/gen/hooks/loginUserQuery.ts index f3bbfaaab..6537dbc66 100644 --- a/examples/svelte-query/src/gen/hooks/loginUserQuery.ts +++ b/examples/svelte-query/src/gen/hooks/loginUserQuery.ts @@ -20,7 +20,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(params) return { @@ -62,7 +62,7 @@ export function loginUserQuery< params?: LoginUser['queryParams'], options: { query?: CreateBaseQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -88,7 +88,7 @@ export function loginUserInfiniteQueryOptions< TQueryData = LoginUser['response'], >( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserInfiniteQueryKey(params) return { @@ -121,7 +121,7 @@ export function loginUserQueryInfinite< params?: LoginUser['queryParams'], options: { query?: CreateInfiniteQueryOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/logoutUserQuery.ts b/examples/svelte-query/src/gen/hooks/logoutUserQuery.ts index dc511bcf2..f18e61dc8 100644 --- a/examples/svelte-query/src/gen/hooks/logoutUserQuery.ts +++ b/examples/svelte-query/src/gen/hooks/logoutUserQuery.ts @@ -20,7 +20,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -57,7 +57,7 @@ export function logoutUserQuery< >( options: { query?: CreateBaseQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}, ): CreateQueryResult & { queryKey: TQueryKey @@ -81,7 +81,7 @@ export function logoutUserInfiniteQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserInfiniteQueryKey() return { queryKey, @@ -107,7 +107,7 @@ export function logoutUserQueryInfinite< >( options: { query?: CreateInfiniteQueryOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}, ): CreateInfiniteQueryResult & { queryKey: TQueryKey diff --git a/examples/svelte-query/src/gen/hooks/placeOrderPatchQuery.ts b/examples/svelte-query/src/gen/hooks/placeOrderPatchQuery.ts index 8dcbfbd1f..ee5177b9d 100644 --- a/examples/svelte-query/src/gen/hooks/placeOrderPatchQuery.ts +++ b/examples/svelte-query/src/gen/hooks/placeOrderPatchQuery.ts @@ -13,7 +13,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type PlaceOrderPatch = { export function placeOrderPatchQuery( options: { mutation?: CreateMutationOptions - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/placeOrderQuery.ts b/examples/svelte-query/src/gen/hooks/placeOrderQuery.ts index e3ad13d7b..4c50d2dac 100644 --- a/examples/svelte-query/src/gen/hooks/placeOrderQuery.ts +++ b/examples/svelte-query/src/gen/hooks/placeOrderQuery.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type PlaceOrder = { export function placeOrderQuery( options: { mutation?: CreateMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/updatePetQuery.ts b/examples/svelte-query/src/gen/hooks/updatePetQuery.ts index 02bea9249..470ba392f 100644 --- a/examples/svelte-query/src/gen/hooks/updatePetQuery.ts +++ b/examples/svelte-query/src/gen/hooks/updatePetQuery.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type UpdatePet = { export function updatePetQuery( options: { mutation?: CreateMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/updatePetWithFormQuery.ts b/examples/svelte-query/src/gen/hooks/updatePetWithFormQuery.ts index 9a07ae767..dcbdf680b 100644 --- a/examples/svelte-query/src/gen/hooks/updatePetWithFormQuery.ts +++ b/examples/svelte-query/src/gen/hooks/updatePetWithFormQuery.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function updatePetWithFormQuery( params?: UpdatePetWithForm['queryParams'], options: { mutation?: CreateMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/updateUserQuery.ts b/examples/svelte-query/src/gen/hooks/updateUserQuery.ts index e3aac6cce..228b3b509 100644 --- a/examples/svelte-query/src/gen/hooks/updateUserQuery.ts +++ b/examples/svelte-query/src/gen/hooks/updateUserQuery.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function updateUserQuery( username: UpdateUserPathParams['username'], options: { mutation?: CreateMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/svelte-query/src/gen/hooks/uploadFileQuery.ts b/examples/svelte-query/src/gen/hooks/uploadFileQuery.ts index b9352d3fe..1a1e4284b 100644 --- a/examples/svelte-query/src/gen/hooks/uploadFileQuery.ts +++ b/examples/svelte-query/src/gen/hooks/uploadFileQuery.ts @@ -13,7 +13,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function uploadFileQuery( params?: UploadFile['queryParams'], options: { mutation?: CreateMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}, ): CreateMutationResult { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useAddPet.ts b/examples/swr/src/gen/hooks/useAddPet.ts index 2cdbb0b5f..86f66a79a 100644 --- a/examples/swr/src/gen/hooks/useAddPet.ts +++ b/examples/swr/src/gen/hooks/useAddPet.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type AddPet = { * @link /pet */ export function useAddPet(options?: { mutation?: SWRMutationConfiguration - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useCreateUser.ts b/examples/swr/src/gen/hooks/useCreateUser.ts index 59a1db7ef..536c9742c 100644 --- a/examples/swr/src/gen/hooks/useCreateUser.ts +++ b/examples/swr/src/gen/hooks/useCreateUser.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type CreateUser = { * @link /user */ export function useCreateUser(options?: { mutation?: SWRMutationConfiguration - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useCreateUsersWithListInput.ts b/examples/swr/src/gen/hooks/useCreateUsersWithListInput.ts index ebc9c85e3..3e463fde9 100644 --- a/examples/swr/src/gen/hooks/useCreateUsersWithListInput.ts +++ b/examples/swr/src/gen/hooks/useCreateUsersWithListInput.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -31,7 +31,7 @@ type CreateUsersWithListInput = { * @link /user/createWithList */ export function useCreateUsersWithListInput(options?: { mutation?: SWRMutationConfiguration - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useDeleteOrder.ts b/examples/swr/src/gen/hooks/useDeleteOrder.ts index 7470eb198..2aea277cf 100644 --- a/examples/swr/src/gen/hooks/useDeleteOrder.ts +++ b/examples/swr/src/gen/hooks/useDeleteOrder.ts @@ -13,7 +13,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function useDeleteOrder( orderId: DeleteOrderPathParams['orderId'], options?: { mutation?: SWRMutationConfiguration - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/swr/src/gen/hooks/useDeletePet.ts b/examples/swr/src/gen/hooks/useDeletePet.ts index 34770bb8b..c83c95a79 100644 --- a/examples/swr/src/gen/hooks/useDeletePet.ts +++ b/examples/swr/src/gen/hooks/useDeletePet.ts @@ -13,7 +13,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -26,7 +26,7 @@ export function useDeletePet( headers?: DeletePet['headerParams'], options?: { mutation?: SWRMutationConfiguration - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/swr/src/gen/hooks/useDeleteUser.ts b/examples/swr/src/gen/hooks/useDeleteUser.ts index de7618c48..388573574 100644 --- a/examples/swr/src/gen/hooks/useDeleteUser.ts +++ b/examples/swr/src/gen/hooks/useDeleteUser.ts @@ -13,7 +13,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function useDeleteUser( username: DeleteUserPathParams['username'], options?: { mutation?: SWRMutationConfiguration - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/swr/src/gen/hooks/useFindPetsByStatus.ts b/examples/swr/src/gen/hooks/useFindPetsByStatus.ts index 4a6592008..7f2a3112d 100644 --- a/examples/swr/src/gen/hooks/useFindPetsByStatus.ts +++ b/examples/swr/src/gen/hooks/useFindPetsByStatus.ts @@ -13,13 +13,13 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function findPetsByStatusQueryOptions( params?: FindPetsByStatus['queryParams'], - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -41,7 +41,7 @@ export function useFindPetsByStatus - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useFindPetsByTags.ts b/examples/swr/src/gen/hooks/useFindPetsByTags.ts index ef31a943f..ed5ba134c 100644 --- a/examples/swr/src/gen/hooks/useFindPetsByTags.ts +++ b/examples/swr/src/gen/hooks/useFindPetsByTags.ts @@ -13,13 +13,13 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function findPetsByTagsQueryOptions( params?: FindPetsByTags['queryParams'], - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -41,7 +41,7 @@ export function useFindPetsByTags - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useGetInventory.ts b/examples/swr/src/gen/hooks/useGetInventory.ts index 53d3bfd40..53f540f78 100644 --- a/examples/swr/src/gen/hooks/useGetInventory.ts +++ b/examples/swr/src/gen/hooks/useGetInventory.ts @@ -13,12 +13,12 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getInventoryQueryOptions( - options: GetInventory['client']['paramaters'] = {}, + options: GetInventory['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -37,7 +37,7 @@ export function getInventoryQueryOptions(options?: { query?: SWRConfiguration - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] shouldFetch?: boolean }): SWRResponse { const { query: queryOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useGetOrderById.ts b/examples/swr/src/gen/hooks/useGetOrderById.ts index c0bb05d6a..3125a29ce 100644 --- a/examples/swr/src/gen/hooks/useGetOrderById.ts +++ b/examples/swr/src/gen/hooks/useGetOrderById.ts @@ -13,13 +13,13 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getOrderByIdQueryOptions( orderId: GetOrderByIdPathParams['orderId'], - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -40,7 +40,7 @@ export function useGetOrderById - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useGetPetById.ts b/examples/swr/src/gen/hooks/useGetPetById.ts index 8951c6a6f..64c78f65a 100644 --- a/examples/swr/src/gen/hooks/useGetPetById.ts +++ b/examples/swr/src/gen/hooks/useGetPetById.ts @@ -13,13 +13,13 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getPetByIdQueryOptions( petId: GetPetByIdPathParams['petId'], - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -40,7 +40,7 @@ export function useGetPetById - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useGetUserByName.ts b/examples/swr/src/gen/hooks/useGetUserByName.ts index d06f4024c..0baabca49 100644 --- a/examples/swr/src/gen/hooks/useGetUserByName.ts +++ b/examples/swr/src/gen/hooks/useGetUserByName.ts @@ -13,13 +13,13 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function getUserByNameQueryOptions( username: GetUserByNamePathParams['username'], - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -39,7 +39,7 @@ export function useGetUserByName - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useLoginUser.ts b/examples/swr/src/gen/hooks/useLoginUser.ts index 2717269c4..87f6a694a 100644 --- a/examples/swr/src/gen/hooks/useLoginUser.ts +++ b/examples/swr/src/gen/hooks/useLoginUser.ts @@ -13,13 +13,13 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function loginUserQueryOptions( params?: LoginUser['queryParams'], - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -40,7 +40,7 @@ export function useLoginUser - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] shouldFetch?: boolean }, ): SWRResponse { diff --git a/examples/swr/src/gen/hooks/useLogoutUser.ts b/examples/swr/src/gen/hooks/useLogoutUser.ts index d2bea44b3..773f94c84 100644 --- a/examples/swr/src/gen/hooks/useLogoutUser.ts +++ b/examples/swr/src/gen/hooks/useLogoutUser.ts @@ -13,12 +13,12 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } export function logoutUserQueryOptions( - options: LogoutUser['client']['paramaters'] = {}, + options: LogoutUser['client']['parameters'] = {}, ): SWRConfiguration { return { fetcher: async () => { @@ -36,7 +36,7 @@ export function logoutUserQueryOptions(options?: { query?: SWRConfiguration - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] shouldFetch?: boolean }): SWRResponse { const { query: queryOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/usePlaceOrder.ts b/examples/swr/src/gen/hooks/usePlaceOrder.ts index 301df4cc5..3c3f275d8 100644 --- a/examples/swr/src/gen/hooks/usePlaceOrder.ts +++ b/examples/swr/src/gen/hooks/usePlaceOrder.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrder = { * @link /store/order */ export function usePlaceOrder(options?: { mutation?: SWRMutationConfiguration - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/usePlaceOrderPatch.ts b/examples/swr/src/gen/hooks/usePlaceOrderPatch.ts index 8cd6300c5..378842de0 100644 --- a/examples/swr/src/gen/hooks/usePlaceOrderPatch.ts +++ b/examples/swr/src/gen/hooks/usePlaceOrderPatch.ts @@ -13,7 +13,7 @@ type PlaceOrderPatch = { headerParams: never response: PlaceOrderPatchMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type PlaceOrderPatch = { * @link /store/order */ export function usePlaceOrderPatch(options?: { mutation?: SWRMutationConfiguration - client?: PlaceOrderPatch['client']['paramaters'] + client?: PlaceOrderPatch['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useUpdatePet.ts b/examples/swr/src/gen/hooks/useUpdatePet.ts index 180814e20..fde852b7d 100644 --- a/examples/swr/src/gen/hooks/useUpdatePet.ts +++ b/examples/swr/src/gen/hooks/useUpdatePet.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -23,7 +23,7 @@ type UpdatePet = { * @link /pet */ export function useUpdatePet(options?: { mutation?: SWRMutationConfiguration - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] shouldFetch?: boolean }): SWRMutationResponse { const { mutation: mutationOptions, client: clientOptions = {}, shouldFetch = true } = options ?? {} diff --git a/examples/swr/src/gen/hooks/useUpdatePetWithForm.ts b/examples/swr/src/gen/hooks/useUpdatePetWithForm.ts index 7b175750c..361b14277 100644 --- a/examples/swr/src/gen/hooks/useUpdatePetWithForm.ts +++ b/examples/swr/src/gen/hooks/useUpdatePetWithForm.ts @@ -18,7 +18,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function useUpdatePetWithForm( params?: UpdatePetWithForm['queryParams'], options?: { mutation?: SWRMutationConfiguration - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/swr/src/gen/hooks/useUpdateUser.ts b/examples/swr/src/gen/hooks/useUpdateUser.ts index beefb284c..ffe5e9329 100644 --- a/examples/swr/src/gen/hooks/useUpdateUser.ts +++ b/examples/swr/src/gen/hooks/useUpdateUser.ts @@ -13,7 +13,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function useUpdateUser( username: UpdateUserPathParams['username'], options?: { mutation?: SWRMutationConfiguration - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/swr/src/gen/hooks/useUploadFile.ts b/examples/swr/src/gen/hooks/useUploadFile.ts index e6aa6dbe1..ed4d069de 100644 --- a/examples/swr/src/gen/hooks/useUploadFile.ts +++ b/examples/swr/src/gen/hooks/useUploadFile.ts @@ -13,7 +13,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function useUploadFile( params?: UploadFile['queryParams'], options?: { mutation?: SWRMutationConfiguration - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] shouldFetch?: boolean }, ): SWRMutationResponse { diff --git a/examples/vue-query-v5/src/gen/hooks/useAddPet.ts b/examples/vue-query-v5/src/gen/hooks/useAddPet.ts index e8f9fb039..caa69d2e6 100644 --- a/examples/vue-query-v5/src/gen/hooks/useAddPet.ts +++ b/examples/vue-query-v5/src/gen/hooks/useAddPet.ts @@ -13,7 +13,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type AddPet = { export function useAddPet( options: { mutation?: UseMutationOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useCreateUser.ts b/examples/vue-query-v5/src/gen/hooks/useCreateUser.ts index d52b192aa..fe32726eb 100644 --- a/examples/vue-query-v5/src/gen/hooks/useCreateUser.ts +++ b/examples/vue-query-v5/src/gen/hooks/useCreateUser.ts @@ -13,7 +13,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type CreateUser = { export function useCreateUser( options: { mutation?: UseMutationOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useCreateUsersWithListInput.ts b/examples/vue-query-v5/src/gen/hooks/useCreateUsersWithListInput.ts index 3168903b7..5f790a80f 100644 --- a/examples/vue-query-v5/src/gen/hooks/useCreateUsersWithListInput.ts +++ b/examples/vue-query-v5/src/gen/hooks/useCreateUsersWithListInput.ts @@ -21,7 +21,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -32,7 +32,7 @@ type CreateUsersWithListInput = { export function useCreateUsersWithListInput( options: { mutation?: UseMutationOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useDeleteOrder.ts b/examples/vue-query-v5/src/gen/hooks/useDeleteOrder.ts index f6d338496..f090a6e6a 100644 --- a/examples/vue-query-v5/src/gen/hooks/useDeleteOrder.ts +++ b/examples/vue-query-v5/src/gen/hooks/useDeleteOrder.ts @@ -15,7 +15,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ export function useDeleteOrder( refOrderId: MaybeRef, options: { mutation?: UseMutationOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useDeletePet.ts b/examples/vue-query-v5/src/gen/hooks/useDeletePet.ts index e8deb433e..583375d60 100644 --- a/examples/vue-query-v5/src/gen/hooks/useDeletePet.ts +++ b/examples/vue-query-v5/src/gen/hooks/useDeletePet.ts @@ -15,7 +15,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function useDeletePet( refHeaders?: MaybeRef, options: { mutation?: UseMutationOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useDeleteUser.ts b/examples/vue-query-v5/src/gen/hooks/useDeleteUser.ts index acbfe5a58..9f4743e91 100644 --- a/examples/vue-query-v5/src/gen/hooks/useDeleteUser.ts +++ b/examples/vue-query-v5/src/gen/hooks/useDeleteUser.ts @@ -15,7 +15,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ export function useDeleteUser( refUsername: MaybeRef, options: { mutation?: UseMutationOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useFindPetsByStatus.ts b/examples/vue-query-v5/src/gen/hooks/useFindPetsByStatus.ts index a91d85c5f..4436a3210 100644 --- a/examples/vue-query-v5/src/gen/hooks/useFindPetsByStatus.ts +++ b/examples/vue-query-v5/src/gen/hooks/useFindPetsByStatus.ts @@ -15,7 +15,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( refParams?: MaybeRef, - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(refParams) return { @@ -60,7 +60,7 @@ export function useFindPetsByStatus< refParams?: MaybeRef, options: { query?: QueryObserverOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useFindPetsByTags.ts b/examples/vue-query-v5/src/gen/hooks/useFindPetsByTags.ts index 44df0041f..ad517d87b 100644 --- a/examples/vue-query-v5/src/gen/hooks/useFindPetsByTags.ts +++ b/examples/vue-query-v5/src/gen/hooks/useFindPetsByTags.ts @@ -15,7 +15,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( refParams?: MaybeRef, - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(refParams) return { @@ -59,7 +59,7 @@ export function useFindPetsByTags< refParams?: MaybeRef, options: { query?: QueryObserverOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useGetInventory.ts b/examples/vue-query-v5/src/gen/hooks/useGetInventory.ts index b55c04b47..d5872e9ad 100644 --- a/examples/vue-query-v5/src/gen/hooks/useGetInventory.ts +++ b/examples/vue-query-v5/src/gen/hooks/useGetInventory.ts @@ -13,7 +13,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -51,7 +51,7 @@ export function useGetInventory< >( options: { query?: QueryObserverOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useGetOrderById.ts b/examples/vue-query-v5/src/gen/hooks/useGetOrderById.ts index f2bf7ed16..dc4e07a2e 100644 --- a/examples/vue-query-v5/src/gen/hooks/useGetOrderById.ts +++ b/examples/vue-query-v5/src/gen/hooks/useGetOrderById.ts @@ -15,7 +15,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( refOrderId: MaybeRef, - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(refOrderId) return { @@ -59,7 +59,7 @@ export function useGetOrderById< refOrderId: GetOrderByIdPathParams['orderId'], options: { query?: QueryObserverOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useGetPetById.ts b/examples/vue-query-v5/src/gen/hooks/useGetPetById.ts index efca1451b..1b42f1e30 100644 --- a/examples/vue-query-v5/src/gen/hooks/useGetPetById.ts +++ b/examples/vue-query-v5/src/gen/hooks/useGetPetById.ts @@ -15,7 +15,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( refPetId: MaybeRef, - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(refPetId) return { @@ -58,7 +58,7 @@ export function useGetPetById< refPetId: GetPetByIdPathParams['petId'], options: { query?: QueryObserverOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useGetUserByName.ts b/examples/vue-query-v5/src/gen/hooks/useGetUserByName.ts index 66840f704..40df6fac0 100644 --- a/examples/vue-query-v5/src/gen/hooks/useGetUserByName.ts +++ b/examples/vue-query-v5/src/gen/hooks/useGetUserByName.ts @@ -15,7 +15,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( refUsername: MaybeRef, - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(refUsername) return { @@ -58,7 +58,7 @@ export function useGetUserByName< refUsername: GetUserByNamePathParams['username'], options: { query?: QueryObserverOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useLoginUser.ts b/examples/vue-query-v5/src/gen/hooks/useLoginUser.ts index 618fabda1..994153385 100644 --- a/examples/vue-query-v5/src/gen/hooks/useLoginUser.ts +++ b/examples/vue-query-v5/src/gen/hooks/useLoginUser.ts @@ -15,7 +15,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( refParams?: MaybeRef, - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(refParams) return { @@ -58,7 +58,7 @@ export function useLoginUser< refParams?: MaybeRef, options: { query?: QueryObserverOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/useLogoutUser.ts b/examples/vue-query-v5/src/gen/hooks/useLogoutUser.ts index 2fc4a5459..08427c505 100644 --- a/examples/vue-query-v5/src/gen/hooks/useLogoutUser.ts +++ b/examples/vue-query-v5/src/gen/hooks/useLogoutUser.ts @@ -13,7 +13,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -50,7 +50,7 @@ export function useLogoutUser< >( options: { query?: QueryObserverOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query-v5/src/gen/hooks/usePlaceOrder.ts b/examples/vue-query-v5/src/gen/hooks/usePlaceOrder.ts index eb0e9ca78..fae0033fb 100644 --- a/examples/vue-query-v5/src/gen/hooks/usePlaceOrder.ts +++ b/examples/vue-query-v5/src/gen/hooks/usePlaceOrder.ts @@ -13,7 +13,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type PlaceOrder = { export function usePlaceOrder( options: { mutation?: UseMutationOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useUpdatePet.ts b/examples/vue-query-v5/src/gen/hooks/useUpdatePet.ts index e9b32b6b5..d22352c1b 100644 --- a/examples/vue-query-v5/src/gen/hooks/useUpdatePet.ts +++ b/examples/vue-query-v5/src/gen/hooks/useUpdatePet.ts @@ -13,7 +13,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -24,7 +24,7 @@ type UpdatePet = { export function useUpdatePet( options: { mutation?: UseMutationOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useUpdatePetWithForm.ts b/examples/vue-query-v5/src/gen/hooks/useUpdatePetWithForm.ts index 5548a3fbe..0d115a2d2 100644 --- a/examples/vue-query-v5/src/gen/hooks/useUpdatePetWithForm.ts +++ b/examples/vue-query-v5/src/gen/hooks/useUpdatePetWithForm.ts @@ -20,7 +20,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -32,7 +32,7 @@ export function useUpdatePetWithForm( refParams?: MaybeRef, options: { mutation?: UseMutationOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useUpdateUser.ts b/examples/vue-query-v5/src/gen/hooks/useUpdateUser.ts index df32e13bf..201c5d527 100644 --- a/examples/vue-query-v5/src/gen/hooks/useUpdateUser.ts +++ b/examples/vue-query-v5/src/gen/hooks/useUpdateUser.ts @@ -15,7 +15,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ export function useUpdateUser( refUsername: MaybeRef, options: { mutation?: UseMutationOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query-v5/src/gen/hooks/useUploadFile.ts b/examples/vue-query-v5/src/gen/hooks/useUploadFile.ts index 8fb2ebcf0..28fd44429 100644 --- a/examples/vue-query-v5/src/gen/hooks/useUploadFile.ts +++ b/examples/vue-query-v5/src/gen/hooks/useUploadFile.ts @@ -15,7 +15,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -27,7 +27,7 @@ export function useUploadFile( refParams?: MaybeRef, options: { mutation?: UseMutationOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useAddPet.ts b/examples/vue-query/src/gen/hooks/useAddPet.ts index 94c9cf3ce..15a300ef3 100644 --- a/examples/vue-query/src/gen/hooks/useAddPet.ts +++ b/examples/vue-query/src/gen/hooks/useAddPet.ts @@ -14,7 +14,7 @@ type AddPet = { headerParams: never response: AddPetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ type AddPet = { export function useAddPet( options: { mutation?: VueMutationObserverOptions - client?: AddPet['client']['paramaters'] + client?: AddPet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useCreateUser.ts b/examples/vue-query/src/gen/hooks/useCreateUser.ts index 775daa909..6a13abb75 100644 --- a/examples/vue-query/src/gen/hooks/useCreateUser.ts +++ b/examples/vue-query/src/gen/hooks/useCreateUser.ts @@ -14,7 +14,7 @@ type CreateUser = { headerParams: never response: CreateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ type CreateUser = { export function useCreateUser( options: { mutation?: VueMutationObserverOptions - client?: CreateUser['client']['paramaters'] + client?: CreateUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useCreateUsersWithListInput.ts b/examples/vue-query/src/gen/hooks/useCreateUsersWithListInput.ts index 8a4ddcbf0..529a376de 100644 --- a/examples/vue-query/src/gen/hooks/useCreateUsersWithListInput.ts +++ b/examples/vue-query/src/gen/hooks/useCreateUsersWithListInput.ts @@ -22,7 +22,7 @@ type CreateUsersWithListInput = { headerParams: never response: CreateUsersWithListInputMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ type CreateUsersWithListInput = { export function useCreateUsersWithListInput( options: { mutation?: VueMutationObserverOptions - client?: CreateUsersWithListInput['client']['paramaters'] + client?: CreateUsersWithListInput['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useDeleteOrder.ts b/examples/vue-query/src/gen/hooks/useDeleteOrder.ts index 83fdc193d..0d266c344 100644 --- a/examples/vue-query/src/gen/hooks/useDeleteOrder.ts +++ b/examples/vue-query/src/gen/hooks/useDeleteOrder.ts @@ -16,7 +16,7 @@ type DeleteOrder = { headerParams: never response: DeleteOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function useDeleteOrder( refOrderId: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: DeleteOrder['client']['paramaters'] + client?: DeleteOrder['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useDeletePet.ts b/examples/vue-query/src/gen/hooks/useDeletePet.ts index 92f670a9f..c25c1400b 100644 --- a/examples/vue-query/src/gen/hooks/useDeletePet.ts +++ b/examples/vue-query/src/gen/hooks/useDeletePet.ts @@ -16,7 +16,7 @@ type DeletePet = { headerParams: DeletePetHeaderParams response: DeletePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function useDeletePet( refHeaders?: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: DeletePet['client']['paramaters'] + client?: DeletePet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useDeleteUser.ts b/examples/vue-query/src/gen/hooks/useDeleteUser.ts index 8f5dc99b6..40a31cc09 100644 --- a/examples/vue-query/src/gen/hooks/useDeleteUser.ts +++ b/examples/vue-query/src/gen/hooks/useDeleteUser.ts @@ -16,7 +16,7 @@ type DeleteUser = { headerParams: never response: DeleteUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function useDeleteUser( refUsername: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: DeleteUser['client']['paramaters'] + client?: DeleteUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useFindPetsByStatus.ts b/examples/vue-query/src/gen/hooks/useFindPetsByStatus.ts index 1cfeea808..1e4920f3b 100644 --- a/examples/vue-query/src/gen/hooks/useFindPetsByStatus.ts +++ b/examples/vue-query/src/gen/hooks/useFindPetsByStatus.ts @@ -16,7 +16,7 @@ type FindPetsByStatus = { headerParams: never response: FindPetsByStatusQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function findPetsByStatusQueryOptions< TQueryData = FindPetsByStatus['response'], >( refParams?: MaybeRef, - options: FindPetsByStatus['client']['paramaters'] = {}, + options: FindPetsByStatus['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByStatusQueryKey(refParams) return { @@ -61,7 +61,7 @@ export function useFindPetsByStatus< refParams?: MaybeRef, options: { query?: VueQueryObserverOptions - client?: FindPetsByStatus['client']['paramaters'] + client?: FindPetsByStatus['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useFindPetsByTags.ts b/examples/vue-query/src/gen/hooks/useFindPetsByTags.ts index 2bb94cc3e..c5fbbca3a 100644 --- a/examples/vue-query/src/gen/hooks/useFindPetsByTags.ts +++ b/examples/vue-query/src/gen/hooks/useFindPetsByTags.ts @@ -16,7 +16,7 @@ type FindPetsByTags = { headerParams: never response: FindPetsByTagsQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function findPetsByTagsQueryOptions< TQueryData = FindPetsByTags['response'], >( refParams?: MaybeRef, - options: FindPetsByTags['client']['paramaters'] = {}, + options: FindPetsByTags['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = findPetsByTagsQueryKey(refParams) return { @@ -60,7 +60,7 @@ export function useFindPetsByTags< refParams?: MaybeRef, options: { query?: VueQueryObserverOptions - client?: FindPetsByTags['client']['paramaters'] + client?: FindPetsByTags['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useGetInventory.ts b/examples/vue-query/src/gen/hooks/useGetInventory.ts index bd9d663f9..ce408533b 100644 --- a/examples/vue-query/src/gen/hooks/useGetInventory.ts +++ b/examples/vue-query/src/gen/hooks/useGetInventory.ts @@ -14,7 +14,7 @@ type GetInventory = { headerParams: never response: GetInventoryQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function getInventoryQueryOptions< TError = GetInventory['error'], TData = GetInventory['response'], TQueryData = GetInventory['response'], ->(options: GetInventory['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: GetInventory['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = getInventoryQueryKey() return { queryKey, @@ -52,7 +52,7 @@ export function useGetInventory< >( options: { query?: VueQueryObserverOptions - client?: GetInventory['client']['paramaters'] + client?: GetInventory['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useGetOrderById.ts b/examples/vue-query/src/gen/hooks/useGetOrderById.ts index 2c7341683..55438e3b1 100644 --- a/examples/vue-query/src/gen/hooks/useGetOrderById.ts +++ b/examples/vue-query/src/gen/hooks/useGetOrderById.ts @@ -16,7 +16,7 @@ type GetOrderById = { headerParams: never response: GetOrderByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function getOrderByIdQueryOptions< TQueryData = GetOrderById['response'], >( refOrderId: MaybeRef, - options: GetOrderById['client']['paramaters'] = {}, + options: GetOrderById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getOrderByIdQueryKey(refOrderId) return { @@ -60,7 +60,7 @@ export function useGetOrderById< refOrderId: GetOrderByIdPathParams['orderId'], options: { query?: VueQueryObserverOptions - client?: GetOrderById['client']['paramaters'] + client?: GetOrderById['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useGetPetById.ts b/examples/vue-query/src/gen/hooks/useGetPetById.ts index be5ce2b7a..b7a749b81 100644 --- a/examples/vue-query/src/gen/hooks/useGetPetById.ts +++ b/examples/vue-query/src/gen/hooks/useGetPetById.ts @@ -16,7 +16,7 @@ type GetPetById = { headerParams: never response: GetPetByIdQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function getPetByIdQueryOptions< TQueryData = GetPetById['response'], >( refPetId: MaybeRef, - options: GetPetById['client']['paramaters'] = {}, + options: GetPetById['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getPetByIdQueryKey(refPetId) return { @@ -59,7 +59,7 @@ export function useGetPetById< refPetId: GetPetByIdPathParams['petId'], options: { query?: VueQueryObserverOptions - client?: GetPetById['client']['paramaters'] + client?: GetPetById['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useGetUserByName.ts b/examples/vue-query/src/gen/hooks/useGetUserByName.ts index e96f2f2a2..a73031ae0 100644 --- a/examples/vue-query/src/gen/hooks/useGetUserByName.ts +++ b/examples/vue-query/src/gen/hooks/useGetUserByName.ts @@ -16,7 +16,7 @@ type GetUserByName = { headerParams: never response: GetUserByNameQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -30,7 +30,7 @@ export function getUserByNameQueryOptions< TQueryData = GetUserByName['response'], >( refUsername: MaybeRef, - options: GetUserByName['client']['paramaters'] = {}, + options: GetUserByName['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = getUserByNameQueryKey(refUsername) return { @@ -59,7 +59,7 @@ export function useGetUserByName< refUsername: GetUserByNamePathParams['username'], options: { query?: VueQueryObserverOptions - client?: GetUserByName['client']['paramaters'] + client?: GetUserByName['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useLoginUser.ts b/examples/vue-query/src/gen/hooks/useLoginUser.ts index e6da7ef43..a0812e263 100644 --- a/examples/vue-query/src/gen/hooks/useLoginUser.ts +++ b/examples/vue-query/src/gen/hooks/useLoginUser.ts @@ -16,7 +16,7 @@ type LoginUser = { headerParams: never response: LoginUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -29,7 +29,7 @@ export function loginUserQueryOptions< TQueryData = LoginUser['response'], >( refParams?: MaybeRef, - options: LoginUser['client']['paramaters'] = {}, + options: LoginUser['client']['parameters'] = {}, ): WithRequired, 'queryKey'> { const queryKey = loginUserQueryKey(refParams) return { @@ -59,7 +59,7 @@ export function useLoginUser< refParams?: MaybeRef, options: { query?: VueQueryObserverOptions - client?: LoginUser['client']['paramaters'] + client?: LoginUser['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/useLogoutUser.ts b/examples/vue-query/src/gen/hooks/useLogoutUser.ts index c5af20f36..30409036d 100644 --- a/examples/vue-query/src/gen/hooks/useLogoutUser.ts +++ b/examples/vue-query/src/gen/hooks/useLogoutUser.ts @@ -14,7 +14,7 @@ type LogoutUser = { headerParams: never response: LogoutUserQueryResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ export function logoutUserQueryOptions< TError = LogoutUser['error'], TData = LogoutUser['response'], TQueryData = LogoutUser['response'], ->(options: LogoutUser['client']['paramaters'] = {}): WithRequired, 'queryKey'> { +>(options: LogoutUser['client']['parameters'] = {}): WithRequired, 'queryKey'> { const queryKey = logoutUserQueryKey() return { queryKey, @@ -51,7 +51,7 @@ export function useLogoutUser< >( options: { query?: VueQueryObserverOptions - client?: LogoutUser['client']['paramaters'] + client?: LogoutUser['client']['parameters'] } = {}, ): UseQueryReturnType & { queryKey: TQueryKey diff --git a/examples/vue-query/src/gen/hooks/usePlaceOrder.ts b/examples/vue-query/src/gen/hooks/usePlaceOrder.ts index d9f50d3f4..b7fda737e 100644 --- a/examples/vue-query/src/gen/hooks/usePlaceOrder.ts +++ b/examples/vue-query/src/gen/hooks/usePlaceOrder.ts @@ -14,7 +14,7 @@ type PlaceOrder = { headerParams: never response: PlaceOrderMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ type PlaceOrder = { export function usePlaceOrder( options: { mutation?: VueMutationObserverOptions - client?: PlaceOrder['client']['paramaters'] + client?: PlaceOrder['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useUpdatePet.ts b/examples/vue-query/src/gen/hooks/useUpdatePet.ts index 767f04996..ecd99fa56 100644 --- a/examples/vue-query/src/gen/hooks/useUpdatePet.ts +++ b/examples/vue-query/src/gen/hooks/useUpdatePet.ts @@ -14,7 +14,7 @@ type UpdatePet = { headerParams: never response: UpdatePetMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -25,7 +25,7 @@ type UpdatePet = { export function useUpdatePet( options: { mutation?: VueMutationObserverOptions - client?: UpdatePet['client']['paramaters'] + client?: UpdatePet['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useUpdatePetWithForm.ts b/examples/vue-query/src/gen/hooks/useUpdatePetWithForm.ts index a6e2cfef3..63f11c3dd 100644 --- a/examples/vue-query/src/gen/hooks/useUpdatePetWithForm.ts +++ b/examples/vue-query/src/gen/hooks/useUpdatePetWithForm.ts @@ -21,7 +21,7 @@ type UpdatePetWithForm = { headerParams: never response: UpdatePetWithFormMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -33,7 +33,7 @@ export function useUpdatePetWithForm( refParams?: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: UpdatePetWithForm['client']['paramaters'] + client?: UpdatePetWithForm['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useUpdateUser.ts b/examples/vue-query/src/gen/hooks/useUpdateUser.ts index 14845db75..c70959281 100644 --- a/examples/vue-query/src/gen/hooks/useUpdateUser.ts +++ b/examples/vue-query/src/gen/hooks/useUpdateUser.ts @@ -16,7 +16,7 @@ type UpdateUser = { headerParams: never response: UpdateUserMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function useUpdateUser( refUsername: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: UpdateUser['client']['paramaters'] + client?: UpdateUser['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/examples/vue-query/src/gen/hooks/useUploadFile.ts b/examples/vue-query/src/gen/hooks/useUploadFile.ts index 51e61688e..aedbfbae7 100644 --- a/examples/vue-query/src/gen/hooks/useUploadFile.ts +++ b/examples/vue-query/src/gen/hooks/useUploadFile.ts @@ -16,7 +16,7 @@ type UploadFile = { headerParams: never response: UploadFileMutationResponse client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } @@ -28,7 +28,7 @@ export function useUploadFile( refParams?: MaybeRef, options: { mutation?: VueMutationObserverOptions - client?: UploadFile['client']['paramaters'] + client?: UploadFile['client']['parameters'] } = {}, ): UseMutationReturnType { const { mutation: mutationOptions, client: clientOptions = {} } = options ?? {} diff --git a/packages/swagger-client/src/types.ts b/packages/swagger-client/src/types.ts index 50649ebd5..96342e5dd 100644 --- a/packages/swagger-client/src/types.ts +++ b/packages/swagger-client/src/types.ts @@ -51,15 +51,15 @@ export type Options = { exportAs?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> client?: { diff --git a/packages/swagger-faker/src/types.ts b/packages/swagger-faker/src/types.ts index b161dbf8c..6c391c835 100644 --- a/packages/swagger-faker/src/types.ts +++ b/packages/swagger-faker/src/types.ts @@ -49,15 +49,15 @@ export type Options = { exportAs?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> /** diff --git a/packages/swagger-msw/src/types.ts b/packages/swagger-msw/src/types.ts index c90554d47..6e5ef1608 100644 --- a/packages/swagger-msw/src/types.ts +++ b/packages/swagger-msw/src/types.ts @@ -52,15 +52,15 @@ export type Options = { exportAs?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> transformers?: { diff --git a/packages/swagger-swr/src/components/Mutation.tsx b/packages/swagger-swr/src/components/Mutation.tsx index d162f2497..bc65e88a0 100644 --- a/packages/swagger-swr/src/components/Mutation.tsx +++ b/packages/swagger-swr/src/components/Mutation.tsx @@ -172,7 +172,7 @@ export function Mutation({ required: false, type: `{ mutation?: SWRMutationConfiguration<${resultGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'], + client?: ${factory.name}['client']['parameters'], shouldFetch?: boolean, }`, default: '{}', diff --git a/packages/swagger-swr/src/components/Query.tsx b/packages/swagger-swr/src/components/Query.tsx index fcb84188e..e13f57fd2 100644 --- a/packages/swagger-swr/src/components/Query.tsx +++ b/packages/swagger-swr/src/components/Query.tsx @@ -170,7 +170,7 @@ export function Query({ required: false, type: `{ query?: SWRConfiguration<${resultGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'], + client?: ${factory.name}['client']['parameters'], shouldFetch?: boolean, }`, default: '{}', diff --git a/packages/swagger-swr/src/components/QueryOptions.tsx b/packages/swagger-swr/src/components/QueryOptions.tsx index 73fe5acae..8419498f4 100644 --- a/packages/swagger-swr/src/components/QueryOptions.tsx +++ b/packages/swagger-swr/src/components/QueryOptions.tsx @@ -130,7 +130,7 @@ export function QueryOptions({ factory, dataReturnType, Template = defaultTempla }, { name: 'options', - type: `${factory.name}['client']['paramaters']`, + type: `${factory.name}['client']['parameters']`, default: '{}', }, ]) diff --git a/packages/swagger-swr/src/components/SchemaType.tsx b/packages/swagger-swr/src/components/SchemaType.tsx index fecc5b0c9..8297d0abb 100644 --- a/packages/swagger-swr/src/components/SchemaType.tsx +++ b/packages/swagger-swr/src/components/SchemaType.tsx @@ -47,7 +47,7 @@ export function SchemaType({ factory }: Props): ReactNode { : `Awaited>` } client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } diff --git a/packages/swagger-swr/src/types.ts b/packages/swagger-swr/src/types.ts index 8ad206dc3..88171874c 100644 --- a/packages/swagger-swr/src/types.ts +++ b/packages/swagger-swr/src/types.ts @@ -54,15 +54,15 @@ export type Options = { exportAs?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> client?: { diff --git a/packages/swagger-tanstack-query/src/components/Mutation.tsx b/packages/swagger-tanstack-query/src/components/Mutation.tsx index 9a30fc12c..e1b62178e 100644 --- a/packages/swagger-tanstack-query/src/components/Mutation.tsx +++ b/packages/swagger-tanstack-query/src/components/Mutation.tsx @@ -177,7 +177,7 @@ const defaultTemplates = { name: 'options', type: `{ mutation?: ${optionsType}<${resultGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'] + client?: ${factory.name}['client']['parameters'] }`, default: '{}', }, @@ -290,7 +290,7 @@ export function Mutation({ name: 'options', type: `{ mutation?: ${optionsType}<${resultGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'] + client?: ${factory.name}['client']['parameters'] }`, default: '{}', }, diff --git a/packages/swagger-tanstack-query/src/components/Query.tsx b/packages/swagger-tanstack-query/src/components/Query.tsx index 881cafba8..80204caa4 100644 --- a/packages/swagger-tanstack-query/src/components/Query.tsx +++ b/packages/swagger-tanstack-query/src/components/Query.tsx @@ -175,7 +175,7 @@ const defaultTemplates = { name: 'options', type: `{ query?: ${optionsType}<${queryOptionsOverrideGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'] + client?: ${factory.name}['client']['parameters'] }`, default: '{}', }, @@ -327,7 +327,7 @@ export function Query({ name: 'options', type: `{ query?: ${optionsType}<${queryOptionsOverrideGenerics.join(', ')}>, - client?: ${factory.name}['client']['paramaters'] + client?: ${factory.name}['client']['parameters'] }`, default: '{}', }, diff --git a/packages/swagger-tanstack-query/src/components/QueryOptions.tsx b/packages/swagger-tanstack-query/src/components/QueryOptions.tsx index 73c803164..bb93dd69b 100644 --- a/packages/swagger-tanstack-query/src/components/QueryOptions.tsx +++ b/packages/swagger-tanstack-query/src/components/QueryOptions.tsx @@ -208,7 +208,7 @@ const defaultTemplates = { }, { name: 'options', - type: `${factory.name}['client']['paramaters']`, + type: `${factory.name}['client']['parameters']`, default: '{}', }, ]) @@ -302,7 +302,7 @@ export function QueryOptions({ factory, infinite, suspense, resultType, dataRetu }, { name: 'options', - type: `${factory.name}['client']['paramaters']`, + type: `${factory.name}['client']['parameters']`, default: '{}', }, ]) diff --git a/packages/swagger-tanstack-query/src/components/SchemaType.tsx b/packages/swagger-tanstack-query/src/components/SchemaType.tsx index fecc5b0c9..8297d0abb 100644 --- a/packages/swagger-tanstack-query/src/components/SchemaType.tsx +++ b/packages/swagger-tanstack-query/src/components/SchemaType.tsx @@ -47,7 +47,7 @@ export function SchemaType({ factory }: Props): ReactNode { : `Awaited>` } client: { - paramaters: Partial[0]> + parameters: Partial[0]> return: Awaited> } } diff --git a/packages/swagger-tanstack-query/src/types.ts b/packages/swagger-tanstack-query/src/types.ts index 5fcf9f76d..b84b27180 100644 --- a/packages/swagger-tanstack-query/src/types.ts +++ b/packages/swagger-tanstack-query/src/types.ts @@ -103,15 +103,15 @@ export type Options = { */ dataReturnType?: 'data' | 'full' /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> /** diff --git a/packages/swagger-ts/src/types.ts b/packages/swagger-ts/src/types.ts index 355cef761..38fef8a84 100644 --- a/packages/swagger-ts/src/types.ts +++ b/packages/swagger-ts/src/types.ts @@ -41,15 +41,15 @@ export type Options = { output?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> /** diff --git a/packages/swagger-zod/src/types.ts b/packages/swagger-zod/src/types.ts index fa2c6ec08..ec759e327 100644 --- a/packages/swagger-zod/src/types.ts +++ b/packages/swagger-zod/src/types.ts @@ -46,15 +46,15 @@ export type Options = { exportAs?: string } /** - * Array containing exclude paramaters to exclude/skip tags/operations/methods/paths. + * Array containing exclude parameters to exclude/skip tags/operations/methods/paths. */ exclude?: Array /** - * Array containing include paramaters to include tags/operations/methods/paths. + * Array containing include parameters to include tags/operations/methods/paths. */ include?: Array /** - * Array containing override paramaters to override `options` based on tags/operations/methods/paths. + * Array containing override parameters to override `options` based on tags/operations/methods/paths. */ override?: Array> transformers?: {