@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.59.x.
In short
1 removed2 new5 fixed
- Removed
Remove
@hey-api/schemasfrom default plugins
Security
1 advisory affects 0.59.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
logs.leveloption
Added logs.level option
You can now configure different log levels. As part of this feature, we had to introduce a breaking change by moving the `debug` option to `logs.level`. This will affect you if you're calling `@hey-api/openapi-ts` from Node.js (not CLI) or using the configuration file.
```js
export default {
client: '@hey-api/client-fetch',
debug: true, // [!code --]
input: 'path/to/openapi.json',
logs: {
level: 'debug', // [!code ++]
},
output: 'src/client',
};
```- Removed
Remove
@hey-api/schemasfrom default plugins
Updated default plugins
`@hey-api/schemas` has been removed from the default plugins. To continue using it, add it to your plugins array.
```js
import { defaultPlugins } from '@hey-api/openapi-ts';
export default {
client: '@hey-api/client-fetch',
experimentalParser: true,
input: 'path/to/openapi.json',
output: 'src/client',
plugins: [
...defaultPlugins,
'@hey-api/schemas', // [!code ++]
],
};
```Patch Changes
Correctly resolve required properties in nested allOf composition
Add
--silentor-sCLI option for silent log levelTransformers handle allOf composition in experimental parser
Add
logsconfiguration option to customize log directoryAllow arbitrary object properties when additionalProperties is undefined
Support
DEBUGenvironment variable
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.