From 2bf1e763083baedad3b8ab901da224e0c9e7d9d1 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Fri, 19 Aug 2022 15:31:20 -0700 Subject: [PATCH] endpoint descriptions and summaries --- aspnetcore/release-notes/aspnetcore-7.0.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aspnetcore/release-notes/aspnetcore-7.0.md b/aspnetcore/release-notes/aspnetcore-7.0.md index 71ba982e0949..a418090f76e1 100644 --- a/aspnetcore/release-notes/aspnetcore-7.0.md +++ b/aspnetcore/release-notes/aspnetcore-7.0.md @@ -85,6 +85,12 @@ In ASP.NET 7, binding query strings to an array of primitive types, string array Binding query strings or header values to an array of complex types is supported when the type has `TryParse` implemented. For more information, see [Bind arrays and string values from headers and query strings](xref:fundamentals/minimal-apis?view=aspnetcore-7.0&preserve-view=true#bindar). +### Provide endpoint descriptions and summaries + +Minimal APIs now support annotating operations with descriptions and summaries for OpenAPI spec generation. You can call extension methods and or use attributes [[EndpointDescription]](xref:Microsoft.AspNetCore.Http.EndpointDescriptionAttribute) and [[EndpointSummary]](xref:Microsoft.AspNetCore.Http.EndpointSummaryAttribute)). + +For more information, see [Add endpoint summary or description](xref:fundamentals/minimal-apis#add-endpoint-summary-or-description). + ## Bind the request body as a `Stream` or `PipeReader` The request body can bind as a [`Stream`](/dotnet/api/system.io.stream) or [`PipeReader`](/dotnet/api/system.io.pipelines.pipereader) to efficiently support scenarios where the user has to process data and: