Customize method names
You can fine-tune your SDK method and group names to create intuitive, user-friendly
code that matches your API’s purpose. For example, instead of client.postUsers
you can configure your SDK to read client.users.create().
Generated SDK behavior
Fern generates SDK methods using your configured group and method names. Casing is automatically adapted for each language (snake_case in Python, camelCase in TypeScript, PascalCase in Go, etc.), so you define the endpoint structure once and get correctly formatted methods across all generated SDKs.
Setting up method names
Configure how endpoints map to SDK method and group names in your API definition:
For full configuration details, see Method names in OpenAPI.
Ignoring OpenAPI tags
Without extensions, Fern derives group names from operation tags. Set ignore-tags in generators.yml to ignore tags and derive SDK structure from each operation’s operationId instead.