Function openrpc_types::resolve_within

source ยท
pub fn resolve_within(openrpc: OpenRPC) -> Result<OpenRPC, BrokenReference>
Expand description

Try and resolve all ReferenceOrs in the document by looking up references in OpenRPC::components.

Returns a BrokenReference on the first ReferenceOr::Reference with no corresponding entry in OpenRPC::components.