diff options
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json b/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json index 4da1004dedd..2d0af57ec2c 100644 --- a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json +++ b/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json @@ -4,6 +4,10 @@ "unit", "label" ], + "oneOf": [ + { "required": ["query"] }, + { "required": ["query_range"] } + ], "properties": { "id": { "type": "string" }, "query_range": { "type": "string" }, |