37 references to SupportedResponseTypes
Microsoft.AspNetCore.Mvc.FunctionalTests (37)
ApiExplorerTest.cs (37)
469var responseType = Assert.Single(description.SupportedResponseTypes); 489var responseType = Assert.Single(description.SupportedResponseTypes); 513Assert.Empty(description.SupportedResponseTypes); 534var responseType = Assert.Single(description.SupportedResponseTypes); 556var responseType = Assert.Single(description.SupportedResponseTypes); 578var responseType = Assert.Single(description.SupportedResponseTypes); 599var responseType = Assert.Single(description.SupportedResponseTypes); 623Assert.Equal(2, description.SupportedResponseTypes.Count); 624var responseType = description.SupportedResponseTypes[0]; 630responseType = description.SupportedResponseTypes[1]; 655Assert.Equal(2, description.SupportedResponseTypes.Count); 656var responseType = description.SupportedResponseTypes[0]; 662responseType = description.SupportedResponseTypes[1]; 687Assert.Equal(2, description.SupportedResponseTypes.Count); 688var responseType = description.SupportedResponseTypes[0]; 694responseType = description.SupportedResponseTypes[1]; 719Assert.Equal(2, description.SupportedResponseTypes.Count); 720var responseType = description.SupportedResponseTypes[0]; 726responseType = description.SupportedResponseTypes[1]; 751description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 788description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 823description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 852var responseType = Assert.Single(description.SupportedResponseTypes); 878var responseType = Assert.Single(description.SupportedResponseTypes); 901var responseType = Assert.Single(description.SupportedResponseTypes); 930var responseType = Assert.Single(description.SupportedResponseTypes); 957var responseType = Assert.Single(description.SupportedResponseTypes); 1246description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1275description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1309description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1335description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1366description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1401description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1436description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1476description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1517description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1546description.SupportedResponseTypes.OrderBy(r => r.StatusCode),