@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
0.99.0 is the newest release of 0.54.x.
In short
1 new
Security
1 advisory affects 0.54.3; 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
Patch Changes
Add OpenAPI 3.0.x experimental parser
This release adds an experimental parser for OpenAPI versions 3.0.x. In the future, this will become the default parser. If you're using OpenAPI 3.0 or newer, we encourage you to try it out today.
You can enable the experimental parser by setting the
experimentalParserboolean flag totruein your configuration file or CLI.export default { client: '@hey-api/client-fetch', input: 'path/to/openapi.json', output: 'src/client', experimentalParser: true, };npx @hey-api/openapi-ts -i path/to/openapi.json -o src/client -c @hey-api/client-fetch -e
The generated output should not structurally change, despite few things being generated in a different order. In fact, the output should be cleaner! That's the immediate side effect you should notice. If that's not true, please leave feedback in GitHub issues.
Hey API parser marks an important milestone towards v1 of
@hey-api/openapi-ts. More features will be added to the parser in the future and the original parser fromopenapi-typescript-codegenwill be deprecated and used only for generating legacy clients.If you'd like to work with the parser more closely (e.g. to generate code not natively supported by this package), feel free to reach out with any feedback or suggestions. Happy parsing! 🎉
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.