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.

Merge pull request #3491 from hey-api/copilot/fix-client-build-url-defaults

fix: `client.buildUrl` includes `baseUrl` from client config by default

authored by

Lubos and committed by
GitHub
d2c37051 12ddb0d8

+924 -263
+5
.changeset/khaki-eyes-drop.md
··· 1 + --- 2 + "@hey-api/openapi-ts": minor 3 + --- 4 + 5 + **BREAKING** **client**: `buildUrl()` function includes `baseUrl` from config by default
+3 -1
examples/openapi-ts-angular-common/src/client/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-angular/src/client/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+4 -1
examples/openapi-ts-axios/src/client/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-fastify/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-fetch/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-ky/src/client/client/client.gen.ts
··· 296 296 }); 297 297 }; 298 298 299 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 300 + 299 301 return { 300 - buildUrl, 302 + buildUrl: _buildUrl, 301 303 connect: makeMethodFn('CONNECT'), 302 304 delete: makeMethodFn('DELETE'), 303 305 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-next/src/client/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-ofetch/src/client/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-openai/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-pinia-colada/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-tanstack-angular-query-experimental/src/client/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-tanstack-react-query/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-tanstack-svelte-query/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
examples/openapi-ts-tanstack-vue-query/src/client/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/__snapshots__/plugins/@tanstack/meta/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/body-response-text-plain/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/form-data/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@angular/common/default-class/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@angular/common/default/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/default/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/sdk/throwOnError/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/transformers/type-format-valibot/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/transformers/type-format-zod/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@hey-api/typescript/transforms-read-write-ignore/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@pinia/colada/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@pinia/colada/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/angular-query-experimental/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/react-query/useMutation/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/solid-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/svelte-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/plugins/@tanstack/vue-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/schema-unknown/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-api-key/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-basic/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/security-oauth2/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers-base-path/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers-host/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/servers/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/2.0.x/transforms-read-write/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/body-binary-format/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/body-response-text-plain/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/content-types/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/internal-name-conflict/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/parameter-explode-false-axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/parameter-explode-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@angular/common/default-class/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@angular/common/default/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/client-fetch/sdk-nested-classes/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/default/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/sdk/throwOnError/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/transformers/type-format-valibot/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/transformers/type-format-zod/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@hey-api/typescript/transforms-read-write-ignore/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@pinia/colada/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@pinia/colada/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/angular-query-experimental/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/react-query/useMutation/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/solid-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/svelte-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/plugins/@tanstack/vue-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-api-key/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-http-bearer/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-oauth2/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/security-open-id-connect/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/servers/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-all-of/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-allof-response-wrapper/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-any-of-null/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-array/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-recursive/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transforms-read-write/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/body-response-text-plain/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-false/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-number/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-strict/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/base-url-string/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/clean-false/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/default/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/import-file-extension-ts/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/sdk-client-optional/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/sdk-client-required/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/tsconfig-node16-sdk/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/tsconfig-nodenext-sdk/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-false/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-number/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-strict/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/base-url-string/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/clean-false/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/default/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/import-file-extension-ts/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/sdk-client-optional/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/sdk-client-required/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/tsconfig-node16-sdk/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/tsconfig-nodenext-sdk/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-number/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-strict/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/base-url-string/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/clean-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/default/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/import-file-extension-ts/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/sdk-client-optional/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/sdk-client-required/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/tsconfig-node16-sdk/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/tsconfig-nodenext-sdk/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-false/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-number/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-strict/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/base-url-string/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/clean-false/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/default/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/import-file-extension-ts/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/sdk-client-optional/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/sdk-client-required/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/tsconfig-node16-sdk/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/tsconfig-nodenext-sdk/client/client.gen.ts
··· 290 290 }); 291 291 }; 292 292 293 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 294 + 293 295 return { 294 - buildUrl, 296 + buildUrl: _buildUrl, 295 297 connect: makeMethodFn('CONNECT'), 296 298 delete: makeMethodFn('DELETE'), 297 299 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-false/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-number/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-strict/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/base-url-string/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/clean-false/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/default/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/import-file-extension-ts/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/sdk-client-optional/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/sdk-client-required/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/tsconfig-node16-sdk/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/tsconfig-nodenext-sdk/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-false/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-number/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-strict/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/base-url-string/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/clean-false/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/default/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/import-file-extension-ts/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/sdk-client-optional/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/sdk-client-required/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/tsconfig-node16-sdk/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/tsconfig-nodenext-sdk/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-false/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-number/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-strict/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/base-url-string/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/clean-false/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/default/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/import-file-extension-ts/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/sdk-client-optional/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/sdk-client-required/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/tsconfig-node16-sdk/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/tsconfig-nodenext-sdk/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/content-types/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/headers/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/internal-name-conflict/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/pagination-ref/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/parameter-explode-false-axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/parameter-explode-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@angular/common/default-class/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@angular/common/default/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/client-fetch/sdk-nested-classes-instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/client-fetch/sdk-nested-classes/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/default/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/sdk/throwOnError/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/transformers/type-format-valibot/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/transformers/type-format-zod/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/typescript/transforms-read-write-custom-name/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@hey-api/typescript/transforms-read-write-ignore/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@pinia/colada/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@pinia/colada/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/angular-query-experimental/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/react-query/useMutation/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/solid-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/svelte-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/asClass/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/plugins/@tanstack/vue-query/name-builder/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-api-key/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-false/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-http-bearer/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-oauth2/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/security-open-id-connect/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/servers/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-angular/client/client.gen.ts
··· 199 199 }); 200 200 }; 201 201 202 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 203 + 202 204 return { 203 - buildUrl, 205 + buildUrl: _buildUrl, 204 206 connect: makeMethodFn('CONNECT'), 205 207 delete: makeMethodFn('DELETE'), 206 208 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-axios/client/client.gen.ts
··· 126 126 }); 127 127 }; 128 128 129 + const _buildUrl: Client['buildUrl'] = (options) => 130 + buildUrl({ axios: instance, ..._config, ...options }); 131 + 129 132 return { 130 - buildUrl, 133 + buildUrl: _buildUrl, 131 134 connect: makeMethodFn('CONNECT'), 132 135 delete: makeMethodFn('DELETE'), 133 136 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-fetch/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-next/client/client.gen.ts
··· 225 225 }); 226 226 }; 227 227 228 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 229 + 228 230 return { 229 - buildUrl, 231 + buildUrl: _buildUrl, 230 232 connect: makeMethodFn('CONNECT'), 231 233 delete: makeMethodFn('DELETE'), 232 234 get: makeMethodFn('GET'),
+4 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-nuxt/client/client.gen.ts
··· 186 186 }); 187 187 }; 188 188 189 + const _buildUrl: Client['buildUrl'] = (options) => 190 + buildUrl({ ..._config, ...options } as typeof options); 191 + 189 192 return { 190 - buildUrl, 193 + buildUrl: _buildUrl, 191 194 connect: makeMethodFn('CONNECT'), 192 195 delete: makeMethodFn('DELETE'), 193 196 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-ofetch/client/client.gen.ts
··· 231 231 }); 232 232 }; 233 233 234 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 235 + 234 236 return { 235 - buildUrl, 237 + buildUrl: _buildUrl, 236 238 connect: makeMethodFn('CONNECT'), 237 239 delete: makeMethodFn('DELETE'), 238 240 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/sse-tanstack-react-query/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-all-of/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-allof-response-wrapper/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-any-of-null/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-array/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-one-of-discriminated/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-recursive/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transforms-read-write/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/class/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/flat/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/instance/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/export-all/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/flat/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+3 -1
packages/openapi-ts-tests/sdks/__snapshots__/opencode/grouped/client/client.gen.ts
··· 258 258 }); 259 259 }; 260 260 261 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 262 + 261 263 return { 262 - buildUrl, 264 + buildUrl: _buildUrl, 263 265 connect: makeMethodFn('CONNECT'), 264 266 delete: makeMethodFn('DELETE'), 265 267 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-angular/__tests__/client.test.ts
··· 68 68 it.each(scenarios)('returns $url', ({ options, url }) => { 69 69 expect(client.buildUrl(options)).toBe(url); 70 70 }); 71 + 72 + it('uses baseUrl from client config by default', () => { 73 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 74 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 75 + }); 76 + 77 + it('allows overriding baseUrl from client config', () => { 78 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 79 + expect(clientWithBase.buildUrl({ baseUrl: 'https://other.com', url: '/foo' })).toBe( 80 + 'https://other.com/foo', 81 + ); 82 + }); 71 83 }); 72 84 73 85 describe('unserialized request body handling', () => {
+3 -1
packages/openapi-ts/src/plugins/@hey-api/client-angular/bundle/client.ts
··· 197 197 }); 198 198 }; 199 199 200 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 201 + 200 202 return { 201 - buildUrl, 203 + buildUrl: _buildUrl, 202 204 connect: makeMethodFn('CONNECT'), 203 205 delete: makeMethodFn('DELETE'), 204 206 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-axios/__tests__/client.test.ts
··· 48 48 it.each(scenarios)('returns $url', ({ options, url }) => { 49 49 expect(client.buildUrl(options)).toBe(url); 50 50 }); 51 + 52 + it('uses baseURL from client config by default', () => { 53 + const clientWithBase = createClient({ baseURL: 'https://example.com' }); 54 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 55 + }); 56 + 57 + it('allows overriding baseURL from client config', () => { 58 + const clientWithBase = createClient({ baseURL: 'https://example.com' }); 59 + expect(clientWithBase.buildUrl({ baseURL: 'https://other.com', url: '/foo' })).toBe( 60 + 'https://other.com/foo', 61 + ); 62 + }); 51 63 }); 52 64 53 65 describe('AxiosInstance', () => {
+4 -1
packages/openapi-ts/src/plugins/@hey-api/client-axios/bundle/client.ts
··· 124 124 }); 125 125 }; 126 126 127 + const _buildUrl: Client['buildUrl'] = (options) => 128 + buildUrl({ axios: instance, ..._config, ...options }); 129 + 127 130 return { 128 - buildUrl, 131 + buildUrl: _buildUrl, 129 132 connect: makeMethodFn('CONNECT'), 130 133 delete: makeMethodFn('DELETE'), 131 134 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-fetch/__tests__/client.test.ts
··· 70 70 it.each(scenarios)('returns $url', ({ options, url }) => { 71 71 expect(client.buildUrl(options)).toBe(url); 72 72 }); 73 + 74 + it('uses baseUrl from client config by default', () => { 75 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 76 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 77 + }); 78 + 79 + it('allows overriding baseUrl from client config', () => { 80 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 81 + expect(clientWithBase.buildUrl({ baseUrl: 'https://other.com', url: '/foo' })).toBe( 82 + 'https://other.com/foo', 83 + ); 84 + }); 73 85 }); 74 86 75 87 describe('zero-length body handling', () => {
+3 -1
packages/openapi-ts/src/plugins/@hey-api/client-fetch/bundle/client.ts
··· 256 256 }); 257 257 }; 258 258 259 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 260 + 259 261 return { 260 - buildUrl, 262 + buildUrl: _buildUrl, 261 263 connect: makeMethodFn('CONNECT'), 262 264 delete: makeMethodFn('DELETE'), 263 265 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-ky/__tests__/client.test.ts
··· 69 69 it.each(scenarios)('returns $url', ({ options, url }) => { 70 70 expect(client.buildUrl(options)).toBe(url); 71 71 }); 72 + 73 + it('uses baseUrl from client config by default', () => { 74 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 75 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 76 + }); 77 + 78 + it('allows overriding baseUrl from client config', () => { 79 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 80 + expect(clientWithBase.buildUrl({ baseUrl: 'https://other.com', url: '/foo' })).toBe( 81 + 'https://other.com/foo', 82 + ); 83 + }); 72 84 }); 73 85 74 86 describe('zero-length body handling', () => {
+3 -1
packages/openapi-ts/src/plugins/@hey-api/client-ky/bundle/client.ts
··· 288 288 }); 289 289 }; 290 290 291 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 292 + 291 293 return { 292 - buildUrl, 294 + buildUrl: _buildUrl, 293 295 connect: makeMethodFn('CONNECT'), 294 296 delete: makeMethodFn('DELETE'), 295 297 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-next/__tests__/client.test.ts
··· 50 50 it.each(scenarios)('returns $url', ({ options, url }) => { 51 51 expect(client.buildUrl(options)).toBe(url); 52 52 }); 53 + 54 + it('uses baseUrl from client config by default', () => { 55 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 56 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 57 + }); 58 + 59 + it('allows overriding baseUrl from client config', () => { 60 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 61 + expect(clientWithBase.buildUrl({ baseUrl: 'https://other.com', url: '/foo' })).toBe( 62 + 'https://other.com/foo', 63 + ); 64 + }); 53 65 }); 54 66 55 67 describe('zero-length body handling', () => {
+3 -1
packages/openapi-ts/src/plugins/@hey-api/client-next/bundle/client.ts
··· 223 223 }); 224 224 }; 225 225 226 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 227 + 226 228 return { 227 - buildUrl, 229 + buildUrl: _buildUrl, 228 230 connect: makeMethodFn('CONNECT'), 229 231 delete: makeMethodFn('DELETE'), 230 232 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-nuxt/__tests__/client.test.ts
··· 127 127 it.each(scenarios)('returns $url', ({ options, url }) => { 128 128 expect(client.buildUrl(options)).toBe(url); 129 129 }); 130 + 131 + it('uses baseURL from client config by default', () => { 132 + const clientWithBase = createClient({ baseURL: 'https://example.com' }); 133 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 134 + }); 135 + 136 + it('allows overriding baseURL from client config', () => { 137 + const clientWithBase = createClient({ baseURL: 'https://example.com' }); 138 + expect(clientWithBase.buildUrl({ baseURL: 'https://other.com', url: '/foo' })).toBe( 139 + 'https://other.com/foo', 140 + ); 141 + }); 130 142 });
+4 -1
packages/openapi-ts/src/plugins/@hey-api/client-nuxt/bundle/client.ts
··· 184 184 }); 185 185 }; 186 186 187 + const _buildUrl: Client['buildUrl'] = (options) => 188 + buildUrl({ ..._config, ...options } as typeof options); 189 + 187 190 return { 188 - buildUrl, 191 + buildUrl: _buildUrl, 189 192 connect: makeMethodFn('CONNECT'), 190 193 delete: makeMethodFn('DELETE'), 191 194 get: makeMethodFn('GET'),
+12
packages/openapi-ts/src/plugins/@hey-api/client-ofetch/__tests__/client.test.ts
··· 76 76 it.each(scenarios)('returns $url', ({ options, url }) => { 77 77 expect(client.buildUrl(options)).toBe(url); 78 78 }); 79 + 80 + it('uses baseUrl from client config by default', () => { 81 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 82 + expect(clientWithBase.buildUrl({ url: '/foo' })).toBe('https://example.com/foo'); 83 + }); 84 + 85 + it('allows overriding baseUrl from client config', () => { 86 + const clientWithBase = createClient({ baseUrl: 'https://example.com' }); 87 + expect(clientWithBase.buildUrl({ baseUrl: 'https://other.com', url: '/foo' })).toBe( 88 + 'https://other.com/foo', 89 + ); 90 + }); 79 91 }); 80 92 81 93 describe('zero-length body handling', () => {
+3 -1
packages/openapi-ts/src/plugins/@hey-api/client-ofetch/bundle/client.ts
··· 229 229 }); 230 230 }; 231 231 232 + const _buildUrl: Client['buildUrl'] = (options) => buildUrl({ ..._config, ...options }); 233 + 232 234 return { 233 - buildUrl, 235 + buildUrl: _buildUrl, 234 236 connect: makeMethodFn('CONNECT'), 235 237 delete: makeMethodFn('DELETE'), 236 238 get: makeMethodFn('GET'),