Skip to content

Commit 19638fa

Browse files
committed
chore: add changeset
1 parent b33f83a commit 19638fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.changeset/bright-mice-greet.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"openapi-typescript": patch
3+
---
4+
5+
Fix `enumValues: true` output for schemas that use `oneOf`/`anyOf` unions by narrowing union types with `Extract<>` before accessing variant-specific properties. This prevents invalid type paths when an accessed property only exists on some union members.

0 commit comments

Comments
 (0)