···11+---
22+"@hey-api/openapi-ts": minor
33+---
44+55+feat: remove client inference
+5
.changeset/cold-spiders-bathe.md
···11+---
22+"@hey-api/docs": patch
33+---
44+55+docs: add migration for v0.45.0
+1-1
docs/openapi-ts/clients.md
···11111212## Legacy Clients
13131414-Before standalone client packages, clients were generated using `openapi-ts`. If you want to use a client that isn't published as a standalone package, you can explicitly set the `client` config option to generate it.
1414+Before standalone client packages, clients were generated using `openapi-ts`. If you want to generate a legacy client that isn't published as a standalone package, you can use the `client` config option.
15151616::: code-group
1717
+1-1
docs/openapi-ts/configuration.md
···40404141## Clients
42424343-By default, `openapi-ts` will try to guess your client based on your project dependencies. If we don't get it right, you can specify the desired client
4343+By default, `openapi-ts` will generate a Fetch API client. If you want a different client, you can specify it using the `client` option.
44444545::: code-group
4646
-2
docs/openapi-ts/get-started.md
···2020- works with CLI, Node.js, or npx
2121- supports OpenAPI 2.0, 3.0, and 3.1 specifications
2222- supports both JSON and YAML input files
2323-- supports external references using [json-schema-ref-parser](https://github.com/APIDevTools/json-schema-ref-parser/)
2423- generates TypeScript interfaces, REST clients, and JSON Schemas
2524- Fetch API, Axios, Angular, Node.js, and XHR clients available
2626-- abortable requests through cancellable promise pattern
27252826## Quick Start
2927
+15-1
docs/openapi-ts/migrating.md
···50505151This config option is deprecated and will be removed in favor of [clients](./clients).
52525353+## v0.45.0
5454+5555+### Removed `client` inference
5656+5757+`openapi-ts` will no longer infer which client you want to generate. By default, we will create a `fetch` client. If you want a different client, you can specify it using the `client` option.
5858+5959+```js{2}
6060+export default {
6161+ client: 'axios',
6262+ input: 'path/to/openapi.json',
6363+ output: 'src/client',
6464+}
6565+```
6666+5367## v0.44.0
54685569### Moved `format`
···390404391405## OpenAPI TypeScript Codegen
392406393393-`openapi-ts` was originally forked from Ferdi Koomen's [openapi-typescript-codegen](https://github.com/ferdikoomen/openapi-typescript-codegen). Therefore, we want you to be able to migrate your projects. Migration should be relatively straightforward if you follow the release notes on this page. Start here and scroll up to the release you're migrating to.
407407+`openapi-ts` was originally forked from Ferdi Koomen's [openapi-typescript-codegen](https://github.com/ferdikoomen/openapi-typescript-codegen). Therefore, we want you to be able to migrate your projects. Migration should be relatively straightforward if you follow the release notes on this page. Start on [v0.27.24](#v0-27-24) and scroll to the release you're migrating to.