Skip to content

Commit d0df59c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Align DORA Event ID description with new validation (#3054)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6ecd838 commit d0df59c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15983,7 +15983,9 @@ components:
1598315983
git:
1598415984
$ref: '#/components/schemas/DORAGitInfo'
1598515985
id:
15986-
description: Deployment ID.
15986+
description: Deployment ID. Must be 16-128 characters and contain only alphanumeric
15987+
characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9,
15988+
-, _, ., :).
1598715989
type: string
1598815990
service:
1598915991
description: Service name.
@@ -16121,8 +16123,9 @@ components:
1612116123
git:
1612216124
$ref: '#/components/schemas/DORAGitInfo'
1612316125
id:
16124-
description: Failure ID. Must have at least 16 characters. Required to update
16125-
a previously sent failure.
16126+
description: Failure ID. Must be 16-128 characters and contain only alphanumeric
16127+
characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9,
16128+
-, _, ., :).
1612616129
type: string
1612716130
name:
1612816131
description: Failure name.

src/datadog_api_client/v2/model/dora_deployment_request_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(
7575
:param git: Git info for DORA Metrics events.
7676
:type git: DORAGitInfo, optional
7777
78-
:param id: Deployment ID.
78+
:param id: Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
7979
:type id: str, optional
8080
8181
:param service: Service name.

src/datadog_api_client/v2/model/dora_failure_request_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
:param git: Git info for DORA Metrics events.
8282
:type git: DORAGitInfo, optional
8383
84-
:param id: Failure ID. Must have at least 16 characters. Required to update a previously sent failure.
84+
:param id: Failure ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
8585
:type id: str, optional
8686
8787
:param name: Failure name.

0 commit comments

Comments
 (0)