8000 GitHub - go-jstmpl/go-jstmpl: Template renderer using JSON Schema as data
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

go-jstmpl/go-jstmpl

Repository files navigation

go-jstmpl

Template renderer using JSON Schema as data

Installation

go get -u github.com/go-jstmpl/go-jstmpl/cmd/jstmpl

Usage

jstmpl -s schema.json -t schema/template
jstmpl -s schema.yml -t schema/template

Features

  • Can generate structs and validators in Go from JSON Schema definitions.
  • Can generate router, controllers and mock server in Go from JSON Schema links.
  • Can generate models and validators in TypeScript from JSON Schema definitions.
  • Can generate model fetcher in TypeScript from JSON Schema links.

And more ...

References

Name Notes
go-jsschema JSON Schema implementation
go-jshschema JSON Hyper Schema implementation
go-jsref JSON Reference implementation
go-jspointer JSON Pointer implementations

About

Template renderer using JSON Schema as data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages

0