12 references to ApiExplorerResponseFormat
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
ApiExplorerTest.cs (12)
590
var
responseFormat = Assert.Single(responseType.ResponseFormats);
744
var
responseFormat = Assert.Single(responseType.ResponseFormats);
751
var
responseFormat = Assert.Single(responseType.ResponseFormats);
843
var
textXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/xml");
845
var
applicationXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/xml");
848
var
textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json");
850
var
applicationJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/json");
869
var
applicationJson = Assert.Single(
874
var
textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json");
946
var
responseFormat = Assert.Single(responseType.ResponseFormats);
1595
public IList<
ApiExplorerResponseFormat
> ResponseFormats { get; }
1596
= new List<
ApiExplorerResponseFormat
>();