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 18:25:00 +01:00
committed by GitHub
parent b1debc9c46
commit 9691af83ee
10 changed files with 323 additions and 13 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ _variable: {
// * 0 - Show all.
// * 1 - Hide label.
// * 2 - Hide label and variable.
hide: int & >=0 & <=2 | *0
hide: int >= 0 <= 2 | *0
// Enable include all option.
includeAll: bool | *false
// When includeAll is enabled, this sets its value.