.NET Configuration

You can customize the behavior of the C#/.NET SDK generator in generators.yml:

1default-group: local
2groups:
3 local:
4 generators:
5 - name: fernapi/fern-typescript-sdk
6 version: 2.6.2
7 config:
8 client_class_name: YourApiClient

SDK configuration options

additional-properties
boolean
base-api-exception-class-name
string
base-exception-class-name
string
client-class-name
string
custom-pager-name
string
enable-forward-compatible-enums
boolean
environment-class-name
string
explicit-namespaces
boolean
exported-client-class-name
string
generate-error-types
boolean
generate-mock-server-tests
boolean
include-exception-handler
boolean
inline-path-parameters
boolean
namespace
string
package-id
string
read-only-memory-types
List<string>
root-client-class-access
'public' | 'internal'
root-namespace-for-core-classes
boolean
use-discriminated-unions
boolean