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