Skip to content

Commit 7794cf7

Browse files
Update changelogs from fern repo (#3350)
Co-authored-by: thesandlord <8902396+thesandlord@users.noreply.github.com>
1 parent 7617ead commit 7794cf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 3.52.1
2+
**`(fix):`** Fix OpenAPI oneOf with discriminator to be parsed as discriminated union. Previously, when the discriminant property was defined in each variant schema (which is the standard OpenAPI pattern), the union was incorrectly parsed as an undiscriminated union. Now, any oneOf with a discriminator is correctly parsed as a discriminated union, and the discriminant property is filtered out from variant schemas to avoid duplication.
3+
4+

0 commit comments

Comments
 (0)