Packages

@hey-api/openapi-ts

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

Your version

0.61.0

6 Jan 2025Where it was published

0.99.0 is the newest release of 0.61.x.

In short

1 breaking3 new3 fixed

  • Breaking

    Please update @hey-api/client-* packages to the latest version

Security

1 advisory affects 0.61.0; 0.97.3 fixes them

Release note

Minor Changes

  • Add support for HTTP Bearer Authentication Scheme

  • Add OpenAPI 2.0 support to experimental parser

  • Add watch mode

Watch Mode

::: warning  
Watch mode currently supports only remote files via URL.  
:::

If your schema changes frequently, you may want to automatically regenerate the output during development. To watch your input file for changes, enable `watch` mode in your configuration or pass the `--watch` flag to the CLI.

Config

```js
export default {
  client: '@hey-api/client-fetch',
  input: 'path/to/openapi.json',
  output: 'src/client',
  watch: true,
};
```

CLI

```sh
npx @hey-api/openapi-ts \
  -c @hey-api/client-fetch \
  -i path/to/openapi.json \
  -o src/client \
  -w
```
  • Breaking

    Please update @hey-api/client-* packages to the latest version

    feat: add support for basic http auth

Patch Changes

  • Add support for long integers

  • Add sdk.throwOnError option

  • Preserve leading separators in enum keys

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.