Skip to content

Commit 957c7ba

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Fix downtimes monitor relationship id schema type (#1309)
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 15a3969 commit 957c7ba

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-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.5",
7-
"regenerated": "2023-09-04 09:06:17.163397",
8-
"spec_repo_commit": "a5115137"
7+
"regenerated": "2023-09-05 15:12:52.387694",
8+
"spec_repo_commit": "eb534d74"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-04 09:06:17.176462",
13-
"spec_repo_commit": "a5115137"
12+
"regenerated": "2023-09-05 15:12:52.400641",
13+
"spec_repo_commit": "eb534d74"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4017,9 +4017,8 @@ components:
40174017
properties:
40184018
id:
40194019
description: Monitor ID of the downtime.
4020-
example: 12345
4021-
format: int64
4022-
type: integer
4020+
example: '12345'
4021+
type: string
40234022
type:
40244023
$ref: '#/components/schemas/DowntimeIncludedMonitorType'
40254024
type: object

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class DowntimeRelationshipsMonitorData {
1414
/**
1515
* Monitor ID of the downtime.
1616
*/
17-
"id"?: number;
17+
"id"?: string;
1818
/**
1919
* Monitor resource type.
2020
*/
@@ -31,8 +31,7 @@ export class DowntimeRelationshipsMonitorData {
3131
static readonly attributeTypeMap: AttributeTypeMap = {
3232
id: {
3333
baseName: "id",
34-
type: "number",
35-
format: "int64",
34+
type: "string",
3635
},
3736
type: {
3837
baseName: "type",

0 commit comments

Comments
 (0)