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