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

Getting Started with NSwag and Swashbuckle: Note and link to new OpenAPI overview #34558

Open
wadepickett opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
aspnet-core/svc okr-freshness Content health freshness internal initiative Source - Docs.ms Docs Customer feedback via GitHub Issue tutorials/subsvc

Comments

@wadepickett
Copy link
Contributor

wadepickett commented Jan 24, 2025

Description

https://learn.microsoft.com/en-us/aspnet/core/tutorials/getting-started-with-nswag

In PR #33431 these topics were locked down to version 8 and will not be moved up to newer versions.
aspnetcore/tutorials/getting-started-with-NSwag.md
aspnetcore/tutorials/getting-started-with-swashbuckle.md
aspnetcore/tutorials/web-api-help-pages-using-swagger.md

However, the traffic going to these topics are significant. It is also a high priority item on the freshness to do list as a result with getting-started-with-NSwag.md being the highest on that list.

I think a note should be added at the very top indicating the new OpenAPI supoprt available starting with .NET 9 and link to the overview (and starting point) for the new OpenAPI topics here: https://learn.microsoft.com/aspnet/core/fundamentals/openapi/overview.

Page URL

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

Content source URL

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

Document ID

25f7fb5b-92b0-a45b-57ab-fdceab571884

Article author

@zuckerthoben

Metadata

  • ID: 2483813a-3c16-7ddd-3160-43e6843b55d4
  • Service: aspnet-core
  • Sub-service: tutorials

Related Issues

@wadepickett
Copy link
Contributor Author

@tdykstra, what do you think of my suggestion here? I ask since you put in the original fix for .NET 9 here and figured you might have some thoughts on it: https://github.com/dotnet/AspNetCore.Docs/pull/33431/files.

@wadepickett wadepickett changed the title Getting Started with NSwag and Swashbuckle topics: Add note and link to new OpenAPI overview Getting Started with NSwag and Swashbuckle: Note and link to new OpenAPI overview Jan 24, 2025
@tdykstra
Copy link
Contributor

I think a note should be added at the very top indicating the new OpenAPI support available starting with .NET 9 and link to the overview (and starting point) for the new OpenAPI topics here: https://learn.microsoft.com/aspnet/core/fundamentals/openapi/overview.

I agree. The system provides a "this is the latest version" banner, but it's easy to miss and doesn't explain why. I think a brief explanation about these three ending with .NET 8 an OpenAPI taking over, in an alert box at the top of the page, would help a lot of people who might otherwise think there's something wrong with our version selection UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspnet-core/svc okr-freshness Content health freshness internal initiative Source - Docs.ms Docs Customer feedback via GitHub Issue tutorials/subsvc
Projects
Development

No branches or pull requests

2 participants