The api.yml configuration file
A fern/ folder has a special file called api.yml, which includes all the API-wide configuration.
API name
This name is used to uniquely identify your API in your organization. If you just have one API, then api is a sufficient name.
api.yml
API description
You can define a top level API description. This description will come through in the OpenAPI Specification and Postman collection.
api.yml
API version
You can define your header-based API versioning scheme, such as an X-API-Version. The supported versions
and default value are specified like so:
api.yml