5 references to StatusCode
Microsoft.AspNetCore.Mvc.Api.Analyzers (5)
AddResponseTypeAttributeCodeFixAction.cs (1)
189
var statusCode = metadata.IsDefaultResponse ? 200 : metadata.
StatusCode
;
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (1)
108
if (!metadata.HasValue || metadata.Value.
StatusCode
!= 400)
ApiConventionAnalyzer.cs (1)
69
actualMetadata.
StatusCode
));
DeclaredApiResponseMetadata.cs (2)
87
else if (actualMetadata.
StatusCode
== StatusCode)
91
else if (actualMetadata.
StatusCode
>= 400 && IsDefault)