@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.61.x.
In short
1 breaking3 new3 fixed
- Breaking
Please update
@hey-api/client-*packages to the latest version
Security
1 advisory affects 0.61.0; 0.97.3 fixes them
- Moderate@hey-api/openapi-ts's `buildClientParams` template: prototype chain substitution via unknown `$<slot>___proto__` keyGHSA-hhx9-57xq-r5rw · 1 Jul 2026Fixed in 0.97.3
Release note
Minor Changes
Add support for HTTP Bearer Authentication Scheme
Add OpenAPI 2.0 support to experimental parser
Add watch mode
Watch Mode
::: warning Watch mode currently supports only remote files via URL. ::: If your schema changes frequently, you may want to automatically regenerate the output during development. To watch your input file for changes, enable `watch` mode in your configuration or pass the `--watch` flag to the CLI.
Config
```js
export default {
client: '@hey-api/client-fetch',
input: 'path/to/openapi.json',
output: 'src/client',
watch: true,
};
```CLI
```sh npx @hey-api/openapi-ts \ -c @hey-api/client-fetch \ -i path/to/openapi.json \ -o src/client \ -w ```
- Breaking
Please update
@hey-api/client-*packages to the latest versionfeat: add support for basic http auth
Patch Changes
Add support for long integers
Add
sdk.throwOnErroroptionPreserve leading separators in enum keys
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.