Skip to content

Commit

Permalink
Sort usings in generated code (#438)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia authored Nov 18, 2023
1 parent 84da38a commit cb16ad4
Show file tree
Hide file tree
Showing 24 changed files with 38 additions and 45 deletions.
5 changes: 2 additions & 3 deletions src/OpenSearch.Client/_Generated/Descriptors.Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.ClusterApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.DanglingIndicesApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
5 changes: 2 additions & 3 deletions src/OpenSearch.Client/_Generated/Descriptors.Ingest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.IngestApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
3 changes: 1 addition & 2 deletions src/OpenSearch.Client/_Generated/Descriptors.NoNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;

Expand Down
5 changes: 2 additions & 3 deletions src/OpenSearch.Client/_Generated/Descriptors.Nodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.NodesApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
5 changes: 2 additions & 3 deletions src/OpenSearch.Client/_Generated/Descriptors.Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.SnapshotApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
5 changes: 2 additions & 3 deletions src/OpenSearch.Client/_Generated/Descriptors.Tasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.TasksApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/_Generated/IOpenSearchClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Linq;
using OpenSearch.Client;
using OpenSearch.Client.Specification.ClusterApi;
using OpenSearch.Client.Specification.DanglingIndicesApi;
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.ClusterApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.DanglingIndices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.DanglingIndicesApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.Ingest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.IngestApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
2 changes: 1 addition & 1 deletion src/OpenSearch.Client/_Generated/Requests.NoNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;

Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.Nodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.NodesApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.Snapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.SnapshotApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.Tasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.TasksApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable RedundantBaseConstructorCall
// ReSharper disable UnusedTypeParameter
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Client/_Generated/Requests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using System.Text;
using OpenSearch.Net;
using OpenSearch.Net.Utf8Json;
using OpenSearch.Net.Specification.ClusterApi;
using OpenSearch.Net.Specification.DanglingIndicesApi;
using OpenSearch.Net.Specification.IngestApi;
using OpenSearch.Net.Specification.NodesApi;
using OpenSearch.Net.Specification.SnapshotApi;
using OpenSearch.Net.Specification.TasksApi;
using OpenSearch.Net.Utf8Json;

// ReSharper disable UnusedTypeParameter
namespace OpenSearch.Client
Expand Down
4 changes: 2 additions & 2 deletions src/OpenSearch.Net/_Generated/Api/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
// -----------------------------------------------
// ReSharper disable RedundantUsingDirective
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;

namespace OpenSearch.Net
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.ClusterApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.DanglingIndicesApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.IngestApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.NodesApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.SnapshotApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Text;

// ReSharper disable once CheckNamespace
namespace OpenSearch.Net.Specification.TasksApi
Expand Down

0 comments on commit cb16ad4

Please sign in to comment.