Each SDK includes a README.md file in its root directory that provides an overview of the SDK and instructions for working with the associated API.
By default, Fern generates the README automatically with usage examples and API details. For a complete example of a generated SDK README, see Intercom’s Python SDK.
Although each SDK has its own README, the content can be configured globally through the readme section in the generators.yml file.
URL for a banner image or link that appears at the top of the README.
Custom introduction text that appears at the beginning of the README.
URL to your external API documentation or reference guide.
Name of the API that appears in the README. Will appear as Your Api Name SDK or Your Api Name API throughout the README. Defaults to organization name if not set.
Controls whether usage examples show only required parameters (minimal) or all parameters (comprehensive). Currently only supported for Java SDKs. File an issue to request additional languages.
Sections to disable in the README. Supported values: "contributing".
Organizes endpoints into named feature sections within the README. Each feature creates a dedicated section with example code snippets for the specified endpoints.
Specifies which endpoint’s code snippet to showcase as the primary example in the README.
HTTP method of the default endpoint (e.g., GET, POST, PUT, DELETE).
Endpoint path for the default example (e.g., /users, /auth/login).
Whether the endpoint is a streaming endpoint. Defaults to false.
Define a custom section in the generated README for a specific SDK.
The title of the custom section as it will appear in the README.
The target SDK language for this section. The custom section will only appear in README files generated for the specified language.
The Markdown content of the custom section. You can use template variables in the format {{ variable }} that will be dynamically replaced with values specific to each SDK language when the README is generated.
Available template variables by language:
To go beyond the available configuration options, you can manually edit the README.md file. Then, add it to the .fernignore file to prevent it from being overwritten during regeneration.