Skip to content

Commit 46124f7

Browse files
authored
Generate client from v7.6.1 REST API specs (#69)
* Generate client from v7.6.1 REST API specs This commit regenerates the client from the v7.6.1 REST API specs, and updates crate and doc versions to 7.6.0-alpha.1
1 parent af8be6d commit 46124f7

20 files changed

+75
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ that is compatible with the version of Elasticsearch you're using
6161

6262
```toml
6363
[dependencies]
64-
elasticsearch = "7.6.0-alpha.1"
64+
elasticsearch = "7.6.1-alpha.1"
6565
```
6666

6767
The following _optional_ dependencies may also be useful to create requests and read responses

api_generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "api_generator"
3-
version = "7.6.0-alpha.1"
3+
version = "7.6.1-alpha.1"
44
description = "Generates source code for elasticsearch package, from the Elasticsearch REST API specs"
55
authors = ["Elastic and Contributors"]
66
edition = "2018"

api_generator/last_downloaded_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v7.6.0
1+
v7.6.1

api_generator/rest_specs/delete_by_query.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
]
4242
},
4343
"params":{
44+
"analyzer": {
45+
"type" : "string",
46+
"description" : "The analyzer to use for the query string"
47+
},
4448
"analyze_wildcard": {
4549
"type" : "boolean",
4650
"description" : "Specify whether wildcard and prefix queries should be analyzed (default: false)"

api_generator/rest_specs/enrich.get_policy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"methods": [ "GET" ],
1010
"parts": {
1111
"name": {
12-
"type" : "string",
13-
"description" : "The name of the enrich policy"
12+
"type" : "list",
13+
"description" : "A comma-separated list of enrich policy names"
1414
}
1515
}
1616
},

api_generator/rest_specs/monitoring.bulk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"monitoring.bulk":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/es-monitoring.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html"
55
},
66
"stability":"experimental",
77
"url":{

api_generator/rest_specs/msearch_template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
"type" : "boolean",
7171
"description" : "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
7272
"default" : false
73+
},
74+
"ccs_minimize_roundtrips": {
75+
"type" : "boolean",
76+
"description" : "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution",
77+
"default" : "true"
7378
}
7479
},
7580
"body":{

api_generator/rest_specs/search_template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@
109109
"type":"boolean",
110110
"description":"Indicates whether hits.total should be rendered as an integer or an object in the rest search response",
111111
"default":false
112+
},
113+
"ccs_minimize_roundtrips": {
114+
"type" : "boolean",
115+
"description" : "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution",
116+
"default" : "true"
112117
}
113118
},
114119
"body":{

api_generator/rest_specs/slm.execute_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.execute_lifecycle":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-policy.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html"
55
},
66
"stability":"stable",
77
"url":{

api_generator/rest_specs/slm.get_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.get_status":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-get-status.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html"
55
},
66
"stability":"stable",
77
"url":{

0 commit comments

Comments
 (0)