Skip to content

Commit

Permalink
Fix description for DORA incident finished_at (#2301)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Dec 4, 2023
1 parent 1bd7e9f commit 4716685
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-04 14:33:55.914782",
"spec_repo_commit": "37397584"
"regenerated": "2023-12-04 15:37:48.058716",
"spec_repo_commit": "e66bf244"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-04 14:33:55.934204",
"spec_repo_commit": "37397584"
"regenerated": "2023-12-04 15:37:48.084181",
"spec_repo_commit": "e66bf244"
}
}
}
6 changes: 3 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4425,8 +4425,8 @@ components:
description: Attributes to create a DORA incident event.
properties:
finished_at:
description: Unix timestamp in nanoseconds when the deployment finished.
It should not be older than 3 hours.
description: Unix timestamp in nanoseconds when the incident finished. It
should not be older than 3 hours.
example: 1693491984000000000
format: int64
type: integer
Expand All @@ -4448,7 +4448,7 @@ components:
example: High
type: string
started_at:
description: Unix timestamp in nanoseconds when the deployment started.
description: Unix timestamp in nanoseconds when the incident started.
example: 1693491974000000000
format: int64
type: integer
Expand Down
4 changes: 2 additions & 2 deletions api/datadogV2/model_dora_incident_request_attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// DORAIncidentRequestAttributes Attributes to create a DORA incident event.
type DORAIncidentRequestAttributes struct {
// Unix timestamp in nanoseconds when the deployment finished. It should not be older than 3 hours.
// Unix timestamp in nanoseconds when the incident finished. It should not be older than 3 hours.
FinishedAt *int64 `json:"finished_at,omitempty"`
// Git info for DORA Metrics events.
Git *DORAGitInfo `json:"git,omitempty"`
Expand All @@ -24,7 +24,7 @@ type DORAIncidentRequestAttributes struct {
Service string `json:"service"`
// Incident severity.
Severity *string `json:"severity,omitempty"`
// Unix timestamp in nanoseconds when the deployment started.
// Unix timestamp in nanoseconds when the incident started.
StartedAt int64 `json:"started_at"`
// Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
Version *string `json:"version,omitempty"`
Expand Down

0 comments on commit 4716685

Please sign in to comment.