diff --git a/src/Core/ApiClientCodeGen.Core.Tests/Extensions/EnumGetDescriptionTests.cs b/src/Core/ApiClientCodeGen.Core.Tests/Extensions/EnumGetDescriptionTests.cs index 0b05ae52db..c9adf811ce 100644 --- a/src/Core/ApiClientCodeGen.Core.Tests/Extensions/EnumGetDescriptionTests.cs +++ b/src/Core/ApiClientCodeGen.Core.Tests/Extensions/EnumGetDescriptionTests.cs @@ -16,10 +16,11 @@ public class EnumGetDescriptionTests [InlineData(OpenApiSupportedTargetFramework.NetStandard16, "netstandard1.6")] [InlineData(OpenApiSupportedTargetFramework.NetStandard20, "netstandard2.0")] [InlineData(OpenApiSupportedTargetFramework.NetStandard21, "netstandard2.1")] - [InlineData(OpenApiSupportedTargetFramework.NetCoreApp31, "netcoreapp3.1")] [InlineData(OpenApiSupportedTargetFramework.Net47, "net47")] - [InlineData(OpenApiSupportedTargetFramework.Net50, "net5.0")] + [InlineData(OpenApiSupportedTargetFramework.Net48, "net48")] [InlineData(OpenApiSupportedTargetFramework.Net60, "net6.0")] + [InlineData(OpenApiSupportedTargetFramework.Net70, "net7.0")] + [InlineData(OpenApiSupportedTargetFramework.Net80, "net8.0")] public void GetDescription_Returns_Description( OpenApiSupportedTargetFramework framework, string expected) diff --git a/src/Core/ApiClientCodeGen.Core/Options/OpenApiGenerator/OpenApiSupportedTargetFramework.cs b/src/Core/ApiClientCodeGen.Core/Options/OpenApiGenerator/OpenApiSupportedTargetFramework.cs index 133d3105d5..5e476c7ac9 100644 --- a/src/Core/ApiClientCodeGen.Core/Options/OpenApiGenerator/OpenApiSupportedTargetFramework.cs +++ b/src/Core/ApiClientCodeGen.Core/Options/OpenApiGenerator/OpenApiSupportedTargetFramework.cs @@ -16,13 +16,15 @@ public enum OpenApiSupportedTargetFramework NetStandard14, [Description("netstandard1.3")] NetStandard13, - [Description("netcoreapp3.1")] - NetCoreApp31, [Description("net47")] Net47, - [Description("net5.0")] - Net50, + [Description("net48")] + Net48, [Description("net6.0")] Net60, + [Description("net7.0")] + Net70, + [Description("net8.0")] + Net80, } } \ No newline at end of file