fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2272 from hey-api/changeset-release/main

Version Packages

authored by

Lubos and committed by
GitHub
dedfeef3 be304818

+48 -48
-5
.changeset/dull-experts-retire.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(config): add `operations` option to `parser.patch`
-42
.changeset/sour-dancers-draw.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(config): add `parser` options 6 - 7 - ### Added `parser` options 8 - 9 - 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. 10 - 11 - 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. 12 - 13 - You can learn more about configuring parser on the [Parser](https://heyapi.dev/openapi-ts/configuration/parser) page. 14 - 15 - ### Moved `input` options 16 - 17 - The following options were moved to the new `parser` group. 18 - 19 - - `input.filters` moved to `parser.filters` 20 - - `input.pagination` moved to `parser.pagination` 21 - - `input.patch` moved to `parser.patch` 22 - - `input.validate_EXPERIMENTAL` moved to `parser.validate_EXPERIMENTAL` 23 - 24 - ### Updated `typescript` options 25 - 26 - The following options were renamed. 27 - 28 - - `enumsCase` moved to `enums.case` 29 - - `enumsConstantsIgnoreNull` moved to `enums.constantsIgnoreNull` 30 - 31 - ### Moved `typescript` options 32 - 33 - The following options were moved to the new `parser` group. 34 - 35 - - `exportInlineEnums` moved to `parser.transforms.enums` 36 - - `readOnlyWriteOnlyBehavior` moved to `parser.transforms.readWrite.enabled` 37 - - `readableNameBuilder` moved to `parser.transforms.readWrite.responses.name` 38 - - `writableNameBuilder` moved to `parser.transforms.readWrite.requests.name` 39 - 40 - ### Updated `readWrite.responses` name 41 - 42 - 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.
+47
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.78.0 4 + 5 + ### Minor Changes 6 + 7 + - [#2246](https://github.com/hey-api/openapi-ts/pull/2246) [`a11a8c5`](https://github.com/hey-api/openapi-ts/commit/a11a8c5d0e3fd3f8564e4b0873babdee0dfea2d3) Thanks [@mrlubos](https://github.com/mrlubos)! - feat(config): add `parser` options 8 + 9 + ### Added `parser` options 10 + 11 + 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. 12 + 13 + 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. 14 + 15 + You can learn more about configuring parser on the [Parser](https://heyapi.dev/openapi-ts/configuration/parser) page. 16 + 17 + ### Moved `input` options 18 + 19 + The following options were moved to the new `parser` group. 20 + 21 + - `input.filters` moved to `parser.filters` 22 + - `input.pagination` moved to `parser.pagination` 23 + - `input.patch` moved to `parser.patch` 24 + - `input.validate_EXPERIMENTAL` moved to `parser.validate_EXPERIMENTAL` 25 + 26 + ### Updated `typescript` options 27 + 28 + The following options were renamed. 29 + 30 + - `enumsCase` moved to `enums.case` 31 + - `enumsConstantsIgnoreNull` moved to `enums.constantsIgnoreNull` 32 + 33 + ### Moved `typescript` options 34 + 35 + The following options were moved to the new `parser` group. 36 + 37 + - `exportInlineEnums` moved to `parser.transforms.enums` 38 + - `readOnlyWriteOnlyBehavior` moved to `parser.transforms.readWrite.enabled` 39 + - `readableNameBuilder` moved to `parser.transforms.readWrite.responses.name` 40 + - `writableNameBuilder` moved to `parser.transforms.readWrite.requests.name` 41 + 42 + ### Updated `readWrite.responses` name 43 + 44 + 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. 45 + 46 + ### Patch Changes 47 + 48 + - [#2246](https://github.com/hey-api/openapi-ts/pull/2246) [`d901bd5`](https://github.com/hey-api/openapi-ts/commit/d901bd55e17c9a06abfa5af4d9ac62a06dd6c82e) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(config): add `operations` option to `parser.patch` 49 + 3 50 ## 0.77.0 4 51 5 52 ### Minor Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.77.0", 3 + "version": "0.78.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {