5def find_schemas(schema_dirs: List[pathlib.Path]) -> List[pathlib.Path]:
7 for path
in schema_dirs:
10 result.extend(_scan_path(path))
14def _scan_path(schema_path: pathlib.Path) -> List[pathlib.Path]:
16 for entry
in schema_path.iterdir():
17 if entry.suffix ==
'.yaml' and entry.is_file():
20 result.extend(_scan_path(entry))