We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b2f67 commit 9c869a1Copy full SHA for 9c869a1
1 file changed
fern/products/cli-api-reference/cli-changelog/2026-03-16.mdx
@@ -0,0 +1,13 @@
1
+## 4.30.1
2
+**`(fix):`** Fix duplicate request wrapper name when using `x-fern-streaming` with
3
+`stream-condition` on an endpoint whose request body is a `$ref` to a
4
+named schema. Both the streaming and non-streaming endpoint variants
5
+previously resolved to the same wrapper name (e.g. `ChatRequest`),
6
+causing TypeScript SDK generation to fail with "already declared in this
7
+file". Streaming variants now automatically receive a `Streaming` suffix
8
+(e.g. `ChatRequest` → `ChatRequestStreaming`), aligned with the V3
9
+importer convention. Users can also explicitly set the streaming request
10
+name via the new `stream-request-name` property inside
11
+`x-fern-streaming`.
12
+
13
0 commit comments