Skip to content

Commit b344ee1

Browse files
ASP.NET Core does not collect metadata from XML doc comments. (#35257)
* ASP.NET Core does not collect metadata from XML doc comments. * Update aspnetcore/fundamentals/openapi/include-metadata.md Co-authored-by: Mike Kistler <[email protected]> * Update aspnetcore/fundamentals/openapi/include-metadata.md * Update aspnetcore/fundamentals/openapi/include-metadata.md * Update aspnetcore/fundamentals/openapi/include-metadata.md --------- Co-authored-by: Mike Kistler <[email protected]>
1 parent 858fb42 commit b344ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnetcore/fundamentals/openapi/include-metadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following table provides an overview of the metadata collected and the strat
3333
| responses | [`[Produces]`](xref:Microsoft.AspNetCore.Mvc.ProducesAttribute) | <xref:Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions.Produces%2A>, <xref:Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions.ProducesProblem%2A> | <xref:Microsoft.AspNetCore.Http.TypedResults> |
3434
| Excluding endpoints | [`[ExcludeFromDescription]`](xref:Microsoft.AspNetCore.Routing.ExcludeFromDescriptionAttribute), [`[ApiExplorerSettings]`](xref:Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute) | <xref:Microsoft.AspNetCore.Http.OpenApiRouteHandlerBuilderExtensions.ExcludeFromDescription%2A> | |
3535

36-
ASP.NET Core does not collect metadata from XML doc comments.
36+
ASP.NET Core can also collect metadata from XML doc comments. For more information, see <xref:fundamentals/openapi/aspnet-openapi-xml> for more details.
3737

3838
The following sections demonstrate how to include metadata in an app to customize the generated OpenAPI document.
3939

@@ -677,4 +677,4 @@ A schema transformer can be used to override any default metadata or add additio
677677

678678
[!INCLUDE[](~/fundamentals/openapi/includes/include-metadata9.md)]
679679

680-
:::moniker-end
680+
:::moniker-end

0 commit comments

Comments
 (0)