Skip to content

Commit 3359b76

Browse files
committed
[codegen] update to latest spec
1 parent edd1002 commit 3359b76

File tree

5 files changed

+340
-4
lines changed

5 files changed

+340
-4
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -1678,8 +1678,9 @@
16781678
'indices.validate_query.Response': 'indices/validate_query/IndicesValidateQueryResponse.ts#L23-L30',
16791679
'inference._types.CompletionResult': 'inference/_types/Results.ts#L60-L65',
16801680
'inference._types.DeleteInferenceEndpointResult': 'inference/_types/Results.ts#L91-L96',
1681-
'inference._types.InferenceEndpoint': 'inference/_types/Services.ts#L23-L39',
1682-
'inference._types.InferenceEndpointInfo': 'inference/_types/Services.ts#L41-L53',
1681+
'inference._types.InferenceChunkingSettings': 'inference/_types/Services.ts#L60-L90',
1682+
'inference._types.InferenceEndpoint': 'inference/_types/Services.ts#L24-L44',
1683+
'inference._types.InferenceEndpointInfo': 'inference/_types/Services.ts#L46-L58',
16831684
'inference._types.InferenceResult': 'inference/_types/Results.ts#L79-L89',
16841685
'inference._types.RankedDocument': 'inference/_types/Results.ts#L67-L77',
16851686
'inference._types.SparseEmbeddingResult': 'inference/_types/Results.ts#L36-L38',
@@ -2968,10 +2969,10 @@
29682969
if (hash.length > 1) {
29692970
hash = hash.substring(1);
29702971
}
2971-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/cc849b6b0bb5b01a4482c506dab7c31499c6777a/specification/" + (paths[hash] || "");
2972+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/dad39772982ddcea4178fcfd84ed02bc4c5dcecd/specification/" + (paths[hash] || "");
29722973
</script>
29732974
</head>
29742975
<body>
2975-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/cc849b6b0bb5b01a4482c506dab7c31499c6777a/specification/">Elasticsearch API specification</a>.
2976+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/dad39772982ddcea4178fcfd84ed02bc4c5dcecd/specification/">Elasticsearch API specification</a>.
29762977
</body>
29772978
</html>

java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/StartIlmRequest.java

+12
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ public static StartIlmRequest of(Function<Builder, ObjectBuilder<StartIlmRequest
8585
}
8686

8787
/**
88+
* Explicit operation timeout for connection to master node
89+
* <p>
8890
* API name: {@code master_timeout}
8991
*/
9092
@Nullable
@@ -93,6 +95,8 @@ public final Time masterTimeout() {
9395
}
9496

9597
/**
98+
* Explicit operation timeout
99+
* <p>
96100
* API name: {@code timeout}
97101
*/
98102
@Nullable
@@ -114,6 +118,8 @@ public static class Builder extends RequestBase.AbstractBuilder<Builder> impleme
114118
private Time timeout;
115119

116120
/**
121+
* Explicit operation timeout for connection to master node
122+
* <p>
117123
* API name: {@code master_timeout}
118124
*/
119125
public final Builder masterTimeout(@Nullable Time value) {
@@ -122,13 +128,17 @@ public final Builder masterTimeout(@Nullable Time value) {
122128
}
123129

124130
/**
131+
* Explicit operation timeout for connection to master node
132+
* <p>
125133
* API name: {@code master_timeout}
126134
*/
127135
public final Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) {
128136
return this.masterTimeout(fn.apply(new Time.Builder()).build());
129137
}
130138

131139
/**
140+
* Explicit operation timeout
141+
* <p>
132142
* API name: {@code timeout}
133143
*/
134144
public final Builder timeout(@Nullable Time value) {
@@ -137,6 +147,8 @@ public final Builder timeout(@Nullable Time value) {
137147
}
138148

139149
/**
150+
* Explicit operation timeout
151+
* <p>
140152
* API name: {@code timeout}
141153
*/
142154
public final Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) {

java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/StopIlmRequest.java

+12
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public static StopIlmRequest of(Function<Builder, ObjectBuilder<StopIlmRequest>>
9090
}
9191

9292
/**
93+
* Explicit operation timeout for connection to master node
94+
* <p>
9395
* API name: {@code master_timeout}
9496
*/
9597
@Nullable
@@ -98,6 +100,8 @@ public final Time masterTimeout() {
98100
}
99101

100102
/**
103+
* Explicit operation timeout
104+
* <p>
101105
* API name: {@code timeout}
102106
*/
103107
@Nullable
@@ -119,6 +123,8 @@ public static class Builder extends RequestBase.AbstractBuilder<Builder> impleme
119123
private Time timeout;
120124

121125
/**
126+
* Explicit operation timeout for connection to master node
127+
* <p>
122128
* API name: {@code master_timeout}
123129
*/
124130
public final Builder masterTimeout(@Nullable Time value) {
@@ -127,13 +133,17 @@ public final Builder masterTimeout(@Nullable Time value) {
127133
}
128134

129135
/**
136+
* Explicit operation timeout for connection to master node
137+
* <p>
130138
* API name: {@code master_timeout}
131139
*/
132140
public final Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) {
133141
return this.masterTimeout(fn.apply(new Time.Builder()).build());
134142
}
135143

136144
/**
145+
* Explicit operation timeout
146+
* <p>
137147
* API name: {@code timeout}
138148
*/
139149
public final Builder timeout(@Nullable Time value) {
@@ -142,6 +152,8 @@ public final Builder timeout(@Nullable Time value) {
142152
}
143153

144154
/**
155+
* Explicit operation timeout
156+
* <p>
145157
* API name: {@code timeout}
146158
*/
147159
public final Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) {

0 commit comments

Comments
 (0)