Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4",
"regenerated": "2023-03-07 18:54:27.602100",
"spec_repo_commit": "f09bf63c"
"regenerated": "2023-03-07 22:36:05.692522",
"spec_repo_commit": "73e66c9a"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-07 18:54:27.614041",
"spec_repo_commit": "f09bf63c"
"regenerated": "2023-03-07 22:36:05.705736",
"spec_repo_commit": "73e66c9a"
}
}
}
9 changes: 6 additions & 3 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,8 @@ components:
description: Cancel downtimes according to scope.
properties:
scope:
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
description: 'The scope(s) to which the downtime applies and must be in
`key:value` format. For example, `host:app2`.

Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.

Expand Down Expand Up @@ -1678,7 +1679,8 @@ components:
recurrence:
$ref: '#/components/schemas/DowntimeRecurrence'
scope:
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
description: 'The scope(s) to which the downtime applies and must be in
`key:value` format. For example, `host:app2`.

Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.

Expand Down Expand Up @@ -1812,7 +1814,8 @@ components:
recurrence:
$ref: '#/components/schemas/DowntimeRecurrence'
scope:
description: 'The scope(s) to which the downtime applies. For example, `host:app2`.
description: 'The scope(s) to which the downtime applies and must be in
`key:value` format. For example, `host:app2`.

Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
*/
export class CancelDowntimesByScopeRequest {
/**
* The scope(s) to which the downtime applies. For example, `host:app2`.
* The scope(s) to which the downtime applies and must be in `key:value` format. For example, `host:app2`.
* Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
* The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v1/models/Downtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Downtime {
*/
"recurrence"?: DowntimeRecurrence;
/**
* The scope(s) to which the downtime applies. For example, `host:app2`.
* The scope(s) to which the downtime applies and must be in `key:value` format. For example, `host:app2`.
* Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
* The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v1/models/DowntimeChild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class DowntimeChild {
*/
"recurrence"?: DowntimeRecurrence;
/**
* The scope(s) to which the downtime applies. For example, `host:app2`.
* The scope(s) to which the downtime applies and must be in `key:value` format. For example, `host:app2`.
* Provide multiple scopes as a comma-separated list like `env:dev,env:prod`.
* The resulting downtime applies to sources that matches ALL provided scopes (`env:dev` **AND** `env:prod`).
*/
Expand Down