12 references to ApiExplorerResponseFormat
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
ApiExplorerTest.cs (12)
602var responseFormat = Assert.Single(responseType.ResponseFormats); 756var responseFormat = Assert.Single(responseType.ResponseFormats); 763var responseFormat = Assert.Single(responseType.ResponseFormats); 855var textXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/xml"); 857var applicationXml = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/xml"); 860var textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json"); 862var applicationJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "application/json"); 881var applicationJson = Assert.Single( 886var textJson = Assert.Single(responseType.ResponseFormats, f => f.MediaType == "text/json"); 958var responseFormat = Assert.Single(responseType.ResponseFormats); 1620public IList<ApiExplorerResponseFormat> ResponseFormats { get; } 1621= new List<ApiExplorerResponseFormat>();