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 定义?
    • 项目结构
      • 概览
      • 覆盖层(Overlays)
      • 覆盖(Overrides)
      • 身份验证
      • 服务器
      • 同步您的规范
        • 概览
        • API 版本
        • 受众
        • 可用性
        • 基础路径
        • 默认值
        • 枚举描述、名称和可用性
        • API Explorer 控制
        • 全局请求头
        • 忽略元素
        • SDK 变量
        • SDK 方法名称
        • 参数名称
        • 属性名称
        • 幂等性
        • 分页
        • 重试行为
        • Schema 名称
        • 服务器名称和 URL 模板化
        • 模式名称
        • 服务器名称和 URL 模板化
      • OpenAPI generators.yml 参考
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
预约演示登录免费开始
在本页
  • 端点
  • 部分
OpenAPI扩展

可用性

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

使用受众筛选您的 API

下一个

基础路径

x-fern-availability 扩展用于在您的 OpenAPI 定义中标记端点的可用性。可用性信息会传播到生成的 Fern Docs 网站中,显示为视觉标签、SDK 和 CLI。

您可以在 docs.yml 文件 中配置 API 参考文档部分的 availability。

端点

选项有:

值描述标签
alpha早期实验阶段Alpha
beta足够稳定供早期采用者使用Beta
preview功能完整但可能变更Preview
generally-available稳定且可用于生产环境GA
deprecated不再推荐用于新用途Deprecated
legacy已被替代但仍受支持Legacy

下面的示例标记 POST /pet 端点为 deprecated。

openapi.yml 中的 x-fern-availability
1paths:
2 /pet:
3 post:
4 x-fern-availability: deprecated

渲染效果为:

显示已弃用标签的 API 参考端点截图

一个已弃用的端点

部分

You can set the availability for the entire API reference or for specific sections in your docs.yml configuration. Options are: stable, generally-available, in-development, pre-release, deprecated, alpha, beta, preview, or legacy.

When you set the availability of a section, all of the endpoints in that section are automatically marked with that availability unless explicitly set otherwise.

docs.yml
1navigation:
2 - api: API Reference
3 availability: generally-available
4 layout:
5 - section: My Section
6 availability: beta
7 icon: flower
8 contents:
9 # endpoints here