pub fn parse_resource_str(yaml: &str) -> Result<ResourceDefinition, ParseError>Expand description
Parse a resource definition from a YAML string using the default
(serde_yaml) parser. Used by tests and tooling that already have the
YAML in memory. Endpoint defaults are NOT applied; use parse_resource
if you need them.