4 references to ValidationProblem
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
773
return
ValidationProblem
(errors, detail, instance, statusCode, title, type, (IEnumerable<KeyValuePair<string, object?>>?)extensions);
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (2)
1392
Assert.Throws<ArgumentNullException>("errors", () => Results.
ValidationProblem
(default(IDictionary<string, string[]>)));
1442
var result = Results.
ValidationProblem
(errors, detail, instance, statusCode, title, type, extensions) as ProblemHttpResult;
MinimalSample (1)
Program.cs (1)
87
"validation" => Results.
ValidationProblem
(errors, statusCode: 400, extensions: extensions),