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

doca - Create an option for schema glob

Open rbuckland opened this issue 6 years ago • 0 comments

Currently the **/*.json glob for finding schemas is not changeable. (hard coded).

My schema project has the following layout

/schemas/
   /foo/something-special.schema.json
   /foo/something-speacial-sample-data-1.json
   /foo'something-speacial-sample-data-1.json

I need to be able to glob on just **/*.schema.json

for example

doca init -g "**/*.schema.json" -o docs

This is my attempt... https://github.com/rbuckland/json-schema-tools/tree/feature/doca-glob-option

rbuckland avatar Mar 16 '19 12:03 rbuckland