Export from Fern Definition to OpenAPI
Fern Definition isn’t recommended for new customers and Fern isn’t accepting feature requests for this format. It remains supported for existing users.
To prevent lock-in to the Fern Definition format, you can export your API definition to OpenAPI 3.1 at any time using the fern export command.
If you have multiple APIs defined in your fern/apis/ folder, use --api to specify which API to export.
terminal