Skip to content

Commit 779c776

Browse files
authored
Merge pull request #2 from PandaTechAM/development
.net 9 upgrade
2 parents fc80668 + 05470c3 commit 779c776

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Setup .NET Core
22-
uses: actions/setup-dotnet@v3
22+
uses: actions/setup-dotnet@v4
2323
with:
2424
global-json-file: global.json
2525

src/FluentMinimalApiMapper/AddEndpointExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public static WebApplicationBuilder AddEndpoints(this WebApplicationBuilder buil
3838
throw new InvalidOperationException("Entry assembly not found.");
3939
}
4040

41-
return builder.AddEndpoints(new[] { entryAssembly });
41+
return builder.AddEndpoints([entryAssembly]);
4242
}
4343
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<PackageIcon>pandatech.png</PackageIcon>
88
<PackageReadmeFile>Readme.md</PackageReadmeFile>
99
<Authors>Pandatech</Authors>
1010
<Copyright>MIT</Copyright>
11-
<Version>1.1.0</Version>
11+
<Version>2.0.0</Version>
1212
<PackageId>Pandatech.FluentMinimalApiMapper</PackageId>
1313
<Title>FluentMinimalApiMapper: Effortless Endpoint Integration</Title>
1414
<PackageTags>Pandatech, library, MinimalAPI, AutoMapping, FluentAPI, EndpointRegistration</PackageTags>
1515
<Description>FluentMinimalApiMapper redefines the simplicity of minimal API development, offering an intuitive and automated approach to endpoint mapping. With a focus on streamlined integration, this NuGet package by PandaTech is the perfect tool for developers looking to enhance the efficiency and readability of their modular applications. Dive into the seamless world of API development with FluentMinimalApiMapper, where every route is a journey simplified.</Description>
1616
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-fluent-minimal-api-mapper</RepositoryUrl>
17-
<PackageReleaseNotes>Fix bug</PackageReleaseNotes>
17+
<PackageReleaseNotes>.Net 9 upgrade</PackageReleaseNotes>
1818
</PropertyGroup>
1919

2020
<ItemGroup>
@@ -23,7 +23,7 @@
2323
</ItemGroup>
2424

2525
<ItemGroup>
26-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
26+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0" />
2727
</ItemGroup>
2828

2929
</Project>

src/FluentMinimalApiMapper/MapEndpointExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace FluentMinimalApiMapper;
66

77
public static class MapEndpointExtension
88
{
9-
public static IApplicationBuilder MapEndpoints(this WebApplication app, RouteGroupBuilder? routeGroupBuilder = null)
9+
public static WebApplication MapEndpoints(this WebApplication app, RouteGroupBuilder? routeGroupBuilder = null)
1010
{
1111
var endpoints = app.Services
1212
.GetRequiredService<IEnumerable<IEndpoint>>();

0 commit comments

Comments
 (0)