Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions fern/products/sdks/overview/swift/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Configuration options for the Fern Swift SDK.

You can customize the behavior of the Swift SDK generator in `generators.yml`:

```yaml {6-8} title="generators.yml"
```yaml {6-9} title="generators.yml"
groups:
swift-sdk:
generators:
Expand All @@ -14,6 +14,7 @@ groups:
config:
clientClassName: YourClientName
environmentEnumName: YourCustomEnvironment
moduleName: MyCustomModule
```

## SDK Configuration Options
Expand All @@ -24,4 +25,8 @@ The name of the generated client class. This allows you to customize the class n

<ParamField path="environmentEnumName" type="string" required={false} toc={true}>
The name of the generated environment enum. This allows you to customize the enum name that defines your API environments (such as production, staging, development) and ensures consistent naming across SDK generations.
</ParamField>
</ParamField>

<ParamField path="moduleName" type="string" required={false} toc={true}>
The module name used in client code (e.g., `import MyCustomModule`). When provided, this name is used consistently across the library, product, and target.
</ParamField>