Mirror of https://github.com/cue-lang/cue cuelang.org
cue go
Something went wrong. Try again.
encoding/jsonschema: initial JSON Schema to CUE conversion master
This does not yet introduce the API, but merely the conversion of JSON Schema to CUE. Also, several things, like formats, are not yet supported. Note that the input to the conversion is CUE itself. This allows any of the encodings (like YAML or JSON) to be used as a base. The conversion will preserve line information from the original file. That is, if a YAML file was converted to CUE, which is then converted to OpenAPI, the line information in the resulting AST corresponds to the original YAML. Change-Id: I512502ce3d98443a530e75f606ca3c533b0c4299 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4604 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
Author Marcel van Lohuizen Date (Jan 15, 2020, 2:01 PM UTC) Commit 6cb0878a 6cb0878a1ef86cd2e63dc3bd31f32811ecf69730 Parent 8c70185e 8c70185eac97d922e5a8efce7f7e6fe81d2340e0