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