1 write to Type
Microsoft.AspNetCore.Mvc.Core (1)
ProducesErrorResponseTypeAttribute.cs (1)
27Type = type ?? throw new ArgumentNullException(nameof(type));
3 references to Type
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
ApiResponseTypeProvider.cs (1)
57defaultErrorType = ((ProducesErrorResponseTypeAttribute)result!).Type;
EndpointMetadataApiDescriptionProvider.cs (1)
333var defaultErrorType = errorMetadata?.Type ?? typeof(void);
Microsoft.AspNetCore.Mvc.Core (1)
ProducesErrorResponseTypeAttribute.cs (1)
9/// <see cref="Type"/> specifies the error model type associated with a <see cref="ProducesResponseTypeAttribute"/>