Skip to content

Commit d7c3abe

Browse files
committed
Update Swashbuckle.AspNetCore.SwaggerGen to 10.0.1
1 parent 48067d2 commit d7c3abe

1,189 files changed

Lines changed: 58788 additions & 27315 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Directory.Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<PackageVersion Include="AwesomeAssertions" Version="9.3.0" />
66
<PackageVersion Include="JetBrains.Profiler.Api" Version="1.4.10" />
77
<PackageVersion Include="MessagePack" Version="2.5.198" />
8-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.11" />
8+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="10.0.0" />
99
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="10.0.0" />
1010
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" />
1111
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing" Version="1.1.2" />
1212
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing" Version="1.1.2" />
1313
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" />
1414
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />
1515
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.11" />
16-
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.11" />
16+
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0" />
1717
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.11" />
18-
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Server" Version="9.0.11">
18+
<PackageVersion Include="Microsoft.Extensions.ApiDescription.Server" Version="10.0.0">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageVersion>
@@ -31,7 +31,7 @@
3131
<PackageVersion Include="NSubstitute.Analyzers.CSharp" Version="1.0.17" />
3232
<PackageVersion Include="Serilog.Extensions.Logging" Version="9.0.2" />
3333
<PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" />
34-
<PackageVersion Include="Swashbuckle.AspNetCore.SwaggerGen" Version="8.1.4" />
34+
<PackageVersion Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.0.1" />
3535
<PackageVersion Include="Verify.Xunit" Version="31.7.1" />
3636
<PackageVersion Include="xunit" Version="2.9.3" />
3737
<PackageVersion Include="Xunit.Extensions.Logging" Version="1.1.0" />

Thinktecture.Runtime.Extensions.slnx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<Project Path="src/Thinktecture.Runtime.Extensions.AspNetCore/Thinktecture.Runtime.Extensions.AspNetCore.csproj" />
4343
<Project Path="src/Thinktecture.Runtime.Extensions.EntityFrameworkCore8/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.csproj" />
4444
<Project Path="src/Thinktecture.Runtime.Extensions.EntityFrameworkCore9/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.csproj" />
45-
<Project Path="src\Thinktecture.Runtime.Extensions.EntityFrameworkCore10\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.csproj" Type="C#" />
45+
<Project Path="src\Thinktecture.Runtime.Extensions.EntityFrameworkCore10\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.csproj" />
4646
<Project Path="src/Thinktecture.Runtime.Extensions.Json/Thinktecture.Runtime.Extensions.Json.csproj" />
4747
<Project Path="src/Thinktecture.Runtime.Extensions.MessagePack/Thinktecture.Runtime.Extensions.MessagePack.csproj" />
4848
<Project Path="src/Thinktecture.Runtime.Extensions.Newtonsoft.Json/Thinktecture.Runtime.Extensions.Newtonsoft.Json.csproj" />
@@ -56,12 +56,13 @@
5656
<Project Path="test/Thinktecture.Runtime.Extensions.AspNetCore.Tests/Thinktecture.Runtime.Extensions.AspNetCore.Tests.csproj" />
5757
<Project Path="test/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.Tests/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.Tests.csproj" />
5858
<Project Path="test/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.Tests/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.Tests.csproj" />
59-
<Project Path="test\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests.csproj" Type="C#" />
59+
<Project Path="test\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests.csproj" />
6060
<Project Path="test/Thinktecture.Runtime.Extensions.Json.Tests/Thinktecture.Runtime.Extensions.Json.Tests.csproj" />
6161
<Project Path="test/Thinktecture.Runtime.Extensions.MessagePack.Tests/Thinktecture.Runtime.Extensions.MessagePack.Tests.csproj" />
6262
<Project Path="test/Thinktecture.Runtime.Extensions.Newtonsoft.Json.Tests/Thinktecture.Runtime.Extensions.Newtonsoft.Json.Tests.csproj" />
6363
<Project Path="test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/Thinktecture.Runtime.Extensions.SourceGenerator.Tests.csproj" />
64-
<Project Path="test/Thinktecture.Runtime.Extensions.Swashbuckle.Tests/Thinktecture.Runtime.Extensions.Swashbuckle.Tests.csproj" />
64+
<Project Path="test/Thinktecture.Runtime.Extensions.Swashbuckle.3_0.Tests/Thinktecture.Runtime.Extensions.Swashbuckle.3_0.Tests.csproj" />
65+
<Project Path="test/Thinktecture.Runtime.Extensions.Swashbuckle.3_1.Tests/Thinktecture.Runtime.Extensions.Swashbuckle.3_1.Tests.csproj" />
6566
<Project Path="test/Thinktecture.Runtime.Extensions.Tests.Shared/Thinktecture.Runtime.Extensions.Tests.Shared.csproj" />
6667
<Project Path="test/Thinktecture.Runtime.Extensions.Tests/Thinktecture.Runtime.Extensions.Tests.csproj" />
6768
<File Path="test/Directory.Build.props" />

samples/AspNetCore.Samples/AspNetCore.Samples_demo.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,5 +611,10 @@
611611
"type": "string"
612612
}
613613
}
614-
}
614+
},
615+
"tags": [
616+
{
617+
"name": "demo"
618+
}
619+
]
615620
}

samples/AspNetCore.Samples/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using Microsoft.Extensions.DependencyInjection;
1313
using Microsoft.Extensions.Hosting;
1414
using Microsoft.Extensions.Logging;
15-
using Microsoft.OpenApi.Models;
15+
using Microsoft.OpenApi;
1616
using Serilog;
1717
using Serilog.Events;
1818
using Thinktecture.AspNetCore.ModelBinding;
@@ -150,6 +150,7 @@ private static Task StartServerAsync(ILoggerFactory loggerFactory)
150150
options.TagActionsBy(_ => ["demo"]);
151151
options.IncludeXmlComments(typeof(ProductName).Assembly);
152152
options.IncludeXmlComments(typeof(Program).Assembly);
153+
options.SupportNonNullableReferenceTypes();
153154
})
154155
.AddThinktectureOpenApiFilters(options => options.SmartEnumSchemaExtension = SmartEnumSchemaExtension.VarNamesFromStringRepresentation);
155156
})
@@ -199,6 +200,7 @@ private static Task StartMinimalWebApiAsync(ILoggerFactory loggerFactory)
199200
options.TagActionsBy(_ => ["demo"]);
200201
options.IncludeXmlComments(typeof(ProductName).Assembly);
201202
options.IncludeXmlComments(typeof(Program).Assembly);
203+
options.SupportNonNullableReferenceTypes();
202204
})
203205
.AddThinktectureOpenApiFilters(options => options.SmartEnumSchemaExtension = SmartEnumSchemaExtension.VarNamesFromStringRepresentation);
204206

samples/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Import Condition=" exists('$(ParentPropsFile)') " Project="$(ParentPropsFile)" />
88

99
<PropertyGroup>
10-
<TargetFramework>net9.0</TargetFramework>
10+
<TargetFramework>net10.0</TargetFramework>
1111
<NoWarn>$(NoWarn);CS1591;CA1052;CA1062;CA1303;CA1707;CA1801;CA2000;NU1903</NoWarn>
1212
<IsPackable>false</IsPackable>
1313
<ImplicitUsings>disable</ImplicitUsings>

src/Thinktecture.Runtime.Extensions.Swashbuckle/Swashbuckle/IAdHocUnionSchemaFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.OpenApi.Models;
1+
using Microsoft.OpenApi;
22
using Swashbuckle.AspNetCore.SwaggerGen;
33

44
namespace Thinktecture.Swashbuckle;

src/Thinktecture.Runtime.Extensions.Swashbuckle/Swashbuckle/IComplexValueObjectSchemaFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.OpenApi.Models;
1+
using Microsoft.OpenApi;
22
using Swashbuckle.AspNetCore.SwaggerGen;
33

44
namespace Thinktecture.Swashbuckle;

src/Thinktecture.Runtime.Extensions.Swashbuckle/Swashbuckle/IKeyedValueObjectSchemaFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.OpenApi.Models;
1+
using Microsoft.OpenApi;
22
using Swashbuckle.AspNetCore.SwaggerGen;
33

44
namespace Thinktecture.Swashbuckle;

src/Thinktecture.Runtime.Extensions.Swashbuckle/Swashbuckle/IKeylessSmartEnumSchemaFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.OpenApi.Models;
1+
using Microsoft.OpenApi;
22
using Swashbuckle.AspNetCore.SwaggerGen;
33

44
namespace Thinktecture.Swashbuckle;

src/Thinktecture.Runtime.Extensions.Swashbuckle/Swashbuckle/IRegularUnionSchemaFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.OpenApi.Models;
1+
using Microsoft.OpenApi;
22
using Swashbuckle.AspNetCore.SwaggerGen;
33

44
namespace Thinktecture.Swashbuckle;

0 commit comments

Comments
 (0)