|
|
|
|
|
|
filename = "metric_definitions.json"; |
|
|
|
jsonContainerName = "metric_definitions"; |
|
|
|
} |
|
|
|
var additionalInfoString = (additionalInfoKind == AdditionalInfoKind.Annotation ? @"
|
|
|
|
""format"": ""json""," : null)
|
|
|
|
|
|
|
|
var annotationDefinitionsJsonExpected = |
|
|
|
$@"{{
|
|
|
|
|
|
|
""id"": <guid>, |
|
|
|
""name"": ""name"",{(additionalInfoKind == AdditionalInfoKind.Annotation ? @"
|
|
|
|
""format"": ""json""," : null)}
|
|
|
|
""name"": ""name"",{additionalInfoString} |
|
|
|
""spec"": [ |
|
|
|
{{ |
|
|
|
""label_id"": 1, |
|
|
|