4def find_schemas(schema_dirs: list[pathlib.Path]) -> list[pathlib.Path]:
6 for path
in schema_dirs:
9 result.extend(_scan_path(path))
13def _scan_path(schema_path: pathlib.Path) -> list[pathlib.Path]:
15 for entry
in schema_path.iterdir():
16 if entry.suffix ==
'.yaml' and entry.is_file():
19 result.extend(_scan_path(entry))