Skip to content

Commit 79e296a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update CI Visibility types of BucketResponse schema (#960)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1e2a32d commit 79e296a

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
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.4",
7-
"regenerated": "2022-12-20 16:45:23.602683",
8-
"spec_repo_commit": "ec3c91a9"
7+
"regenerated": "2022-12-21 16:21:44.259338",
8+
"spec_repo_commit": "2c16ca69"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-20 16:45:23.613963",
13-
"spec_repo_commit": "ec3c91a9"
12+
"regenerated": "2022-12-21 16:21:44.271304",
13+
"spec_repo_commit": "2c16ca69"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,11 @@ components:
14341434
by:
14351435
additionalProperties:
14361436
description: The values for each group-by.
1437-
type: string
1437+
oneOf:
1438+
- type: string
1439+
- format: double
1440+
type: number
1441+
- type: boolean
14381442
description: The key-value pairs for each group-by.
14391443
example:
14401444
'@ci.provider.name': gitlab
@@ -1687,7 +1691,11 @@ components:
16871691
by:
16881692
additionalProperties:
16891693
description: The values for each group-by.
1690-
type: string
1694+
oneOf:
1695+
- type: string
1696+
- format: double
1697+
type: number
1698+
- type: boolean
16911699
description: The key-value pairs for each group-by.
16921700
example:
16931701
'@test.service': web-ui-tests

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CIAppPipelinesBucketResponse {
1414
/**
1515
* The key-value pairs for each group-by.
1616
*/
17-
"by"?: { [key: string]: string };
17+
"by"?: { [key: string]: any };
1818
/**
1919
* A map of the metric name to value for regular compute, or a list of values for a timeseries.
2020
*/
@@ -31,7 +31,7 @@ export class CIAppPipelinesBucketResponse {
3131
static readonly attributeTypeMap: AttributeTypeMap = {
3232
by: {
3333
baseName: "by",
34-
type: "{ [key: string]: string; }",
34+
type: "{ [key: string]: any; }",
3535
},
3636
computes: {
3737
baseName: "computes",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CIAppTestsBucketResponse {
1414
/**
1515
* The key-value pairs for each group-by.
1616
*/
17-
"by"?: { [key: string]: string };
17+
"by"?: { [key: string]: any };
1818
/**
1919
* A map of the metric name to value for regular compute, or a list of values for a timeseries.
2020
*/
@@ -31,7 +31,7 @@ export class CIAppTestsBucketResponse {
3131
static readonly attributeTypeMap: AttributeTypeMap = {
3232
by: {
3333
baseName: "by",
34-
type: "{ [key: string]: string; }",
34+
type: "{ [key: string]: any; }",
3535
},
3636
computes: {
3737
baseName: "computes",

0 commit comments

Comments
 (0)