FakeIt Series (Part 3 of 5): Lean Models Through Definitions
In our previous post on shared data and dependencies, we saw how to create multi-model dependencies with FakeIt. Today, we are going to look at how we can create similar but smaller models by leveraging definitions.
Definitions are a way of creating reusable set(s) within your model. It allows you to define a set of properties/values one time, referencing them multiple times throughout your model. Definitions in a FakeIt model are very similar to how definitions are used in the Swagger/Open API Specification.