Generate your first SDK
Schedule a Demo
Generating SDKs often requires understanding the state of your OpenAPI Specification as well as your specific requirements. For the ideal experience, we strongly recommend scheduling a demo or emailing us to get started.
If you’d rather get started immediately, you can use Fern’s CLI tool to generate your first SDK.
Initialize the Fern Folder
OpenAPI
If you have an OpenAPI Specification, you can initialize the Fern folder by running the following command:
If your OpenAPI Specification is hosted on the web, you can use the URL:
This will create a fern
folder in your current directory with the OpenAPI Specification.
Fern Definition
If you’d like to use the Fern Definition, you can initialize the Fern folder by running the following command:
This will create a fern
folder in your current directory with the Fern Definition.
Pass fern check
Run fern check
to ensure that your API Definition is valid. If there are any errors,
you will need to fix them before proceeding.
If you’re using an OpenAPI Specification, check out all of our supported extensions.