Skip to content

Commit

Permalink
Merge pull request #961 from christianhelle/openapi-generator-net80-o…
Browse files Browse the repository at this point in the history
…ption

Add support for .NET 8.0 to the OpenAPI Generator target framework options
  • Loading branch information
christianhelle authored Jul 20, 2024
2 parents 43942b0 + f382093 commit ecbd309
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

0 comments on commit ecbd309

Please sign in to comment.