For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
预约演示登录免费开始
  • 概览
    • 什么是 API 定义?
    • 项目结构
      • 概览
      • 身份验证
      • 类型
        • Packages
        • Depending on other APIs
        • Export to OpenAPI
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
预约演示登录免费开始
Fern 定义Integrations

从 Fern Definition 导出到 OpenAPI

||以 Markdown 格式查看|
此页面是否有帮助?
在仪表板中编辑
上一个

依赖其他 API

为了防止锁定在 Fern Definition 格式中,您可以随时使用 fern export 命令将您的 API 定义导出为 OpenAPI 3.1。

如果您在 fern/apis/ 文件夹中定义了多个 API,请使用 --api 指定要导出的 API。

终端
$fern export path/to/openapi.yml
$fern export path/to/openapi.json
$
$# 指定要导出的 API
$fern export --api public-api path/to/openapi.yml