Skip to content

Commit 7285bf8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 31044eb9 of spec repo (#2422)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d80aa75 commit 7285bf8

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
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": "2025-06-25 17:36:55.645199",
8-
"spec_repo_commit": "51c17453"
7+
"regenerated": "2025-06-25 21:28:46.008153",
8+
"spec_repo_commit": "31044eb9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-25 17:36:55.662131",
13-
"spec_repo_commit": "51c17453"
12+
"regenerated": "2025-06-25 21:28:46.024222",
13+
"spec_repo_commit": "31044eb9"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17419,6 +17419,10 @@ components:
1741917419
items:
1742017420
$ref: '#/components/schemas/IncidentTimelineCellCreateAttributes'
1742117421
type: array
17422+
is_test:
17423+
description: A flag indicating whether the incident is a test incident.
17424+
example: false
17425+
type: boolean
1742217426
notification_handles:
1742317427
description: Notification handles that will be notified of the incident
1742417428
at creation.
@@ -17824,6 +17828,10 @@ components:
1782417828
description: A unique identifier that represents an incident type.
1782517829
example: 00000000-0000-0000-0000-000000000000
1782617830
type: string
17831+
is_test:
17832+
description: A flag indicating whether the incident is a test incident.
17833+
example: false
17834+
type: boolean
1782717835
modified:
1782817836
description: Timestamp when the incident was last modified.
1782917837
format: date-time

features/v2/incidents.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Feature: Incidents
7070
Scenario: Create an incident returns "Bad Request" response
7171
Given operation "CreateIncident" enabled
7272
And new "CreateIncident" request
73-
And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@[email protected]"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}}
73+
And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "is_test": false, "notification_handles": [{"display_name": "Jane Doe", "handle": "@[email protected]"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}}
7474
When the request is sent
7575
Then the response status is 400 Bad Request
7676

@@ -89,7 +89,7 @@ Feature: Incidents
8989
Scenario: Create an incident returns "Not Found" response
9090
Given operation "CreateIncident" enabled
9191
And new "CreateIncident" request
92-
And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@[email protected]"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}}
92+
And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "is_test": false, "notification_handles": [{"display_name": "Jane Doe", "handle": "@[email protected]"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}}
9393
When the request is sent
9494
Then the response status is 404 Not Found
9595

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export class IncidentCreateAttributes {
3333
* An array of initial timeline cells to be placed at the beginning of the incident timeline.
3434
*/
3535
"initialCells"?: Array<IncidentTimelineCellCreateAttributes>;
36+
/**
37+
* A flag indicating whether the incident is a test incident.
38+
*/
39+
"isTest"?: boolean;
3640
/**
3741
* Notification handles that will be notified of the incident at creation.
3842
*/
@@ -79,6 +83,10 @@ export class IncidentCreateAttributes {
7983
baseName: "initial_cells",
8084
type: "Array<IncidentTimelineCellCreateAttributes>",
8185
},
86+
isTest: {
87+
baseName: "is_test",
88+
type: "boolean",
89+
},
8290
notificationHandles: {
8391
baseName: "notification_handles",
8492
type: "Array<IncidentNotificationHandle>",

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ export class IncidentResponseAttributes {
5959
* A unique identifier that represents an incident type.
6060
*/
6161
"incidentTypeUuid"?: string;
62+
/**
63+
* A flag indicating whether the incident is a test incident.
64+
*/
65+
"isTest"?: boolean;
6266
/**
6367
* Timestamp when the incident was last modified.
6468
*/
@@ -180,6 +184,10 @@ export class IncidentResponseAttributes {
180184
baseName: "incident_type_uuid",
181185
type: "string",
182186
},
187+
isTest: {
188+
baseName: "is_test",
189+
type: "boolean",
190+
},
183191
modified: {
184192
baseName: "modified",
185193
type: "Date",

0 commit comments

Comments
 (0)