genschema

command module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 16 Imported by: 0

README

genschema

generate jsonschema from go's struct via go/types

install

$ go install github.com/podhmo/genschema@latest

additional tags

  • required
  • jsonschema-override

sample data

https://github.com/deepmap/oapi-codegen

$ genschema -schema-title oapi-conf --query github.com/deepmap/oapi-codegen/pkg/codegen.Configuration > _examples/structure/testdata/oapi-codegen.jsonschema.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
_examples

Jump to

Keyboard shortcuts

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