SDK Configuration
Configure your SDK generators in generators.yml
and publish to registries
Before you can configure your generators, you must setup your API Definition. Learn more here
Top Level Configuration
The default group of generators to run when running fern generate
.
Learn more about the README configuration here.
A set of key-value pairs from the group id to the group configuration.
README Configuration
A link to your hosted API Reference. Fern will embed this link into your generated READMEs so that SDK users know to navigate to your API Reference.
The endpoint you want to use in README code samples. If unspecified, Fern will default to the first POST request.
Specify Package Metadata
The decription you’d like the package manager, such as NPM or PyPI, to include.
The license you’d like to apply to the code published to GitHub. Options include MIT
or Apache
(Apache 2.0). To
request a new license, open a GitHub
Issue.
Schema Validation
Add the following as a comment in your generators.yml
to enable schema validation, ensuring that your configuration is correct. Check out an example in Cartesia’s Fern Folder.