@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.99.0 is the newest release of 0.67.x.
In short
1 new2 fixed
Security
1 advisory affects 0.67.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
Respect
moduleResolutionvalue intsconfig.json
Respecting moduleResolution value in tsconfig.json
This release introduces functionality related to your `tsconfig.json` file. The initial feature properly respects the value of your `moduleResolution` field. If you're using `nodenext`, the relative module paths in your output will be appended with `.js`. To preserve the previous behavior where we never appended `.js` to relative module paths, set `output.tsConfigPath` to `off`.
```js
export default {
input: 'https://get.heyapi.dev/hey-api/backend',
output: {
path: 'src/client',
tsConfigPath: 'off',
},
};
```Patch Changes
Make discriminator field required when used with
oneOfkeywordAvoid including underscore for appended types (e.g. data, error, response) when preserving identifier case
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.