Skip to content

Commit 71e63f7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7277fa7 of spec repo
1 parent dde5aff commit 71e63f7

37 files changed

+2669
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 380 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-12T12:29:36.611Z

cassettes/features/v2/test_optimization/Search-flaky-tests-returns-Bad-Request-response-with-invalid-limit.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-12T12:29:36.942Z

cassettes/features/v2/test_optimization/Search-flaky-tests-returns-OK-response-with-filtered-query.yml

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-12T12:29:37.443Z

cassettes/features/v2/test_optimization/Search-flaky-tests-returns-OK-response-with-specific-cursor.yml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-12T12:29:38.077Z

cassettes/features/v2/test_optimization/Search-flaky-tests-validates-response-structure.yml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Search flaky tests returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.search_flaky_tests".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::TestOptimizationAPI.new
8+
9+
body = DatadogAPIClient::V2::FlakyTestsSearchRequest.new({
10+
data: DatadogAPIClient::V2::FlakyTestsSearchRequestData.new({
11+
attributes: DatadogAPIClient::V2::FlakyTestsSearchRequestAttributes.new({
12+
filter: DatadogAPIClient::V2::FlakyTestsSearchFilter.new({
13+
query: "*",
14+
}),
15+
page: DatadogAPIClient::V2::FlakyTestsSearchPageOptions.new({
16+
limit: 10,
17+
}),
18+
sort: DatadogAPIClient::V2::FlakyTestsSearchSort::FQN_ASCENDING,
19+
}),
20+
type: DatadogAPIClient::V2::FlakyTestsSearchRequestDataType::SEARCH_FLAKY_TESTS_REQUEST,
21+
}),
22+
})
23+
opts = {
24+
body: body,
25+
}
26+
p api_instance.search_flaky_tests(opts)

0 commit comments

Comments
 (0)