diff --git a/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md b/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md index 559f4fc2b8..e3b0f8ce69 100644 --- a/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md +++ b/aspnetcore/fundamentals/openapi/aspnetcore-openapi.md @@ -352,7 +352,7 @@ app.MapGet("/attributes", ##### [Controllers](#tab/controllers) -In controller-based apps, the attribute can be used to exclude an endpoint from the OpenAPI document. +In controller-based apps, the 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: