pub fn resolve_schema_map(
        &self,
        doc_file: impl Into<Utf8PathBuf>,
        ref_or_schemas: &IndexMap<String, ReferenceOr<Schema>>,
    ) -> Result<IndexMap<String, ResolvedSchema>> {
        let mut resolved = IndexMap::new();
        let doc_file = doc_file.into();
        for (name, schema) in ref_or_schemas {
            resolved.insert(name.clone(), self.resolve_schema(&doc_file, schema)?);
        }
        Ok(resolved)
    }
/// Resolve a collection of references or schemas to a collection of resolved schemas
Resolve a collection of references or schemas to a collection of resolved schemas
Resolve a collection of references or schemas to a collection of resolved schemas
pub fn resolve_schema_map(
        &self,
        doc_file: impl Into<Utf8PathBuf>,
        ref_or_schemas: &IndexMap<String, ReferenceOr<Schema>>,
    ) -> Result<IndexMap<String, ResolvedSchema>> {
        let mut resolved = IndexMap::new();
        let doc_file = doc_file.into();
        for (name, schema) in ref_or_schemas {
            resolved.insert(name.clone(), self.resolve_schema(&doc_file, schema)?);
        }
        Ok(resolved)
    }
pub fn resolve_schema_map ( & self , doc_file : impl Into < Utf8PathBuf > , ref_or_schemas : & IndexMap < String , ReferenceOr < Schema > > , ) -> Result < IndexMap < String , ResolvedSchema > > { let mut resolved = IndexMap :: new ( ) ; let doc_file = doc_file . into ( ) ; for ( name , schema ) in ref_or_schemas { resolved . insert ( name . clone ( ) , self . resolve_schema ( & doc_file , schema ) ? ) ; } Ok ( resolved ) }
Resolve a collection of references or schemas to a collection of resolved schemas
Resolve a collection of references or schemas to a collection of resolved schemas
&self
doc_file
impl Into<Utf8PathBuf>
ref_or_schemas
&IndexMap<String, ReferenceOr<Schema>>