For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Slack communityLog inBook a demo
  • Overview
    • Introduction
    • Quickstart
    • Capabilities
    • Customer Showcase
  • Generators
      • Quickstart
      • Configuration
      • Changelog
      • Publishing to Nuget
    • MCP Server
  • Deep Dives
    • Customize Method Names
    • Setup local SDK previews
    • Configure Global Headers
    • Configure Auto-Pagination
    • Configure Idempotency
    • Filter Your Endpoints (Audiences)
  • Reference
    • generators.yml
LogoLogo
Slack communityLog inBook a demo
On this page
  • SDK configuration options
  • additional-properties
  • base-api-exception-class-name
  • base-exception-class-name
  • client-class-name
  • custom-pager-name
  • enable-forward-compatible-enums
  • environment-class-name
  • explicit-namespaces
  • exported-client-class-name
  • generate-error-types
  • generate-mock-server-tests
  • include-exception-handler
  • inline-path-parameters
  • namespace
  • package-id
  • read-only-memory-types
  • root-client-class-access
  • root-namespace-for-core-classes
  • use-discriminated-unions
Generators.NET

.NET Configuration

Was this page helpful?
Previous

Changelog

Next
Built with

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: 4.23.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