Skip to content

Commit 02907d9

Browse files
committed
Fix "pretty" & "human" query parameter issues
1 parent 29421cd commit 02907d9

File tree

6 files changed

+5
-86
lines changed

6 files changed

+5
-86
lines changed

output/schema/schema.json

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

output/schema/validation-errors.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,6 @@
344344
"type_alias definition _global.mget:ResponseItem / union_of / instance_of / Generics / instance_of - No type definition for '_global.mget.ResponseItem:TDocument'"
345345
]
346346
},
347-
"ml.get_memory_stats": {
348-
"request": [
349-
"Request: query parameter 'human' does not exist in the json spec",
350-
"request definition ml.get_memory_stats:Request / query - Property 'human' is already defined in an ancestor class"
351-
],
352-
"response": []
353-
},
354347
"ml.stop_datafeed": {
355348
"request": [
356349
"Request: missing json spec query parameter 'allow_no_datafeeds'"
@@ -434,11 +427,7 @@
434427
},
435428
"searchable_snapshots.clear_cache": {
436429
"request": [
437-
"Request: query parameter 'pretty' does not exist in the json spec",
438-
"Request: query parameter 'human' does not exist in the json spec",
439-
"Request: missing json spec query parameter 'index'",
440-
"request definition searchable_snapshots.clear_cache:Request / query - Property 'pretty' is already defined in an ancestor class",
441-
"request definition searchable_snapshots.clear_cache:Request / query - Property 'human' is already defined in an ancestor class"
430+
"Request: missing json spec query parameter 'index'"
442431
],
443432
"response": []
444433
},
@@ -554,13 +543,6 @@
554543
"Missing request & response"
555544
],
556545
"response": []
557-
},
558-
"xpack.info": {
559-
"request": [
560-
"Request: query parameter 'human' does not exist in the json spec",
561-
"request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class"
562-
],
563-
"response": []
564546
}
565547
},
566548
"generalErrors": []

output/typescript/types.ts

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

specification/ml/get_memory_stats/MlGetMemoryStatsRequest.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ export interface Request extends RequestBase {
3939
node_id?: Id
4040
}
4141
query_parameters: {
42-
/**
43-
* Specify this query parameter to include the fields with units in the response. Otherwise only
44-
* the `_in_bytes` sizes are returned in the response.
45-
*/
46-
human?: boolean
4742
/**
4843
* Period to wait for a connection to the master node. If no response is received before the timeout
4944
* expires, the request fails and returns an error.

specification/searchable_snapshots/clear_cache/SearchableSnapshotsClearCacheRequest.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@ export interface Request extends RequestBase {
3232
expand_wildcards?: ExpandWildcards
3333
allow_no_indices?: boolean
3434
ignore_unavailable?: boolean
35-
pretty?: boolean
36-
human?: boolean
3735
}
3836
}

specification/xpack/info/XPackInfoRequest.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ export interface Request extends RequestBase {
3333
*/
3434
categories?: XPackCategory[]
3535
accept_enterprise?: boolean
36-
/**
37-
* Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.
38-
* @server_default true
39-
*/
40-
human?: boolean
4136
}
4237
}
4338

0 commit comments

Comments
 (0)