Fern Definition 中的可用性
Fern Definition 中的可用性
您可以在 Fern Definition 中向端点、类型或属性添加 availability。您可以在 docs.yml 文件中配置 API Reference 文档中各部分的 availability。
端点、类型和属性
可用性可以是:
端点
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