@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.99.0 is the newest release of 0.72.x.
In short
1 new4 fixed
Security
1 advisory affects 0.72.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
sdk: Add
classStructureoption supporting dot or slashoperationIdnotation when generating class-based SDKs
Added sdk.classStructure option
When generating class-based SDKs, we now try to infer the ideal structure using `operationId` keywords. If you'd like to preserve the previous behavior, set `classStructure` to `off`.
```js
export default {
input: 'https://get.heyapi.dev/hey-api/backend',
output: 'src/client',
plugins: [
// ...other plugins
{
classStructure: 'off',
name: '@hey-api/sdk',
},
],
};
```Patch Changes
Add crash report prompt
parser: Handle
propertyNameskeywordvalidators: Correctly generate default value for
BigInttypescript: Handle nested inline objects with write/read only fields
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.