7 instantiations of ApiResponseType
Microsoft.AspNetCore.Grpc.Swagger (2)
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
Microsoft.AspNetCore.OpenApi (1)
33 references to ApiResponseType
Microsoft.AspNetCore.Mvc.Abstractions (3)
Microsoft.AspNetCore.Mvc.ApiExplorer (26)
ApiResponseTypeProvider.cs (15)
35public ICollection<ApiResponseType> GetApiResponseTypes(ControllerActionDescriptor action)
90private ICollection<ApiResponseType> GetApiResponseTypes(
146foreach (var apiResponse in responseTypes.Values)
159internal static Dictionary<ResponseKey, ApiResponseType> ReadAttributeResponseMetadata(
183internal static Dictionary<ResponseKey, ApiResponseType> ReadFilterAttributeResponseMetadata(
193var results = new Dictionary<ResponseKey, ApiResponseType>();
224var apiResponseType = new ApiResponseType
280if (results.TryGetValue(key, out var existingEntry))
303internal static Dictionary<ResponseKey, ApiResponseType> ReadEndpointResponseMetadata(
309var results = new Dictionary<ResponseKey, ApiResponseType>();
323var apiResponseType = new ApiResponseType
353if (results.TryGetValue(key, out var existingEntry))
374internal static void CalculateResponseFormatForType(ApiResponseType apiResponse, MediaTypeCollection declaredContentTypes, IEnumerable<IApiResponseTypeMetadataProvider>? responseTypeMetadataProviders, IModelMetadataProvider? modelMetadataProvider)
489private static void MergeApiResponse(ApiResponseType existing, ApiResponseType newEntry)
Microsoft.AspNetCore.OpenApi (4)