protoc-gen-jsonschema

command
v0.0.0-...-bbe6032 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

protoc-gen-jsonschema

This directory contains a protoc plugin that generates JSON Schemas for Protocol Buffer messages.

Installation:

    go install github.com/flywish/gnostic/cmd/protoc-gen-jsonschema

Usage:

protoc sample.proto -I. --jsonschema_out=.

This runs the plugin for a file named sample.proto which refers to additional .proto files in the same directory as sample.proto. Output is written to the current directory.

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