DashboardSchemas: OpenAPI Schema Generation (#30242)

* Go program to output openapi

* Fix number type syntax

Resolves error: 'unsupported op for number &'

* Render just the schemas

* Use args as entrypoints and add test

* Update README, tidy go.mod
This commit is contained in:
Chris Trott
2021-01-19 10:25:00 -07:00
committed by GitHub
parent b1debc9c46
commit 9691af83ee
10 changed files with 323 additions and 13 deletions

5
dashboard-schemas/go.mod Normal file
View File

@@ -0,0 +1,5 @@
module github.com/grafana/grafana/dashboard-schemas
go 1.15
require cuelang.org/go v0.2.2