Fern Definition
Overview

A Fern Definition is a set of YAML files that describe your API.

Each Fern Definition file may define:

  • Custom types. Use custom types to build your data model.
  • Services. A service is a set of related REST endpoints.
  • Errors. An error represents a failed (non-200) response from an endpoint.

An example of a Fern Definition