swagger
2 TopicsHow to fix Failed to Load API Definition error in SwaggerUI when hosting an ASP.NET Core API in IIS
When hosting an ASP.NET Core API, it’s not uncommon to encounter the "Failed to load API definition" error in SwaggerUI. This article will explore the reasons behind this error and provide steps to resolve it.20KViews5likes4CommentsAuto-Regenerating API Client for Your Open API Project
You can generate up-to-date client code for your API, on solution build, leveraging the power of swagger and NSwag. This post is inspired by and builds on Generating HTTP API clients using Visual Studio Connected Services - .NET Blog (microsoft.com).