Skip to content

Commit c5db8ba

Browse files
authored
Merge pull request #336 from Senparc/Develop
chore: Upgrade Swashbuckle.AspNetCore packages to version 10.0.0 acro…
2 parents 82a523d + 2076a95 commit c5db8ba

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

Sample/Senparc.CO2NET.Sample.net6/Senparc.CO2NET.Sample.net6.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<ProjectReference Include="..\..\src\Senparc.CO2NET.WebApi\Senparc.CO2NET.WebApi.csproj" />
2828
<ProjectReference Include="..\..\src\Senparc.CO2NET\Senparc.CO2NET.csproj" />
2929

30-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
31-
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.4.0" />
32-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.4.0" />
30+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.0.0" />
31+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.0.0" />
32+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.0.0" />
3333
</ItemGroup>
3434

3535
</Project>

Sample/Senparc.CO2NET.Sample.net7/Senparc.CO2NET.Sample.net7.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<ProjectReference Include="..\..\src\Senparc.CO2NET.WebApi\Senparc.CO2NET.WebApi.csproj" />
2828
<ProjectReference Include="..\..\src\Senparc.CO2NET\Senparc.CO2NET.csproj" />
2929

30-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
31-
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.4.0" />
32-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.4.0" />
30+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.0.0" />
31+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.0.0" />
32+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.0.0" />
3333
</ItemGroup>
3434

3535
</Project>

Sample/Senparc.CO2NET.Sample.net8/Senparc.CO2NET.Sample.net8.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
<ProjectReference Include="..\..\src\Senparc.CO2NET.WebApi\Senparc.CO2NET.WebApi.csproj" />
2525
<ProjectReference Include="..\..\src\Senparc.CO2NET\Senparc.CO2NET.csproj" />
2626

27-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
28-
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
29-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
27+
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.0.0" />
28+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.0.0" />
29+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.0.0" />
3030
</ItemGroup>
3131

3232
</Project>

src/Senparc.CO2NET.WebApi/Senparc.CO2NET.WebApi.csproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.1;net8.0</TargetFrameworks>
4-
<Version>2.1.4</Version>
4+
<Version>2.1.6-preview.1</Version>
55
<LangVersion>latest</LangVersion>
66
<AssemblyName>Senparc.CO2NET.WebApi</AssemblyName>
77
<RootNamespace>Senparc.CO2NET.WebApi</RootNamespace>
@@ -51,6 +51,7 @@
5151
[2025-08-20] v2.1.2 feat: Add default value GET to DefaultRequestMethod proprety
5252
[2025-08-20] v2.1.2.1 Update async detection logic in DocMethodInfo and increment project version
5353
[2025-09-06] v2.1.3 base module update
54+
[2025-11-21] v2.1.5 feat: update Swashbuckle.AspNetCore.Annotations to v10.0.0 for .NET 8.0 (netstandard2.1 remains on v6.5.0 for compatibility)
5455
</PackageReleaseNotes>
5556
</PropertyGroup>
5657
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
@@ -69,10 +70,13 @@
6970
<ItemGroup>
7071
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
7172
</ItemGroup>
72-
<ItemGroup>
73+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
74+
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="10.0.0" />
75+
</ItemGroup>
76+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
7377
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
74-
<!--<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />-->
7578
</ItemGroup>
79+
<!--<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />-->
7680
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.1'">
7781
<PackageReference Include="Microsoft.AspNetCore.App" />
7882
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.0" />

0 commit comments

Comments
 (0)