Skip to content

Commit 0c7b0a1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add Sev0 as a supported incident severity (#2225)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0df191d commit 0c7b0a1

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.apigentools-info

+4-4
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-05-07 21:19:52.976648",
8-
"spec_repo_commit": "ba8b66cb"
7+
"regenerated": "2025-05-08 14:34:57.337651",
8+
"spec_repo_commit": "4b632dba"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-07 21:19:52.993968",
13-
"spec_repo_commit": "ba8b66cb"
12+
"regenerated": "2025-05-08 14:34:57.354509",
13+
"spec_repo_commit": "4b632dba"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -17390,6 +17390,7 @@ components:
1739017390
description: The incident severity.
1739117391
enum:
1739217392
- UNKNOWN
17393+
- SEV-0
1739317394
- SEV-1
1739417395
- SEV-2
1739517396
- SEV-3
@@ -17399,6 +17400,7 @@ components:
1739917400
type: string
1740017401
x-enum-varnames:
1740117402
- UNKNOWN
17403+
- SEV_0
1740217404
- SEV_1
1740317405
- SEV_2
1740417406
- SEV_3

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

+2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
1212

1313
export type IncidentSeverity =
1414
| typeof UNKNOWN
15+
| typeof SEV_0
1516
| typeof SEV_1
1617
| typeof SEV_2
1718
| typeof SEV_3
1819
| typeof SEV_4
1920
| typeof SEV_5
2021
| UnparsedObject;
2122
export const UNKNOWN = "UNKNOWN";
23+
export const SEV_0 = "SEV-0";
2224
export const SEV_1 = "SEV-1";
2325
export const SEV_2 = "SEV-2";
2426
export const SEV_3 = "SEV-3";

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,15 @@ const enumsMap: { [key: string]: any[] } = {
23142314
IncidentSearchResultsType: ["incidents_search_results"],
23152315
IncidentSearchSortOrder: ["created", "-created"],
23162316
IncidentServiceType: ["services"],
2317-
IncidentSeverity: ["UNKNOWN", "SEV-1", "SEV-2", "SEV-3", "SEV-4", "SEV-5"],
2317+
IncidentSeverity: [
2318+
"UNKNOWN",
2319+
"SEV-0",
2320+
"SEV-1",
2321+
"SEV-2",
2322+
"SEV-3",
2323+
"SEV-4",
2324+
"SEV-5",
2325+
],
23182326
IncidentTeamType: ["teams"],
23192327
IncidentTimelineCellMarkdownContentType: ["markdown"],
23202328
IncidentTodoAnonymousAssigneeSource: ["slack", "microsoft_teams"],

0 commit comments

Comments
 (0)