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