Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specs/abtesting-v3/common/schemas/Timeseries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metricDate:
metrics:
$ref: 'Variant.yml#/metrics'

Metric:
MetricName:
type: string
enum:
- search_count
Expand Down
4 changes: 2 additions & 2 deletions specs/abtesting-v3/common/schemas/Variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ metrics:
type: array
description: All ABTest metrics that were defined during test creation.
items:
$ref: '#/metric'
$ref: '#/metricResult'

metric:
metricResult:
type: object
properties:
name:
Expand Down
2 changes: 1 addition & 1 deletion specs/abtesting-v3/paths/timeseries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
schema:
type: array
items:
$ref: '../common/schemas/Timeseries.yml#/Metric'
$ref: '../common/schemas/Timeseries.yml#/MetricName'
responses:
'200':
description: OK
Expand Down