pub fn require_operation(
codecs: &BTreeMap<String, Rc<dyn JsonCapabilityCodec>>,
capability_id: &str,
operation: &str,
) -> Result<Rc<dyn JsonCapabilityCodec>, RuntimeFailure>Expand description
Looks up the exact codec and validates the Operation before dispatch.