9 references to ActualApiResponseMetadataFactory
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
AddResponseTypeAttributeCodeFixAction.cs (1)
173
if (!
ActualApiResponseMetadataFactory
.TryGetActualResponseMetadata(context.SymbolCache, operation, out var actualResponseMetadata))
ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs (1)
102
var actualMetadata =
ActualApiResponseMetadataFactory
.InspectReturnOperation(
ApiConventionAnalyzer.cs (1)
48
var hasUnreadableStatusCodes = !
ActualApiResponseMetadataFactory
.TryGetActualResponseMetadata(symbolCache, (IMethodBodyOperation)context.Operation, out var actualResponseMetadata);
Mvc.Api.Analyzers.Test (6)
ActualApiResponseMetadataFactoryTest.cs (6)
31
var actual =
ActualApiResponseMetadataFactory
.GetDefaultStatusCode(attribute);
45
var actual =
ActualApiResponseMetadataFactory
.GetDefaultStatusCode(attribute);
81
var actualResponseMetadata =
ActualApiResponseMetadataFactory
.InspectReturnOperation(
377
var result =
ActualApiResponseMetadataFactory
.TryGetActualResponseMetadata(symbolCache, methodOperation, out var responseMetadatas);
398
return
ActualApiResponseMetadataFactory
.InspectReturnOperation(
417
return
ActualApiResponseMetadataFactory
.InspectReturnOperation(