5 instantiations of ApiResponseFormat
Microsoft.AspNetCore.Mvc.ApiExplorer (5)
ApiResponseTypeProvider.cs (2)
421apiResponse.ApiResponseFormats.Add(new ApiResponseFormat 433apiResponse.ApiResponseFormats.Add(new ApiResponseFormat
EndpointMetadataApiDescriptionProvider.cs (3)
510return new ApiResponseFormat { MediaType = "text/plain" }; 515return new ApiResponseFormat { MediaType = "application/json" }; 539apiResponseFormats.Add(new ApiResponseFormat
6 references to ApiResponseFormat
Microsoft.AspNetCore.Mvc.Abstractions (2)
ApiExplorer\ApiResponseType.cs (2)
16public IList<ApiResponseFormat> ApiResponseFormats { get; set; } = new List<ApiResponseFormat>();
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
ApiResponseTypeProvider.cs (1)
491foreach (var format in newEntry.ApiResponseFormats)
EndpointMetadataApiDescriptionProvider.cs (2)
500private static ApiResponseFormat? CreateDefaultApiResponseFormat(Type responseType) 535private static void AddResponseContentTypes(IList<ApiResponseFormat> apiResponseFormats, IReadOnlyList<string> contentTypes)
Properties\AssemblyInfo.cs (1)
12[assembly: TypeForwardedTo(typeof(Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat))]