Usage of JsonReferenceResolver #1771
Unanswered
nhuethmayr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any documentation on how to use the
JsonReferenceResolver
class? I have a large number of schema files, and they reference each other.I'm starting off like so
I'm assuming that providing the path allows it to internally resolve any referenced JSON files.

The reference in the JSON file is established like this:
Reading the schema does not seem to run into any problems, the call completes just fine.
When attempting to generate the c# code, however, I run into an exception
Exception:
System.InvalidOperationException: 'Error while rendering Liquid template CSharp/Class:
The schema reference path './PackingFunction.json' has not been resolved.'
Beta Was this translation helpful? Give feedback.
All reactions