Skip to content
Snippets Groups Projects
Commit 37c2ea09 authored by Lars Trieloff's avatar Lars Trieloff
Browse files

Mention support for draft 04, 06, and 07, fixes #79

parent bedb502f
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,19 @@ $ node cli.js
$ node cli.js -d examples/schemas -o examples/docs
# generated output for whole folder is written to ./examples/docs
```
## JSON Schema Draft Versions
`jsonschema2md` assumes `draft-07` by default. If your schemas are not on `draft-07`, you can specify the draft version using the `-v` or `--draft` flag.
```bash
# run against JSON Schema Draft 04
$ node cli.js -d examples/schemas -o examples/docs -v 04
```
```bash
# run against JSON Schema Draft 06
$ node cli.js -d examples/schemas -o examples/docs -v 06
```
### Installing the `jsonschema2md` Command Line Tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment