Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
@hey-api_openapi-ts@0.78.0 source code.tar.gz | 2025-07-04 | 13.4 MB | |
@hey-api_openapi-ts@0.78.0 source code.zip | 2025-07-04 | 15.7 MB | |
README.md | 2025-07-04 | 2.3 kB | |
Totals: 3 Items | 29.1 MB | 0 |
Minor Changes
-
#2246
a11a8c5
Thanks @mrlubos! - feat(config): addparser
optionsAdded
parser
optionsPreviously,
@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 page.
Moved
input
optionsThe following options were moved to the new
parser
group.input.filters
moved toparser.filters
input.pagination
moved toparser.pagination
input.patch
moved toparser.patch
input.validate_EXPERIMENTAL
moved toparser.validate_EXPERIMENTAL
Updated
typescript
optionsThe following options were renamed.
enumsCase
moved toenums.case
enumsConstantsIgnoreNull
moved toenums.constantsIgnoreNull
Moved
typescript
optionsThe following options were moved to the new
parser
group.exportInlineEnums
moved toparser.transforms.enums
readOnlyWriteOnlyBehavior
moved toparser.transforms.readWrite.enabled
readableNameBuilder
moved toparser.transforms.readWrite.responses.name
writableNameBuilder
moved toparser.transforms.readWrite.requests.name
Updated
readWrite.responses
nameAdditionally, 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.