pub fn load_schema(schema_path: &Path) -> IndexMap<String, FieldInfo>Expand description
Load and flatten the schema at schema_path into a yaml_path → FieldInfo map.
Resolves $ref: <filename> entries by loading the referenced files from the same directory.
The map is sorted by key. Panics if the file cannot be read or parsed.