1 type derived from HttpValidationProblemDetails
Microsoft.AspNetCore.Mvc.Core (1)
ValidationProblemDetails.cs (1)
14public class ValidationProblemDetails : HttpValidationProblemDetails
6 instantiations of HttpValidationProblemDetails
Microsoft.AspNetCore.Http.Extensions (2)
_generated\1\ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails(),
RequestDelegateFactory.cs (1)
1438ProblemDetails = new HttpValidationProblemDetails(errors)
Microsoft.AspNetCore.Http.Results (2)
Results.cs (1)
803var problemDetails = new HttpValidationProblemDetails(errors)
TypedResults.cs (1)
858var problemDetails = new HttpValidationProblemDetails(errors)
Microsoft.AspNetCore.Identity (1)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (1)
1444ProblemDetails = new HttpValidationProblemDetails(errors)
Microsoft.AspNetCore.Routing (1)
ValidationEndpointFilterFactory.cs (1)
100var problemDetails = new HttpValidationProblemDetails(validateContext.ValidationErrors)
44 references to HttpValidationProblemDetails
Microsoft.AspNetCore.Http.Abstractions (4)
ProblemDetails\HttpValidationProblemDetails.cs (4)
15/// Initializes a new instance of <see cref="HttpValidationProblemDetails"/>. 23/// Initializes a new instance of <see cref="HttpValidationProblemDetails"/> using the specified <paramref name="errors"/>. 32/// Initializes a new instance of <see cref="HttpValidationProblemDetails"/> using the specified <paramref name="errors"/>. 47/// Gets the validation errors associated with this instance of <see cref="HttpValidationProblemDetails"/>.
Microsoft.AspNetCore.Http.Extensions (18)
_generated\1\ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (14)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails>? _HttpValidationProblemDetails; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails> HttpValidationProblemDetails 22get => _HttpValidationProblemDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails> Create_HttpValidationProblemDetails(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails), 60Getter = static obj => ((global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails)obj).Errors, 61Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails)obj).Errors = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetProperty("Errors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string[]>), global::System.Array.Empty<global::System.Type>(), null),
_generated\12\ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
22if (type == typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails))
ProblemDetailsJsonContext.cs (1)
11[JsonSerializable(typeof(HttpValidationProblemDetails))]
Properties\AssemblyInfo.cs (1)
7[assembly: TypeForwardedTo(typeof(Microsoft.AspNetCore.Http.HttpValidationProblemDetails))]
src\aspnetcore\src\Shared\ProblemDetails\ProblemDetailsDefaults.cs (1)
183problemDetails.Status = problemDetails is HttpValidationProblemDetails ?
Microsoft.AspNetCore.Http.Results (15)
Results.cs (4)
755/// with a <see cref="HttpValidationProblemDetails"/> value. 779/// with a <see cref="HttpValidationProblemDetails"/> value. 803var problemDetails = new HttpValidationProblemDetails(errors) 818private static void CopyExtensions(IEnumerable<KeyValuePair<string, object?>>? extensions, HttpValidationProblemDetails problemDetails)
src\aspnetcore\src\Shared\ProblemDetails\ProblemDetailsDefaults.cs (1)
183problemDetails.Status = problemDetails is HttpValidationProblemDetails ?
TypedResults.cs (3)
816/// Produces a <see cref="StatusCodes.Status400BadRequest"/> response with an <see cref="HttpValidationProblemDetails"/> value. 837/// Produces a <see cref="StatusCodes.Status400BadRequest"/> response with an <see cref="HttpValidationProblemDetails"/> value. 858var problemDetails = new HttpValidationProblemDetails(errors)
ValidationProblem.cs (7)
16public sealed class ValidationProblem : IResult, IEndpointMetadataProvider, IStatusCodeHttpResult, IContentTypeHttpResult, IValueHttpResult, IValueHttpResult<HttpValidationProblemDetails> 18internal ValidationProblem(HttpValidationProblemDetails problemDetails) 31/// Gets the <see cref="HttpValidationProblemDetails"/> instance. 33public HttpValidationProblemDetails ProblemDetails { get; } 37HttpValidationProblemDetails? IValueHttpResult<HttpValidationProblemDetails>.Value => ProblemDetails; 79builder.Metadata.Add(ProducesResponseTypeMetadata.CreateUnvalidated(typeof(HttpValidationProblemDetails), StatusCodes.Status400BadRequest, ContentTypeConstants.ProblemDetailsContentTypes));
Microsoft.AspNetCore.Mvc.Core (2)
src\aspnetcore\src\Shared\ProblemDetails\ProblemDetailsDefaults.cs (1)
183problemDetails.Status = problemDetails is HttpValidationProblemDetails ?
ValidationProblemDetails.cs (1)
83/// Gets the validation errors associated with this instance of <see cref="HttpValidationProblemDetails"/>.
Microsoft.AspNetCore.Routing (5)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (4)
134/// Adds an <see cref="IProducesResponseTypeMetadata"/> with a <see cref="HttpValidationProblemDetails"/> type 151return Produces(builder, statusCode, typeof(HttpValidationProblemDetails), contentType); 155/// Adds an <see cref="IProducesResponseTypeMetadata"/> with a <see cref="HttpValidationProblemDetails"/> type 175return builder.WithMetadata(new ProducesResponseTypeMetadata(statusCode, typeof(HttpValidationProblemDetails), [contentType]));
ValidationEndpointFilterFactory.cs (1)
100var problemDetails = new HttpValidationProblemDetails(validateContext.ValidationErrors)