Skip to content

Commit 118eab6

Browse files
committed
document smart casing param
1 parent 76e2bae commit 118eab6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

fern/products/sdks/reference/generators-yml-reference.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ groups:
393393
generators:
394394
- name: fernapi/fern-typescript-node-sdk
395395
version: 0.9.0
396+
smart-casing: true
396397
```
397398

398399
Individual generator settings within a group.
@@ -405,6 +406,14 @@ The Fern generator package name (e.g., fernapi/fern-typescript-node-sdk)
405406
Specific version of the generator to use
406407
</ParamField>
407408

409+
<ParamField path="smart-casing" type="boolean" default="false">
410+
Enables intelligent case conversion that preserves numbers and common programming patterns:
411+
- Numbers stay intact (e.g., `v2` instead of `v_2`, `getUsersV2` instead of `getUsersV_2`)
412+
- Initialisms are preserved (e.g., `PreviousResponseID` instead of `PreviousResponseId`)
413+
- Acronyms remain correct (e.g., `HTTPSConnection` stays `HTTPSConnection`)
414+
</ParamField>
415+
416+
408417
#### output
409418

410419
Configuration for where and how to publish the generated SDK

0 commit comments

Comments
 (0)