About 50 results
Open links in new tab
  1. Swagger AddSecurityRequirement Fails After Migrating from .NET 8 to ...

    Dec 4, 2025 · After reviewing your snippet, the main issue is similar to the previous one: Swashbuckle v10 requires a delegate for AddSecurityRequirement, and for OAuth2 you also need to include the …

  2. Introducción a Swashbuckle y ASP.NET Core | Microsoft Learn

    Obtenga información sobre cómo agregar Swashbuckle a un proyecto de ASP.NET Core Web API para integrar la interfaz de usuario de Swagger.

  3. Swagger setup error after upgrade - Microsoft Q&A

    Dec 30, 2025 · This error is caused by a version mismatch between Swashbuckle and Microsoft.OpenApi. Swashbuckle.AspNetCore 9.x depends on OpenAPI.NET 1.x, where …

  4. Use the generated OpenAPI documents | Microsoft Learn

    Feb 2, 2026 · The Swashbuckle.AspNetCore.SwaggerUi package provides a bundle of Swagger UI's web assets for use in apps. This package can be used to render a UI for the generated document.

  5. 開始使用 Swashbuckle 及 ASP.NET Core | Microsoft Learn

    Swashbuckle 必須使用 MVC 的 Microsoft.AspNetCore.Mvc.ApiExplorer 來探索路由和端點。 如果專案呼叫 AddMvc,則會自動探索路由和端點。 呼叫 AddMvcCore 時,必須明確呼叫 AddApiExplorer 方法 …

  6. How to enable OpenAPI v3 in in Azure Function isolated model with …

    Nov 25, 2024 · Hello 👋🏼 colleague @Anonymous To enable OpenAPI v3 in Azure Function isolated model with .NET 8.0, you can use the Swashbuckle.AspNetCore NuGet package. Here are the steps to …

  7. swagger setup error in the .net 8 - Microsoft Q&A

    Feb 3, 2024 · Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation for action - API.Controllers.OrdersController.GetOrdersForUser (API). See inner exception

  8. .NET 9 Open API Migration not returning the API Schema

    Feb 25, 2025 · I am migrating a .NET 6 API application to .NET 9. Installed the Microsoft.AspNetCore.OpenApi and Microsoft.Extensions.ApiDescription.Server packages with …

  9. Generate OpenAPI documents | Microsoft Learn

    Jan 6, 2026 · A Minimal API app can describe the OpenAPI specification for route handlers using Swashbuckle. For information about support for OpenAPI in controller-based APIs, see the .NET 9 …

  10. Use OpenAPI with gRPC JSON transcoding ASP.NET Core apps

    Feb 21, 2025 · Get started To enable OpenAPI with gRPC JSON transcoding: Setup gRPC JSON transcoding by following the getting started instructions. Add a package reference to …