-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet new webapi template : package reference Swashbuckle.AspNetCore version isn't the last one #52246
Comments
@diplomegalo Thanks for opening this issue! We typically upgrade the Swashbuckle.AspNetCore version after we've had the chance to test with the new iteration. We weren't able to get to this the last time Swashbuckle.AspNetCore was updated. Updating the version will only affect .NET 9 and beyond at this point, so we'll wait to here more feedback on the value of this before we do so. Outside that, it's fairly easy for developers to upgrade the version themselves so this is low-pri. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Tried upgrading to Swashbuckle.AspNetCore 6.5.0 to fix DateOnly serialisation but it breaks Swagger.json as mentioned in this Swashbuckle comment dotnet --version |
@RandomBuffer Take a look at #54599 for our future plans in the OpenAPI effort. I'm going to close this issue as we plan on removing Swashbuckle.AspNetCore from the templates. As for the immediate problem you are running into with |
thanks @captainsafia yeah have read that plan, super exciting. |
Is there an existing issue for this?
Describe the bug
Project created with dotnet new cli reference an old version of Swashbuckle.AspNetCore.
Expected Behavior
The csproj should reference the version 6.5.0 :
Steps To Reproduce
dotnet new webapi
Exceptions (if any)
No response
.NET Version
8.0.100
Anything else?
I suggest you to change the SwashbuckleAspNetCoreVersion value to 6.5.0.
The text was updated successfully, but these errors were encountered: