Skip to content

Commit 7c1cbe8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a26b725 of spec repo
1 parent 4041c20 commit 7c1cbe8

File tree

4 files changed

+2
-53
lines changed

4 files changed

+2
-53
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.py

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

src/datadog_api_client/v1/api/synthetics_api.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -695,11 +695,6 @@ def __init__(self, api_client=None):
695695
"attribute": "include_full_config",
696696
"location": "query",
697697
},
698-
"search_suites": {
699-
"openapi_types": (bool,),
700-
"attribute": "search_suites",
701-
"location": "query",
702-
},
703698
"facets_only": {
704699
"openapi_types": (bool,),
705700
"attribute": "facets_only",
@@ -1438,22 +1433,19 @@ def search_tests(
14381433
*,
14391434
text: Union[str, UnsetType] = unset,
14401435
include_full_config: Union[bool, UnsetType] = unset,
1441-
search_suites: Union[bool, UnsetType] = unset,
14421436
facets_only: Union[bool, UnsetType] = unset,
14431437
start: Union[int, UnsetType] = unset,
14441438
count: Union[int, UnsetType] = unset,
14451439
sort: Union[str, UnsetType] = unset,
14461440
) -> SyntheticsListTestsResponse:
14471441
"""Search Synthetic tests.
14481442
1449-
Search for Synthetic tests and Test Suites.
1443+
Search for Synthetic tests.
14501444
14511445
:param text: The search query.
14521446
:type text: str, optional
14531447
:param include_full_config: If true, include the full configuration for each test in the response.
14541448
:type include_full_config: bool, optional
1455-
:param search_suites: If true, returns suites instead of tests.
1456-
:type search_suites: bool, optional
14571449
:param facets_only: If true, return only facets instead of full test details.
14581450
:type facets_only: bool, optional
14591451
:param start: The offset from which to start returning results.
@@ -1471,9 +1463,6 @@ def search_tests(
14711463
if include_full_config is not unset:
14721464
kwargs["include_full_config"] = include_full_config
14731465

1474-
if search_suites is not unset:
1475-
kwargs["search_suites"] = search_suites
1476-
14771466
if facets_only is not unset:
14781467
kwargs["facets_only"] = facets_only
14791468

tests/v1/features/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

0 commit comments

Comments
 (0)