Fern Definition 中的可用性
Fern Definition 中的可用性
您可以在 Fern Definition 中为端点、类型或属性添加 availability。您可以在 docs.yml 文件中配置 API 参考文档各部分的 availability。
端点、类型和属性
可用性可以是:
in-development表示正在开发中;将显示Beta标签pre-release表示可用;将显示Beta标签deprecated表示将来会被移除;将显示Deprecated标签generally-available表示稳定且可供使用;将显示GA标签
端点
pet.yml
在 Fern Docs 中,这将显示为:

类型
pet.yml
在 Fern Docs 中,这将显示为:

属性
pet.yml
在 Fern Docs 中,这将显示为:

部分
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