This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Description
In the json schemas in my project I use the word classpath when using $ref in order to allow schemas to reference other schemas. This causes doca to crash.
More detail:
My SampleKeyValueReferenceSchema.json file is the following
{
"$ref": "classpath:samples/SampleKeyValueSchema.json"
}
SampleKeyValueSchema.json is another schema.
When I run npm start in the json schema folder that is generated, I get the following error:
Error: ENOENT: no such file or directory, open 'classpath:samples/SampleKeyValueSchema.json'
@ ./schemas.js 13:1305-1393
@ ./src/client/store.js
@ ./src/client/index.js
@ multi webpack-hot-middleware/client?path=http://192.168.2.18:8080/__webpack_hmr ./src/client/index.js
How do I solve this. Does this tool support classpath in json schema?