快速开始
快速开始
在 5 分钟内快速上手 Fern。本快速开始指南将引导您安装 CLI、初始化项目并在本地生成您的第一个 SDK。
Initialize the fern folder
Initialize the fern folder with your existing OpenAPI specification, or start from scratch with a Fern Definition template. Specify your organization name using the --organization flag.
OpenAPI accepts both JSON and YAML formats. You can always convert a Fern Definition to OpenAPI or OpenAPI to a Fern Definition later on.
This creates a fern folder in your current directory.
OpenAPI
Fern Definition
fern
fern.config.json# root-level configuration
api# your API
generators.yml# generators you're using
openapi
openapi.yml# API-level configuration
下一步
现在您已经有了一个可工作的 SDK,可以设置 GitHub 仓库并配置发布、生成其他语言的 SDK,或了解更多关于 Fern SDK 的信息。