Skip to content

Commit cc3cabe

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4808a1a of spec repo
1 parent d277ed9 commit cc3cabe

File tree

4 files changed

+2
-27
lines changed

4 files changed

+2
-27
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const apiInstance = new v1.SyntheticsApi(configuration);
1010
const params: v1.SyntheticsApiSearchTestsRequest = {
1111
text: "tag:value",
1212
includeFullConfig: true,
13-
searchSuites: true,
1413
facetsOnly: true,
1514
start: 10,
1615
count: 5,

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": "",

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)