Skip to content

Commit 3fba15d

Browse files
committed
Update code gen
1 parent 1312be0 commit 3fba15d

File tree

6 files changed

+1153
-1058
lines changed

6 files changed

+1153
-1058
lines changed

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/root.html

Lines changed: 1150 additions & 1043 deletions
Large diffs are not rendered by default.

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/update.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@
8282
"type": "enum",
8383
"options": ["internal", "force"],
8484
"description": "Specific version type"
85-
},
86-
"detect_noop": {
87-
"type": "boolean",
88-
"description": "Specifying as true will cause Elasticsearch to check if there are changes and, if there aren’t, turn the update request into a noop."
8985
}
9086
}
9187
},

src/CodeGeneration/CodeGeneration.LowLevelClient/project.lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
"": [
190190
"CsQuery >= 1.3.5-beta5",
191191
"Newtonsoft.Json >= 8.0.2",
192-
"ShellProgressBar >= 1.2.0",
193-
"RazorMachine >= 2.6.1"
192+
"RazorMachine >= 2.6.1",
193+
"ShellProgressBar >= 1.2.0"
194194
],
195195
"DNX,Version=v4.5.1": [
196196
"fx/System.Runtime ",

src/Elasticsearch.Net/Domain/RequestParameters/RequestParameters.Generated.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Text;
6+
using System.Linq.Expressions;
67

78
//This file contains all the typed querystring parameters that are generated of the client spec.
89
//This file is automatically generated from https://github.com/elasticsearch/elasticsearch-rest-api-spec
@@ -3335,9 +3336,6 @@ public class UpdateRequestParameters : FluentRequestParameters<UpdateRequestPara
33353336
///<summary>Specific version type</summary>
33363337
public UpdateRequestParameters VersionType(VersionType version_type) => this.AddQueryString("version_type", version_type);
33373338

3338-
///<summary>Specifying as true will cause Elasticsearch to check if there are changes and, if there aren&#226;€™t, turn the update request into a noop.</summary>
3339-
public UpdateRequestParameters DetectNoop(bool detect_noop) => this.AddQueryString("detect_noop", detect_noop);
3340-
33413339
///<summary>The URL-encoded request definition</summary>
33423340
public UpdateRequestParameters Source(string source) => this.AddQueryString("source", source);
33433341

src/Nest/_Generated/_Descriptors.generated.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4457,9 +4457,6 @@ public UpdateDescriptor(IndexName index, TypeName type, Id id) : base(r=>r.Requi
44574457
///<summary>Specific version type</summary>
44584458
public UpdateDescriptor<TDocument, TPartialDocument> VersionType(VersionType version_type) => AssignParam(p=>p.VersionType(version_type));
44594459

4460-
///<summary>Specifying as true will cause Elasticsearch to check if there are changes and, if there aren&#226;€™t, turn the update request into a noop.</summary>
4461-
public UpdateDescriptor<TDocument, TPartialDocument> DetectNoop(bool detect_noop = true) => AssignParam(p=>p.DetectNoop(detect_noop));
4462-
44634460
///<summary>The URL-encoded request definition</summary>
44644461
public UpdateDescriptor<TDocument, TPartialDocument> Source(string source) => AssignParam(p=>p.Source(source));
44654462

src/Nest/_Generated/_Requests.generated.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5023,9 +5023,6 @@ public UpdateRequest(IndexName index, TypeName type, Id id) : base(r=>r.Required
50235023
///<summary>Specific version type</summary>
50245024
public VersionType VersionType { get { return Q<VersionType>("version_type"); } set { Q("version_type", value); } }
50255025

5026-
///<summary>Specifying as true will cause Elasticsearch to check if there are changes and, if there aren&#226;€™t, turn the update request into a noop.</summary>
5027-
public bool DetectNoop { get { return Q<bool>("detect_noop"); } set { Q("detect_noop", value); } }
5028-
50295026
///<summary>The URL-encoded request definition</summary>
50305027
public string Source { get { return Q<string>("source"); } set { Q("source", value); } }
50315028

0 commit comments

Comments
 (0)