3 writes to SuppressMapClientErrors
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
151var provider = GetProvider(new ApiBehaviorOptions { SuppressMapClientErrors = true }); 202var provider = GetProvider(new ApiBehaviorOptions { SuppressMapClientErrors = true });
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (1)
171var writer = GetWriter(options: new ApiBehaviorOptions() { SuppressMapClientErrors = true });
6 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)
28if (!options.SuppressMapClientErrors) 43var defaultErrorType = options.SuppressMapClientErrors ? typeof(void) : typeof(ProblemDetails);
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
48if (apiControllerAttribute is null || _apiBehaviorOptions.SuppressMapClientErrors)
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\MvcBuilderExtensionsTest.cs (1)
157Assert.True(options.SuppressMapClientErrors);
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (1)
100Assert.True(options.SuppressMapClientErrors);