go-jsonschema-playground

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

go-jsonschema-playground

Usage

Generate json schema

Run go run . generate-json-schema, this will create docs/schema.json

Generate markdown doc
  1. (Run only once) Install json-schema-for-humans, requires pip: pip install json-schema-for-humans
  2. Run generate-schema-doc --config template_name=md docs/schema.json docs/config-file.md, this will create docs/config-file.md
Generate HTML doc
  1. (Run only once) Install json-schema-for-humans, requires pip: pip install json-schema-for-humans. NOTE: this is the same tool as in previous step, so if you've already isntalled it, no need to do it again
  2. Run generate-schema-doc docs/schema.json docs/config-file.html, this will create docs/config-file.html, docs/schema_doc.html, docs/schema_doc.html

Tools and resources arround json schema

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL