cloudflare / cloudflare/json-schema-tools
doca - Create an option for schema glob
Open
- Dominant language
- JavaScript
- Stars
- 341
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.