Commit Graph

2 Commits

Author SHA1 Message Date
Chris Trott
3d33de1751
dashboard-schemas cue 3.0.0 compatible (#29352)
Lead all top-level properties that we do not intend to export with an
underscore.

In 2.2.0, only definitions starting with a capital letter were exported.
As well, properties with a leading underscore were not visible to an
entire package - just within the same file. 3.0.0 still considers them
hidden, however, they are now visible to an entire package.
2020-11-25 07:43:09 +01:00
Chris Trott
a6eebc22e8
Dashboard Schemas (#28793)
* cue mod init github.com/grafana/grafana/dashboard-schemas

* dashboard-schemas: Document exporting to OpenAPI

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-24 08:54:34 +01:00