Skip to content

Commit ec61db8

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

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.

services/dora_metrics/src/v2/models/DORADeploymentRequestAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class DORADeploymentRequestAttributes {
2323
*/
2424
"git"?: DORAGitInfo;
2525
/**
26-
* Deployment ID.
26+
* Deployment ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
2727
*/
2828
"id"?: string;
2929
/**

services/dora_metrics/src/v2/models/DORAFailureRequestAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class DORAFailureRequestAttributes {
2323
*/
2424
"git"?: DORAGitInfo;
2525
/**
26-
* Failure ID. Must have at least 16 characters. Required to update a previously sent failure.
26+
* Failure ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
2727
*/
2828
"id"?: string;
2929
/**

0 commit comments

Comments
 (0)