json-schema-tools icon indicating copy to clipboard operation
json-schema-tools copied to clipboard

Support project folder outside of working directory

Open handrews opened this issue 6 years ago • 0 comments

As filed by @TexKiller as cloudflare/doca#77

If the project_folder is specified outside of the current directory, such as with doca init -i ../schemas -o ../documentation, the json schemas paths are messed up, ending up like ../../../schemas/schema.json.

The path to the schemas should be either absolute or relative to the project_folder, and not relative to the working directory.

handrews avatar May 01 '18 19:05 handrews