java-json-tools / json-schema-validator

A JSON Schema validation implementation in pure Java, which aims for correctness and performance, in that order
http://json-schema-validator.herokuapp.com/
Other
1.63k stars 400 forks source link

Has the functionality of the ResolvingSchemaWalker been replaced in more recent versions? #381

Open danham-slalom opened 3 years ago

danham-slalom commented 3 years ago

This closed issue describes the functionality I'm looking for - I'm trying to print out a ref resolved schema: https://github.com/java-json-tools/json-schema-validator/issues/41

That is a really old thread, and it looks like the solution at the time was that they wrote a ResolvingSchemaWalker class that traversed a schema and resolved the refs in the schema. It looks like the last version that had the ResolvingSchemaWalker was 1.1.8. Do newer versions of this library have the same functionality?

It seems to me like that should be possible using the RefResolver, but I've been having a hard time figuring out how to get a printable output with the refs resolved.