- Defining your API
Defining your API
Imports allow you to reference types and errors from other files
types: Person: ...
imports: person: ./path/to/person.yml types: Family: properties: people: list<person.Person> # use an imported type
Note that you can only import files that exist in your Fern Definition (i.e. in