pub fn parse(yaml: &str) -> Result<Spec, Problems>Expand description
Reads a spec from its YAML text: the spec, or its problems in file order.
§Errors
Every problem found, coded and placed: YAML that doesn’t parse, the earlier format’s keys, unknown and missing fields, values of the wrong type or shape.