Skip to content

Commit 297069d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Align DORA Event ID description with new validation (#2877)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ab647f9 commit 297069d

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.

lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class DORADeploymentRequestAttributes
3333
# Git info for DORA Metrics events.
3434
attr_accessor :git
3535

36-
# Deployment ID.
36+
# Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
3737
attr_accessor :id
3838

3939
# Service name.

lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class DORAFailureRequestAttributes
3333
# Git info for DORA Metrics events.
3434
attr_accessor :git
3535

36-
# Failure ID. Must have at least 16 characters. Required to update a previously sent failure.
36+
# Failure ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
3737
attr_accessor :id
3838

3939
# Failure name.

0 commit comments

Comments
 (0)