Stranger6667 / jsonschema-rs

JSON Schema validation library
https://docs.rs/jsonschema
MIT License
511 stars 91 forks source link

How do I resolve an external schema? #469

Open TianzeMYou opened 6 months ago

TianzeMYou commented 6 months ago

I tried looking for examples but I can't seem to figure out how to use the resolver (I am quite new at Rust). According to this API https://docs.rs/jsonschema/0.17.1/jsonschema/trait.SchemaResolver.html should I do use jsonschema::[SchemaResolver]?

What next? How is SchemaResolver related to resolve-http or resolve-file?