From 27208746b0d1a0279c08fa1fb9ac5afab437f420 Mon Sep 17 00:00:00 2001 From: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> Date: Sat, 25 Oct 2025 10:40:45 +0200 Subject: [PATCH] enable minimal api example --- aspnetcore/fundamentals/openapi/include-metadata.md | 6 ------ .../fundamentals/openapi/includes/include-metadata9.md | 6 ------ 2 files changed, 12 deletions(-) diff --git a/aspnetcore/fundamentals/openapi/include-metadata.md b/aspnetcore/fundamentals/openapi/include-metadata.md index 3b7e6acf6145..aa737361778e 100644 --- a/aspnetcore/fundamentals/openapi/include-metadata.md +++ b/aspnetcore/fundamentals/openapi/include-metadata.md @@ -161,10 +161,6 @@ The [`[Description]`](xref:System.ComponentModel.DescriptionAttribute) attribute #### [Minimal APIs](#tab/minimal-apis) -The [`[Description]`](xref:System.ComponentModel.DescriptionAttribute) attribute works in an MVC app but doesn't work in a Minimal API app at this time. For more information, see [`Description` parameter of `ProducesResponseTypeAttribute` does not work in minimal API app (`dotnet/aspnetcore` #60518)](https://github.com/dotnet/aspnetcore/issues/60518). - - - #### [Controllers](#tab/controllers) The following sample demonstrates how to set a description for a parameter. diff --git a/aspnetcore/fundamentals/openapi/includes/include-metadata9.md b/aspnetcore/fundamentals/openapi/includes/include-metadata9.md index 4335e8bf68f8..b27cbaf7304d 100644 --- a/aspnetcore/fundamentals/openapi/includes/include-metadata9.md +++ b/aspnetcore/fundamentals/openapi/includes/include-metadata9.md @@ -145,10 +145,6 @@ The [`[Description]`](xref:System.ComponentModel.DescriptionAttribute) attribute #### [Minimal APIs](#tab/minimal-apis) -The [`[Description]`](xref:System.ComponentModel.DescriptionAttribute) attribute works in an MVC app but doesn't work in a Minimal API app at this time. For more information, see [`Description` parameter of `ProducesResponseTypeAttribute` does not work in minimal API app (`dotnet/aspnetcore` #60518)](https://github.com/dotnet/aspnetcore/issues/60518). - - - #### [Controllers](#tab/controllers) The following sample demonstrates how to set a description for a parameter.