Skip to content

Commit 9ad40ad

Browse files
committed
Revert "Fix a few watcher.put_watcher tests"
This reverts commit 4671fe8.
1 parent 4671fe8 commit 9ad40ad

File tree

5 files changed

+27
-89
lines changed

5 files changed

+27
-89
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 16 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/watcher/_types/Input.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import { Dictionary, SingleKeyDictionary } from '@spec_utils/Dictionary'
2121
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22-
import { AggregationContainer } from '@_types/aggregations/AggregationContainer'
2322
import {
2423
Id,
2524
IndexName,
@@ -29,7 +28,7 @@ import {
2928
Username
3029
} from '@_types/common'
3130
import { Host } from '@_types/Networking'
32-
import { integer, uint } from '@_types/Numeric'
31+
import { uint } from '@_types/Numeric'
3332
import { QueryContainer } from '@_types/query_dsl/abstractions'
3433
import { Duration } from '@_types/Time'
3534

@@ -146,18 +145,7 @@ export class SearchTemplateRequestBody {
146145
}
147146

148147
export class SearchInputRequestBody {
149-
query?: QueryContainer
150-
/**
151-
* Defines the aggregations that are run as part of the search request.
152-
* @aliases aggs */ // ES uses "aggregations" in serialization
153-
aggregations?: Dictionary<string, AggregationContainer>
154-
/**
155-
* The number of hits to return.
156-
* By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.
157-
* To page through more hits, use the `search_after` parameter.
158-
* @server_default 10
159-
*/
160-
size?: integer
148+
query: QueryContainer
161149
}
162150

163151
export class SimpleInput {

0 commit comments

Comments
 (0)