Skip to content

Commit dc8b3b7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a26b725 of spec repo
1 parent 2e6b2d7 commit dc8b3b7

File tree

5 files changed

+2
-66
lines changed

5 files changed

+2
-66
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34051,7 +34051,7 @@ paths:
3405134051
- synthetics_write
3405234052
/api/v1/synthetics/tests/search:
3405334053
get:
34054-
description: Search for Synthetic tests and Test Suites.
34054+
description: Search for Synthetic tests.
3405534055
operationId: SearchTests
3405634056
parameters:
3405734057
- description: The search query.
@@ -34067,12 +34067,6 @@ paths:
3406734067
required: false
3406834068
schema:
3406934069
type: boolean
34070-
- description: If true, returns suites instead of tests.
34071-
in: query
34072-
name: search_suites
34073-
required: false
34074-
schema:
34075-
type: boolean
3407634070
- description: If true, return only facets instead of full test details.
3407734071
in: query
3407834072
name: facets_only

examples/v1/synthetics/SearchTests_195957771.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

features/support/scenarios_model_mapping.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2110,10 +2110,6 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
21102110
"type": "boolean",
21112111
"format": "",
21122112
},
2113-
"searchSuites": {
2114-
"type": "boolean",
2115-
"format": "",
2116-
},
21172113
"facetsOnly": {
21182114
"type": "boolean",
21192115
"format": "",

features/v1/synthetics.feature

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -803,19 +803,6 @@ Feature: Synthetics
803803
When the request is sent
804804
Then the response status is 200 OK - Returns the list of Synthetic tests matching the search.
805805

806-
@team:DataDog/synthetics-managing
807-
Scenario: Search Synthetic tests with boolean query parameters
808-
Given new "SearchTests" request
809-
And request contains "text" parameter with value "tag:value"
810-
And request contains "include_full_config" parameter with value true
811-
And request contains "search_suites" parameter with value true
812-
And request contains "facets_only" parameter with value true
813-
And request contains "start" parameter with value 10
814-
And request contains "count" parameter with value 5
815-
And request contains "sort" parameter with value "name,desc"
816-
When the request is sent
817-
Then the response status is 200 OK - Returns the list of Synthetic tests matching the search.
818-
819806
@generated @skip @team:DataDog/synthetics-managing
820807
Scenario: Trigger Synthetic tests returns "Bad Request" response
821808
Given new "TriggerTests" request

packages/datadog-api-client-v1/apis/SyntheticsApi.ts

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,6 @@ export class SyntheticsApiRequestFactory extends BaseAPIRequestFactory {
10691069
public async searchTests(
10701070
text?: string,
10711071
includeFullConfig?: boolean,
1072-
searchSuites?: boolean,
10731072
facetsOnly?: boolean,
10741073
start?: number,
10751074
count?: number,
@@ -1103,13 +1102,6 @@ export class SyntheticsApiRequestFactory extends BaseAPIRequestFactory {
11031102
""
11041103
);
11051104
}
1106-
if (searchSuites !== undefined) {
1107-
requestContext.setQueryParam(
1108-
"search_suites",
1109-
ObjectSerializer.serialize(searchSuites, "boolean", ""),
1110-
""
1111-
);
1112-
}
11131105
if (facetsOnly !== undefined) {
11141106
requestContext.setQueryParam(
11151107
"facets_only",
@@ -3823,11 +3815,6 @@ export interface SyntheticsApiSearchTestsRequest {
38233815
* @type boolean
38243816
*/
38253817
includeFullConfig?: boolean;
3826-
/**
3827-
* If true, returns suites instead of tests.
3828-
* @type boolean
3829-
*/
3830-
searchSuites?: boolean;
38313818
/**
38323819
* If true, return only facets instead of full test details.
38333820
* @type boolean
@@ -4546,7 +4533,7 @@ export class SyntheticsApi {
45464533
}
45474534

45484535
/**
4549-
* Search for Synthetic tests and Test Suites.
4536+
* Search for Synthetic tests.
45504537
* @param param The request object
45514538
*/
45524539
public searchTests(
@@ -4556,7 +4543,6 @@ export class SyntheticsApi {
45564543
const requestContextPromise = this.requestFactory.searchTests(
45574544
param.text,
45584545
param.includeFullConfig,
4559-
param.searchSuites,
45604546
param.facetsOnly,
45614547
param.start,
45624548
param.count,

0 commit comments

Comments
 (0)