github.com/redborian/go-types-to-jsonschema (go): Command-line tool to convert YAML-annotated types specified in go file to JSON schema
Keywords: abstract-syntax-tree|golang|json-schema|yaml