commit | f4649b2bb8cd3bec742a25e2b7db3c59380d14ba | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Fri Feb 28 16:50:45 2020 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Thu Mar 05 13:20:57 2020 +0000 |
tree | ac3f6676fd8aa8217b857abdf8cff418246203c1 | |
parent | d64abbedfb3712a068baf9347b01afab6e7e1ab1 [diff] [blame] |
cue: support export package clause and docs Change-Id: I5db5b8e8bc6180061334c230770a20c4cadb6949 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/5092 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/encoding/openapi/types.go b/encoding/openapi/types.go index 209dda6..9e2b07d 100644 --- a/encoding/openapi/types.go +++ b/encoding/openapi/types.go
@@ -51,7 +51,7 @@ default: return "" } - b, err := format.Node(v.Syntax()) + b, err := format.Node(v.Syntax(cue.Final())) if err != nil { return "" }