Packages

@hey-api/openapi-ts

0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed

Your version

0.82.0

28 Aug 2025Where it was published

0.99.0 is the newest release of 0.82.x.

In short

2 new6 fixed

Security

1 advisory affects 0.82.0; 0.97.3 fixes them

Release note

Minor Changes

  • parser: Add Hooks API

Added Hooks API

This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.

```js
export default {
  input: 'hey-api/backend', // sign up at app.heyapi.dev
  output: 'src/client',
  parser: {
    hooks: {
      operations: {
        isQuery: (op) => (op.method === 'post' ? true : undefined),
      },
    },
  },
};
```

Patch Changes

  • client: Pass fetch option to sse client

  • plugin: Add @pinia/colada plugin

  • efdeedc Thanks @alexedme! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes.

  • parser: Improve handling multiple references to shared external variable

  • client: Improve empty response body handling

  • plugin: Add @pinia/colada plugin

  • parser: Improve readWrite transformer splitting logic

  • parser: Handle patternProperties in OpenAPI 3.1

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.