cloudflare / cloudflare/json-schema-tools

doca - Create an option for schema glob

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.