Packages

@hey-api/openapi-ts

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

Your version

0.78.0

4 Jul 2025Where it was published

0.99.0 is the newest release of 0.78.x.

In short

1 new1 fixed

Security

1 advisory affects 0.78.0; 0.97.3 fixes them

Release note

Minor Changes

  • config: Add parser options

Added parser options

Previously, `@hey-api/typescript` would generate correct types, but the validator plugins would have to re-implement the same logic or generate schemas that didn't match the generated types.

Since neither option was ideal, this release adds a dedicated place for `parser` options. Parser is responsible for preparing the input so plugins can generate more accurate output with less effort.

You can learn more about configuring parser on the [Parser](https://heyapi.dev/openapi-ts/configuration/parser) page.

Moved input options

The following options were moved to the new `parser` group.

-   `input.filters` moved to `parser.filters`  
-   `input.pagination` moved to `parser.pagination`  
-   `input.patch` moved to `parser.patch`  
-   `input.validate_EXPERIMENTAL` moved to `parser.validate_EXPERIMENTAL`

Updated typescript options

The following options were renamed.

-   `enumsCase` moved to `enums.case`  
-   `enumsConstantsIgnoreNull` moved to `enums.constantsIgnoreNull`

Moved typescript options

The following options were moved to the new `parser` group.

-   `exportInlineEnums` moved to `parser.transforms.enums`  
-   `readOnlyWriteOnlyBehavior` moved to `parser.transforms.readWrite.enabled`  
-   `readableNameBuilder` moved to `parser.transforms.readWrite.responses.name`  
-   `writableNameBuilder` moved to `parser.transforms.readWrite.requests.name`

Updated readWrite.responses name

Additionally, the naming pattern for response schemas has changed from `{name}Readable` to `{name}`. This is to prevent your code from breaking by default when using a schema that gets updated with a write-only field.

Patch Changes

  • config: Add operations option to parser.patch

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.