Availability in Fern Definition
You can add availability
to an endpoint, type, or property within your Fern Definition. You can configure the availability
of sections in your API reference documentation in your docs.yml
file.
Endpoints, types, and properties
Availability can be:
in-development
which means it is being worked on; will show aBeta
tagpre-release
which means it is available; will show aBeta
tagdeprecated
which means it will be removed in the future; will show aDeprecated
taggenerally-available
which means it is stable and available for use; will show aGA
tag
Endpoint
pet.yml
In Fern Docs, this will look like:
Type
pet.yml
In Fern Docs, this will look like:
Property
pet.yml
In Fern Docs, this will look like:
Sections
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
, or beta
.
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