diff --git a/CHANGELOG.md b/CHANGELOG.md index f3baec322c..14abc1449e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Bumps `xunit` from 2.7.1 to 2.8.0 - Bumps `FSharp.Core` from 8.0.100 to 8.0.400 - Bumps `xunit.runner.visualstudio` from 2.5.8 to 2.8.2 -- Bumps `CSharpier.Core` from 0.27.3 to 0.28.2 +- Bumps `CSharpier.Core` from 0.27.3 to 0.29.0 - Bumps `Spectre.Console` from 0.48.0 to 0.49.1 - Bumps `Nullean.VsTest.Pretty.TestLogger` from 0.3.0 to 0.4.0 - Bumps `Microsoft.NET.Test.Sdk` from 17.9.0 to 17.10.0 @@ -190,4 +190,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) [1.6.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.5.0...v1.6.0 [1.5.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0 \ No newline at end of file +[1.3.0]: https://github.com/opensearch-project/opensearch-net/compare/v1.2.0...v1.3.0 diff --git a/src/ApiGenerator/ApiGenerator.csproj b/src/ApiGenerator/ApiGenerator.csproj index d3fc1a62ba..e52d09dbb6 100644 --- a/src/ApiGenerator/ApiGenerator.csproj +++ b/src/ApiGenerator/ApiGenerator.csproj @@ -9,7 +9,7 @@ true - + @@ -20,6 +20,7 @@ + diff --git a/src/OpenSearch.Net/_Generated/Api/Enums.cs b/src/OpenSearch.Net/_Generated/Api/Enums.cs index 90b8a319f3..706c3a6523 100644 --- a/src/OpenSearch.Net/_Generated/Api/Enums.cs +++ b/src/OpenSearch.Net/_Generated/Api/Enums.cs @@ -86,7 +86,7 @@ public enum Bytes T, [EnumMember(Value = "tb")] - Tb + Tb, } [Flags, StringEnum] @@ -105,7 +105,7 @@ public enum ExpandWildcards None = 1 << 3, [EnumMember(Value = "open")] - Open = 1 << 4 + Open = 1 << 4, } [StringEnum] @@ -118,7 +118,7 @@ public enum Level Indices, [EnumMember(Value = "shards")] - Shards + Shards, } [StringEnum] @@ -143,7 +143,7 @@ public enum TimeUnit Nanos, [EnumMember(Value = "s")] - S + S, } public static partial class KnownEnums @@ -170,10 +170,9 @@ public static string GetStringValue(this Bytes enumValue) => Bytes.Pb => "pb", Bytes.T => "t", Bytes.Tb => "tb", - _ - => throw new ArgumentException( - $"'{enumValue.ToString()}' is not a valid value for enum 'Bytes'" - ) + _ => throw new ArgumentException( + $"'{enumValue.ToString()}' is not a valid value for enum 'Bytes'" + ), }; public static string GetStringValue(this ExpandWildcards enumValue) @@ -198,10 +197,9 @@ public static string GetStringValue(this Level enumValue) => Level.Cluster => "cluster", Level.Indices => "indices", Level.Shards => "shards", - _ - => throw new ArgumentException( - $"'{enumValue.ToString()}' is not a valid value for enum 'Level'" - ) + _ => throw new ArgumentException( + $"'{enumValue.ToString()}' is not a valid value for enum 'Level'" + ), }; public static string GetStringValue(this TimeUnit enumValue) => @@ -214,10 +212,9 @@ public static string GetStringValue(this TimeUnit enumValue) => TimeUnit.Ms => "ms", TimeUnit.Nanos => "nanos", TimeUnit.S => "s", - _ - => throw new ArgumentException( - $"'{enumValue.ToString()}' is not a valid value for enum 'TimeUnit'" - ) + _ => throw new ArgumentException( + $"'{enumValue.ToString()}' is not a valid value for enum 'TimeUnit'" + ), }; } }