go-scheyaml

Ever wanted to turn a JSON schema into an example YAML file? Probably not, but this library allows you to do just that (in a limited fashion).

MIT License

Stars
3
Committers
1

📅 Schema Yaml

Ever wanted to turn a JSON schema into an example YAML file? Probably not, but this library allows you to do just that (in a limited fashion).

⬇️ Installation

go get github.com/survivorbat/go-scheyaml

📋 Usage

Check out this example

✅ Support

  • Feature to override values in output
  • Feature to override the comment on a missing default value
  • Basic types (string, number, integer, null)
  • Object type
  • Array
  • Definitions
  • AnyOf
  • AllOf
  • Pattern Properties

🔭 Plans

  • Maybe add templating at some point
  • Add a json output method
Package Rankings
Top 6.45% on Proxy.golang.org