Address PR review comments

pull/33773/head
Mike Kistler 2024-10-05 14:00:56 -05:00
parent 8c6a20e7bf
commit 31faf404a5
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ app.MapGet("/attributes",
##### [Controllers](#tab/controllers)
In controller-based apps, the <xref:Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute> attribute can be used to exclude an endpoint from the OpenAPI document.
In controller-based apps, the <xref:Microsoft.AspNetCore.Mvc.ApiExplorerSettingsAttribute> attribute can be used to exclude an endpoint or all endpoints in a controller class from the OpenAPI document.
The following example demonstrates how to exclude an endpoint from the generated OpenAPI document: