1 write to Type
Microsoft.AspNetCore.Mvc.Core (1)
ProducesErrorResponseTypeAttribute.cs (1)
27
Type
= type ?? throw new ArgumentNullException(nameof(type));
3 references to Type
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
ApiResponseTypeProvider.cs (1)
57
defaultErrorType = ((ProducesErrorResponseTypeAttribute)result!).
Type
;
EndpointMetadataApiDescriptionProvider.cs (1)
333
var 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"/>