pub fn parse_multi_document_yaml(
content: &str,
path: &Path,
) -> ForgeResult<ParsedModel>Expand description
Parse a multi-document YAML file (v4.4.2) Each document is parsed and merged into a single model. Document names come from _name field or are auto-generated as “doc1”, “doc2”, etc.
§Errors
Returns an error if any document in the file contains invalid YAML or fails schema validation.