Skip to content

Commit b3055c9

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

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.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.

api/datadogV2/model_dora_deployment_request_attributes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type DORADeploymentRequestAttributes struct {
2020
FinishedAt int64 `json:"finished_at"`
2121
// Git info for DORA Metrics events.
2222
Git *DORAGitInfo `json:"git,omitempty"`
23-
// Deployment ID.
23+
// Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
2424
Id *string `json:"id,omitempty"`
2525
// Service name.
2626
Service string `json:"service"`

api/datadogV2/model_dora_failure_request_attributes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type DORAFailureRequestAttributes struct {
2020
FinishedAt *int64 `json:"finished_at,omitempty"`
2121
// Git info for DORA Metrics events.
2222
Git *DORAGitInfo `json:"git,omitempty"`
23-
// Failure ID. Must have at least 16 characters. Required to update a previously sent failure.
23+
// Failure ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
2424
Id *string `json:"id,omitempty"`
2525
// Failure name.
2626
Name *string `json:"name,omitempty"`

0 commit comments

Comments
 (0)