In order to reuse certain definitions, I have many $refs in my schemas that point to definitions in a common.json file. Is there a way to use justify to resolve all these references and rewrite a version of the schema with all the resolutions?
So instead of
"uid": {
"$ref": "common.json#uid"
}
the rewritten schema file would have:
"uid": {
"type": "string",
"minLength": 1,
"description": "user id"
}
Thanks!
In order to reuse certain definitions, I have many $refs in my schemas that point to definitions in a common.json file. Is there a way to use justify to resolve all these references and rewrite a version of the schema with all the resolutions?
So instead of
the rewritten schema file would have:
Thanks!