fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: update snapshots and examples with Array.isArray fix

Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>

+252 -252
+1 -1
examples/openapi-ts-angular-common/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-angular/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-axios/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-fastify/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-fetch/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-ky/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-next/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-ofetch/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-openai/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-pinia-colada/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-tanstack-angular-query-experimental/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-tanstack-react-query/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-tanstack-svelte-query/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
examples/openapi-ts-tanstack-vue-query/src/client/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/__snapshots__/plugins/@tanstack/meta/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/body-response-text-plain/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/form-data/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@angular/common/default-class/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@angular/common/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/throwOnError/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/transformers/type-format-valibot/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/transformers/type-format-zod/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/typescript/transforms-read-write-ignore/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@pinia/colada/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@pinia/colada/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/schema-unknown/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-api-key/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-basic/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-oauth2/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers-base-path/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers-host/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/transforms-read-write/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/body-binary-format/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/body-response-text-plain/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/content-types/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/internal-name-conflict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/parameter-explode-false-axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/parameter-explode-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@angular/common/default-class/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@angular/common/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/throwOnError/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/transformers/type-format-valibot/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/transformers/type-format-zod/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/typescript/transforms-read-write-ignore/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@pinia/colada/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@pinia/colada/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-api-key/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-http-bearer/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-oauth2/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-open-id-connect/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/servers/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-all-of/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-allof-response-wrapper/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-any-of-null/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-array/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-recursive/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transforms-read-write/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/body-response-text-plain/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-number/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-strict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-string/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/clean-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/import-file-extension-ts/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/sdk-client-optional/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/sdk-client-required/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/tsconfig-node16-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/tsconfig-nodenext-sdk/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/content-types/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/headers/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/internal-name-conflict/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/pagination-ref/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/parameter-explode-false-axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/parameter-explode-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@angular/common/default-class/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@angular/common/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/client-fetch/sdk-nested-classes/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/default/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/throwOnError/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/transformers/type-format-valibot/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/transformers/type-format-zod/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/typescript/transforms-read-write-ignore/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@pinia/colada/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@pinia/colada/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/asClass/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/name-builder/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-api-key/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-false/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-http-bearer/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-oauth2/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-open-id-connect/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/servers/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-angular/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-axios/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-fetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-next/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-nuxt/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-ofetch/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-all-of/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-allof-response-wrapper/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-any-of-null/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-array/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-one-of-discriminated/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-recursive/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transforms-read-write/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/class/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/flat/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/instance/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/export-all/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/flat/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }
+1 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/grouped/core/params.gen.ts
··· 96 96 97 97 const stripEmptySlots = (params: Params) => { 98 98 for (const [slot, value] of Object.entries(params)) { 99 - if (value && typeof value === 'object' && !Object.keys(value).length) { 99 + if (value && typeof value === 'object' && !Array.isArray(value) && !Object.keys(value).length) { 100 100 delete params[slot as Slot]; 101 101 } 102 102 }