You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c9217a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/create-schemas/CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# @workleap/create-schemas
2
2
3
+
## 0.4.0
4
+
5
+
### Minor Changes
6
+
7
+
-[#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`.
8
+
9
+
This fixes the `enumValues` option for array-valued enums. On `7.0.2` the generated
10
+
value array was annotated with the property type instead of the item type, producing
11
+
`T[][]` assigned a list of strings and failing the build with `TS2322`. `7.13.0` emits a
12
+
`FlattenedDeepRequired` helper that unwraps the array and strips optionality, so
13
+
`enumValues` is now usable on documents whose enums appear inside arrays.
14
+
15
+
Generated output changes slightly for documents that use `additionalProperties`: an index
16
+
signature alongside declared properties is now emitted as an intersection
17
+
(`{ ... } & { [key: string]: unknown }`) rather than merged into the object, and a typed
18
+
index signature no longer carries `| undefined`. Doc comments spanning multiple lines are
0 commit comments