Fern 定义高级Fern 定义中的导入提问|复制页面|以 Markdown 格式查看|更多操作导入允许您引用其他文件中的类型和错误。 person.ymltypes: Person: ... family.ymlimports: person: ./path/to/person.ymltypes: Family: properties: people: list<person.Person> # use an imported type 请注意,您只能导入 Fern 定义中存在的文件(即,在同一个 definition/ 文件夹中)。