diff --git a/aspnetcore/web-api/index.md b/aspnetcore/web-api/index.md index 549b908dcb..636a949c7c 100644 --- a/aspnetcore/web-api/index.md +++ b/aspnetcore/web-api/index.md @@ -376,7 +376,7 @@ The `NotFound` method produces an HTTP 404 status code with a `ProblemDetails` b ### Disable ProblemDetails response -The automatic creation of a `ProblemDetails` instance is disabled when the property is set to `true`. Add the following code in `Startup.ConfigureServices`: +The automatic creation of a `ProblemDetails` for error status codes is disabled when the property is set to `true`. Add the following code in `Startup.ConfigureServices`: ::: moniker-end