From cbe2c7007a4db9c5f065e232fad5bcd3b540e88c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 14:17:23 +0000 Subject: [PATCH] Version Packages --- .changeset/bump-openapi-typescript.md | 17 ----------------- packages/create-schemas/CHANGELOG.md | 18 ++++++++++++++++++ packages/create-schemas/package.json | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 .changeset/bump-openapi-typescript.md diff --git a/.changeset/bump-openapi-typescript.md b/.changeset/bump-openapi-typescript.md deleted file mode 100644 index 90b84f9..0000000 --- a/.changeset/bump-openapi-typescript.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@workleap/create-schemas": minor ---- - -Bump `openapi-typescript` from `7.0.2` to `7.13.0`. - -This fixes the `enumValues` option for array-valued enums. On `7.0.2` the generated -value array was annotated with the property type instead of the item type, producing -`T[][]` assigned a list of strings and failing the build with `TS2322`. `7.13.0` emits a -`FlattenedDeepRequired` helper that unwraps the array and strips optionality, so -`enumValues` is now usable on documents whose enums appear inside arrays. - -Generated output changes slightly for documents that use `additionalProperties`: an index -signature alongside declared properties is now emitted as an intersection -(`{ ... } & { [key: string]: unknown }`) rather than merged into the object, and a typed -index signature no longer carries `| undefined`. Doc comments spanning multiple lines are -also reflowed onto their own lines. diff --git a/packages/create-schemas/CHANGELOG.md b/packages/create-schemas/CHANGELOG.md index 40ad33d..6c7fd6c 100644 --- a/packages/create-schemas/CHANGELOG.md +++ b/packages/create-schemas/CHANGELOG.md @@ -1,5 +1,23 @@ # @workleap/create-schemas +## 0.4.0 + +### Minor Changes + +- [#58](https://github.com/workleap/wl-openapi-typescript/pull/58) [`ddbd3d3`](https://github.com/workleap/wl-openapi-typescript/commit/ddbd3d30290574d31a38b4aabd74f02cdad42665) Thanks [@Ignotos](https://github.com/Ignotos)! - Bump `openapi-typescript` from `7.0.2` to `7.13.0`. + + This fixes the `enumValues` option for array-valued enums. On `7.0.2` the generated + value array was annotated with the property type instead of the item type, producing + `T[][]` assigned a list of strings and failing the build with `TS2322`. `7.13.0` emits a + `FlattenedDeepRequired` helper that unwraps the array and strips optionality, so + `enumValues` is now usable on documents whose enums appear inside arrays. + + Generated output changes slightly for documents that use `additionalProperties`: an index + signature alongside declared properties is now emitted as an intersection + (`{ ... } & { [key: string]: unknown }`) rather than merged into the object, and a typed + index signature no longer carries `| undefined`. Doc comments spanning multiple lines are + also reflowed onto their own lines. + ## 0.3.2 ### Patch Changes diff --git a/packages/create-schemas/package.json b/packages/create-schemas/package.json index 6f2b0f3..8c13ce3 100644 --- a/packages/create-schemas/package.json +++ b/packages/create-schemas/package.json @@ -1,7 +1,7 @@ { "name": "@workleap/create-schemas", "author": "Workleap", - "version": "0.3.2", + "version": "0.4.0", "description": "CLI to generate Typescript schemas from an OpenAPI document", "license": "Apache-2.0", "repository": {