Skip to content
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

Swashbuckle is not supported on .NET 8 #31437

Closed
Nisden opened this issue Jan 12, 2024 · 4 comments · Fixed by #31441
Closed

Swashbuckle is not supported on .NET 8 #31437

Nisden opened this issue Jan 12, 2024 · 4 comments · Fixed by #31441
Assignees
Labels
seQUESTered Identifies that an issue has been imported into Quest. Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@Nisden
Copy link

Nisden commented Jan 12, 2024

Description

For .NET 8 Swashbuckle is mentioned as an option of working with OpenAPI specs.
However, Swashbuckle have not been updated for the past year, and is incompatible with .NET 8

See issues like domaindrivendev/Swashbuckle.AspNetCore#2707 & domaindrivendev/Swashbuckle.AspNetCore#2725

Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-swashbuckle?view=aspnetcore-8.0&tabs=visual-studio

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/getting-started-with-swashbuckle.md

Document ID

59222460-a971-e76e-4fe9-23d4d7d768ee

Article author

@zuckerthoben


Associated WorkItem - 199402

@dotnet-bot dotnet-bot added ⌚ Not Triaged Source - Docs.ms Docs Customer feedback via GitHub Issue labels Jan 12, 2024
@Rick-Anderson Rick-Anderson self-assigned this Jan 12, 2024
@Rick-Anderson Rick-Anderson added reQUEST Triggers an issue to be imported into Quest and removed ⌚ Not Triaged labels Jan 12, 2024
@github-actions github-actions bot added seQUESTered Identifies that an issue has been imported into Quest. and removed reQUEST Triggers an issue to be imported into Quest labels Jan 13, 2024
@Nisden
Copy link
Author

Nisden commented Jan 19, 2024

Hi @Rick-Anderson

You missed the in-page reference on the "Overview" page.

image

@vernou
Copy link

vernou commented Jan 22, 2024

The template dotnet new webapi use Swashbuckle :
WebApi-CSharp.csproj.in

Do you consider to replace by NSwag?

@konrad-jamrozik
Copy link
Contributor

Another reference to Swashbuckle from ASP.NET Core 8 docs:

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/openapi?view=aspnetcore-8.0#add-openapi-annotations-to-endpoints-via-withopenapi

Calling WithOpenApi on the endpoint adds to the endpoint's metadata. This metadata can be:

Consumed in third-party packages like Swashbuckle.AspNetCore.

@gabrielsimas
Copy link

gabrielsimas commented Feb 20, 2024

No problem! We'll do it for SwashBuckle... Lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
seQUESTered Identifies that an issue has been imported into Quest. Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants