4 references to SuppressMapClientErrors
Microsoft.AspNetCore.Mvc.Core (4)
ApiBehaviorOptions.cs (1)
89
/// Use of this feature can be disabled by resetting <see cref="
SuppressMapClientErrors
"/>.
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (2)
28
if (!options.
SuppressMapClientErrors
)
43
var defaultErrorType = options.
SuppressMapClientErrors
? typeof(void) : typeof(ProblemDetails);
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
48
if (apiControllerAttribute is null || _apiBehaviorOptions.
SuppressMapClientErrors
)