25 references to HttpValidationProblemDetails
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpValidationProblemDetailsJsonConverterTest.cs (1)
17var problemDetails = new HttpValidationProblemDetails();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ProblemDetailsDefaultWriterTest.cs (2)
252var expectedProblem = new HttpValidationProblemDetails() 295var expectedProblem = new HttpValidationProblemDetails()
Microsoft.AspNetCore.Http.Results.Tests (22)
AcceptedAtRouteOfTResultTests.cs (1)
26var obj = new HttpValidationProblemDetails();
AcceptedOfTResultTests.cs (1)
53var obj = new HttpValidationProblemDetails();
BadRequestOfTResultTests.cs (1)
36var obj = new HttpValidationProblemDetails();
CreatedAtRouteOfTResultTests.cs (1)
27var obj = new HttpValidationProblemDetails();
CreatedOfTResultTests.cs (1)
23var obj = new HttpValidationProblemDetails();
InternalServerErrorOfTResultTests.cs (1)
36var obj = new HttpValidationProblemDetails();
JsonResultTests.cs (2)
145var details = new HttpValidationProblemDetails(); 206var details = new HttpValidationProblemDetails();
NotFoundOfTResultTests.cs (1)
21var obj = new HttpValidationProblemDetails();
OkOfTResultTests.cs (1)
34var obj = new HttpValidationProblemDetails();
ProblemResultTests.cs (1)
80var details = new HttpValidationProblemDetails();
ResultsTests.cs (1)
1377var problem = new HttpValidationProblemDetails { Title = "Test title" };
TypedResultsTests.cs (1)
1169var problem = new HttpValidationProblemDetails { Title = "Test title" };
UnprocessableEntityOfTResultTests.cs (1)
22var obj = new HttpValidationProblemDetails();
ValidationProblemResultTests.cs (8)
23var details = new HttpValidationProblemDetails(); 52var details = new HttpValidationProblemDetails(); 90new HttpValidationProblemDetails { Status = StatusCodes.Status413RequestEntityTooLarge, })); 115var result = new ValidationProblem(new()); 134var result = Assert.IsAssignableFrom<IStatusCodeHttpResult>(new ValidationProblem(new HttpValidationProblemDetails())); 142var value = new HttpValidationProblemDetails(); 154var value = new HttpValidationProblemDetails(); 169var result = Assert.IsAssignableFrom<IContentTypeHttpResult>(new ValidationProblem(new()));