Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doca - Create an option for schema glob #18

Open
rbuckland opened this issue Mar 16, 2019 · 0 comments
Open

doca - Create an option for schema glob #18

rbuckland opened this issue Mar 16, 2019 · 0 comments

Comments

@rbuckland
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant