fn resolve_schema(&self, doc_file: impl AsRef<Utf8Path>, ref_or_schema: &ReferenceOr<Schema>) -> Result<ResolvedSchema> {
        match ref_or_schema {
            ReferenceOr::Item(schema) => Ok(ResolvedSchema {
                ref_key: None,
                schema: schema.clone(),
            }),
            ReferenceOr::Reference { reference, .. } => self.resolve_schema_ref(doc_file, reference),
        }
    }
/// Resolve a reference or schema to a resolved schema
Resolve a reference or schema to a resolved schema
Resolve a reference or schema to a resolved schema
fn resolve_schema(&self, doc_file: impl AsRef<Utf8Path>, ref_or_schema: &ReferenceOr<Schema>) -> Result<ResolvedSchema> {
        match ref_or_schema {
            ReferenceOr::Item(schema) => Ok(ResolvedSchema {
                ref_key: None,
                schema: schema.clone(),
            }),
            ReferenceOr::Reference { reference, .. } => self.resolve_schema_ref(doc_file, reference),
        }
    }
fn resolve_schema ( & self , doc_file : impl AsRef < Utf8Path > , ref_or_schema : & ReferenceOr < Schema > ) -> Result < ResolvedSchema > { match ref_or_schema { ReferenceOr :: Item ( schema ) => Ok ( ResolvedSchema { ref_key : None , schema : schema . clone ( ) , } ) , ReferenceOr :: Reference { reference , .. } => self . resolve_schema_ref ( doc_file , reference ) , } }
Resolve a reference or schema to a resolved schema
Resolve a reference or schema to a resolved schema
&self
doc_file
impl AsRef<Utf8Path>
ref_or_schema
&ReferenceOr<Schema>