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 定义?
    • 项目结构
      • 概览
      • 身份验证
      • 类型
        • Webhooks
        • WebSockets
        • 导入
        • 示例
        • 受众
        • 可用性
        • Availability
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 定义高级

Fern 定义中的导入

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

Fern Definition 中的错误

下一个

Fern Definition 中的示例

导入允许您引用其他文件中的类型和错误。

person.yml
1types:
2 Person: ...
family.yml
1imports:
2 person: ./path/to/person.yml
3types:
4 Family:
5 properties:
6 people: list<person.Person> # use an imported type

请注意,您只能导入 Fern 定义中存在的文件(即,在同一个 definition/ 文件夹中)。