Describe the bug
Using latest versions of Swashbuckle (from 6.7.0 to the last one) with .NET 8.0.10, I have the same issue described in dotnet/aspnetcore#36412. If I revert to Swashbuckle.AspNetCore 6.6.2, everything works as expected.
Steps to reproduce
Use Swashbuckle.AspNetCore 6.7.0 or later and try the code at dotnet/aspnetcore#36412.
Swashbuckle.AspNetCore version
6.7.0 or later
.NET Version
8.0.403
Anything else?
No response