jsonschema2md icon indicating copy to clipboard operation
jsonschema2md copied to clipboard

Feature request, resolver parameter to allow mix of local and remote resolving.

Open Hendler opened this issue 1 year ago • 0 comments

Expected Behaviour

Lets say I have some schemas locally that I don't have on the server yet.

jsonschema2md -d schemas -r "https://hai.ai/schemas/=schemas/"

Actual Behaviour

cannot resolve https://hai.ai/schemas/components/tool/v1/tool.schema.json

jsonschema2md -d schemas -i schemas also fails because of not resolving the base schemas in a doc with an $id like "$schema": "http://json-schema.org/draft-07/schema#",

Would love a way to detect a prefix in a resolver for some files, but not all (as with -i)

Hendler avatar May 03 '24 05:05 Hendler