Skip to content

Commit c77a6a9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b7bcb565 of spec repo
1 parent c7b4bbf commit c77a6a9

11 files changed

+16
-15
lines changed

Diff for: .apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-08 14:02:28.490914",
8-
"spec_repo_commit": "1920836f"
7+
"regenerated": "2025-01-09 07:45:03.597712",
8+
"spec_repo_commit": "b7bcb565"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-08 14:02:28.507147",
13-
"spec_repo_commit": "1920836f"
12+
"regenerated": "2025-01-09 07:45:03.612958",
13+
"spec_repo_commit": "b7bcb565"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v1/openapi.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28873,7 +28873,7 @@ paths:
2887328873
- metrics_metadata_write
2887428874
/api/v1/monitor:
2887528875
get:
28876-
description: Get details about the specified monitor from your organization.
28876+
description: Get all monitors from your organization.
2887728877
operationId: ListMonitors
2887828878
parameters:
2887928879
- description: 'When specified, shows additional information about the group
@@ -28956,6 +28956,7 @@ paths:
2895628956
content:
2895728957
application/json:
2895828958
schema:
28959+
description: An array of monitor objects.
2895928960
items:
2896028961
$ref: '#/components/schemas/Monitor'
2896128962
type: array
@@ -28979,7 +28980,7 @@ paths:
2897928980
appKeyAuth: []
2898028981
- AuthZ:
2898128982
- monitors_read
28982-
summary: Get all monitor details
28983+
summary: Get all monitors
2898328984
tags:
2898428985
- Monitors
2898528986
x-pagination:

Diff for: examples/v1_monitors_ListMonitors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get all monitor details returns "OK" response
1+
// Get all monitors returns "OK" response
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV1::api_monitors::ListMonitorsOptionalParams;
44
use datadog_api_client::datadogV1::api_monitors::MonitorsAPI;

Diff for: examples/v1_monitors_ListMonitors_3448441939.rs renamed to examples/v1_monitors_ListMonitors_2154432960.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get all monitor details with tags
1+
// Get all monitors with tags
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV1::api_monitors::ListMonitorsOptionalParams;
44
use datadog_api_client::datadogV1::api_monitors::MonitorsAPI;

Diff for: examples/v1_monitors_ListMonitors_2966492814.rs renamed to examples/v1_monitors_ListMonitors_463213563.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Get all monitor details returns "OK" response with pagination
1+
// Get all monitors returns "OK" response with pagination
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV1::api_monitors::ListMonitorsOptionalParams;
44
use datadog_api_client::datadogV1::api_monitors::MonitorsAPI;

Diff for: src/datadogV1/api/api_monitors.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ impl MonitorsAPI {
12751275
}
12761276
}
12771277

1278-
/// Get details about the specified monitor from your organization.
1278+
/// Get all monitors from your organization.
12791279
pub async fn list_monitors(
12801280
&self,
12811281
params: ListMonitorsOptionalParams,
@@ -1327,7 +1327,7 @@ impl MonitorsAPI {
13271327
}
13281328
}
13291329

1330-
/// Get details about the specified monitor from your organization.
1330+
/// Get all monitors from your organization.
13311331
pub async fn list_monitors_with_http_info(
13321332
&self,
13331333
params: ListMonitorsOptionalParams,

Diff for: tests/scenarios/features/v1/monitors.feature

+4-4
Original file line numberDiff line numberDiff line change
@@ -227,28 +227,28 @@ Feature: Monitors
227227
And the response "options.synthetics_check_id" has the same value as "synthetics_api_test.public_id"
228228

229229
@team:DataDog/monitor-app
230-
Scenario: Get all monitor details returns "Bad Request" response
230+
Scenario: Get all monitors returns "Bad Request" response
231231
Given new "ListMonitors" request
232232
And request contains "group_states" parameter with value "notagroupstate"
233233
When the request is sent
234234
Then the response status is 400 Bad Request
235235

236236
@integration-only @team:DataDog/monitor-app
237-
Scenario: Get all monitor details returns "OK" response
237+
Scenario: Get all monitors returns "OK" response
238238
Given new "ListMonitors" request
239239
When the request is sent
240240
Then the response status is 200 OK
241241

242242
@replay-only @skip-validation @team:DataDog/monitor-app @with-pagination
243-
Scenario: Get all monitor details returns "OK" response with pagination
243+
Scenario: Get all monitors returns "OK" response with pagination
244244
Given new "ListMonitors" request
245245
And request contains "page_size" parameter with value 2
246246
When the request with pagination is sent
247247
Then the response status is 200 OK
248248
And the response has 3 items
249249

250250
@skip @team:DataDog/monitor-app
251-
Scenario: Get all monitor details with tags
251+
Scenario: Get all monitors with tags
252252
Given there is a valid "monitor" in the system
253253
And new "ListMonitors" request
254254
And request contains "tags" parameter with value "test:{{ unique_lower_alnum }}"

0 commit comments

Comments
 (0)