domaindrivendev / Swashbuckle.AspNetCore

Swagger tools for documenting API's built on ASP.NET Core
MIT License
5.25k stars 1.31k forks source link

ASP.NET Core WebAPI - .NET 7: Swagger UI is empty, but still have HTML source #2572

Closed donhuvy closed 6 months ago

donhuvy commented 1 year ago

ASP.NET Core WebAPI - .NET 7: Swagger UI is empty, but still have HTML source

Upgrade source code from .NET 6 at here https://github.com/PacktPublishing/Ultimate-ASP.NET-5-Web-API-Development-Guide-/tree/main/Section%209/HotelListing.API to .NET 7. Then Swagger did not show.

https://stackoverflow.com/questions/74761184/asp-net-core-webapi-net-7-swagger-ui-is-empty-but-still-have-html-source

martincostello commented 6 months ago

Duplicate of #2290