Skip to content

Commit de40eb5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 07e2c9ca of spec repo
1 parent d4edf8f commit de40eb5

11 files changed

+22
-21
lines changed

.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-06 18:09:30.835401",
8-
"spec_repo_commit": "c020103f"
7+
"regenerated": "2025-01-07 14:23:49.397489",
8+
"spec_repo_commit": "07e2c9ca"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-06 18:09:30.850332",
13-
"spec_repo_commit": "c020103f"
12+
"regenerated": "2025-01-07 14:23:49.413322",
13+
"spec_repo_commit": "07e2c9ca"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28878,7 +28878,7 @@ paths:
2887828878
- metrics_metadata_write
2887928879
/api/v1/monitor:
2888028880
get:
28881-
description: Get details about the specified monitor from your organization.
28881+
description: Get all monitors from your organization.
2888228882
operationId: ListMonitors
2888328883
parameters:
2888428884
- description: 'When specified, shows additional information about the group
@@ -28961,6 +28961,7 @@ paths:
2896128961
content:
2896228962
application/json:
2896328963
schema:
28964+
description: An array of monitor objects.
2896428965
items:
2896528966
$ref: '#/components/schemas/Monitor'
2896628967
type: array
@@ -28984,7 +28985,7 @@ paths:
2898428985
appKeyAuth: []
2898528986
- AuthZ:
2898628987
- monitors_read
28987-
summary: Get all monitor details
28988+
summary: Get all monitors
2898828989
tags:
2898928990
- Monitors
2899028991
x-pagination:

examples/v1/monitors/ListMonitors.java

+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

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;

examples/v1/monitors/ListMonitors_3448441939.java examples/v1/monitors/ListMonitors_2154432960.java

+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

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;

examples/v1/monitors/ListMonitors_2966492814.java examples/v1/monitors/ListMonitors_463213563.java

+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

33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.PaginationIterable;

src/main/java/com/datadog/api/client/v1/api/MonitorsApi.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ public ListMonitorsOptionalParameters pageSize(Integer pageSize) {
11461146
}
11471147

11481148
/**
1149-
* Get all monitor details.
1149+
* Get all monitors.
11501150
*
11511151
* <p>See {@link #listMonitorsWithHttpInfo}.
11521152
*
@@ -1158,7 +1158,7 @@ public List<Monitor> listMonitors() throws ApiException {
11581158
}
11591159

11601160
/**
1161-
* Get all monitor details.
1161+
* Get all monitors.
11621162
*
11631163
* <p>See {@link #listMonitorsWithHttpInfoAsync}.
11641164
*
@@ -1173,7 +1173,7 @@ public CompletableFuture<List<Monitor>> listMonitorsAsync() {
11731173
}
11741174

11751175
/**
1176-
* Get all monitor details.
1176+
* Get all monitors.
11771177
*
11781178
* <p>See {@link #listMonitorsWithHttpInfo}.
11791179
*
@@ -1186,7 +1186,7 @@ public List<Monitor> listMonitors(ListMonitorsOptionalParameters parameters) thr
11861186
}
11871187

11881188
/**
1189-
* Get all monitor details.
1189+
* Get all monitors.
11901190
*
11911191
* <p>See {@link #listMonitorsWithHttpInfoAsync}.
11921192
*
@@ -1203,7 +1203,7 @@ public CompletableFuture<List<Monitor>> listMonitorsAsync(
12031203
}
12041204

12051205
/**
1206-
* Get all monitor details.
1206+
* Get all monitors.
12071207
*
12081208
* <p>See {@link #listMonitorsWithHttpInfo}.
12091209
*
@@ -1215,7 +1215,7 @@ public PaginationIterable<Monitor> listMonitorsWithPagination() {
12151215
}
12161216

12171217
/**
1218-
* Get all monitor details.
1218+
* Get all monitors.
12191219
*
12201220
* <p>See {@link #listMonitorsWithHttpInfo}.
12211221
*
@@ -1256,7 +1256,7 @@ public PaginationIterable<Monitor> listMonitorsWithPagination(
12561256
}
12571257

12581258
/**
1259-
* Get details about the specified monitor from your organization.
1259+
* Get all monitors from your organization.
12601260
*
12611261
* @param parameters Optional parameters for the request.
12621262
* @return ApiResponse&lt;List&lt;Monitor&gt;&gt;
@@ -1318,7 +1318,7 @@ public ApiResponse<List<Monitor>> listMonitorsWithHttpInfo(
13181318
}
13191319

13201320
/**
1321-
* Get all monitor details.
1321+
* Get all monitors.
13221322
*
13231323
* <p>See {@link #listMonitorsWithHttpInfo}.
13241324
*

src/test/resources/com/datadog/api/client/v1/api/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)