Skip to content

Commit 4a1bb76

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
[SCV-141] Adding description to field that is conditionally required (#1524)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent c22c8df commit 4a1bb76

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-02-16 18:03:02.278194",
8-
"spec_repo_commit": "dc02d0d0"
7+
"regenerated": "2024-02-20 12:21:51.257109",
8+
"spec_repo_commit": "7e467650"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-16 18:03:02.294405",
13-
"spec_repo_commit": "dc02d0d0"
12+
"regenerated": "2024-02-20 12:21:51.284380",
13+
"spec_repo_commit": "7e467650"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,8 @@ components:
20392039
type: number
20402040
type: object
20412041
CIAppAggregateSort:
2042-
description: A sort rule.
2042+
description: A sort rule. The `aggregation` field is required when `type` is
2043+
`measure`.
20432044
example:
20442045
aggregation: count
20452046
order: asc

packages/datadog-api-client-v2/models/CIAppAggregateSort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { CIAppSortOrder } from "./CIAppSortOrder";
1010
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111

1212
/**
13-
* A sort rule.
13+
* A sort rule. The `aggregation` field is required when `type` is `measure`.
1414
*/
1515
export class CIAppAggregateSort {
1616
/**

packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class CIAppPipelinesGroupBy {
3232
*/
3333
"missing"?: CIAppGroupByMissing;
3434
/**
35-
* A sort rule.
35+
* A sort rule. The `aggregation` field is required when `type` is `measure`.
3636
*/
3737
"sort"?: CIAppAggregateSort;
3838
/**

packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class CIAppTestsGroupBy {
3232
*/
3333
"missing"?: CIAppGroupByMissing;
3434
/**
35-
* A sort rule.
35+
* A sort rule. The `aggregation` field is required when `type` is `measure`.
3636
*/
3737
"sort"?: CIAppAggregateSort;
3838
/**

0 commit comments

Comments
 (0)