jsonschema

command
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command jsonschema is the multi-command CLI for the go-rotini/jsonschema package.

Usage:

jsonschema <command> [flags] [args]

Commands:

generate   Go type declarations from a JSON Schema
bowtie     Bowtie cross-implementation conformance-harness connector

generate reads a JSON Schema (from the file argument, or from standard input when no file is given) and writes Go source to standard output, or to the file named by -o:

go tool jsonschema generate -package models -o models.go schema.json

bowtie speaks the Bowtie stdin/stdout JSON protocol (see bowtie.go).

Jump to

Keyboard shortcuts

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