pub type ContractResolver<'a> = dyn FnMut(&str) -> Result<String, String> + 'a;
Resolves a contract-file ref (a .yaml / .yml path, possibly relative) to its YAML text.
.yaml
.yml