Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions aspnetcore/fundamentals/openapi/include-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,19 +161,13 @@ 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).

<!-- For activation when https://github.com/dotnet/aspnetcore/issues/60518 is resolved ...

The follow sample demonstrates how to set a description for a parameter.

```csharp
app.MapGet("/attributes",
([Description("This is a description.")] string name) => "Hello world!");
```

-->

#### [Controllers](#tab/controllers)

The following sample demonstrates how to set a description for a parameter.
Expand Down
6 changes: 0 additions & 6 deletions aspnetcore/fundamentals/openapi/includes/include-metadata9.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,13 @@ 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).

<!-- For activation when https://github.com/dotnet/aspnetcore/issues/60518 is resolved ...

The follow sample demonstrates how to set a description for a parameter.

```csharp
app.MapGet("/attributes",
([Description("This is a description.")] string name) => "Hello world!");
```

-->

#### [Controllers](#tab/controllers)

The following sample demonstrates how to set a description for a parameter.
Expand Down