12 references to ApiExplorerResponseFormat
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
ApiExplorerTest.cs (12)
607
var
responseFormat = Assert.Single(responseType.ResponseFormats);
761
var
responseFormat = Assert.Single(responseType.ResponseFormats);
768
var
responseFormat = Assert.Single(responseType.ResponseFormats);
860
var
textXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/xml");
862
var
applicationXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/xml");
865
var
textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json");
867
var
applicationJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/json");
886
var
applicationJson = Assert.Single(
891
var
textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json");
963
var
responseFormat = Assert.Single(responseType.ResponseFormats);
1645
public IList<
ApiExplorerResponseFormat
> ResponseFormats { get; }
1646
= new List<
ApiExplorerResponseFormat
>();