13 references to ApiConventionMethodAttribute
ApiExplorerWebSite (1)
Controllers\ApiExplorerResponseTypeWithApiConventionController.cs (1)
42[ApiConventionMethod(typeof(CustomConventions), nameof(CustomConventions.CustomConventionMethod))]
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
ApiResponseTypeProviderTest.cs (1)
278[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Get))]
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApiConventionMethodAttributeTest.cs (6)
22() => new ApiConventionMethodAttribute(typeof(ConventionWithProducesAttribute), nameof(ConventionWithProducesAttribute.Get)), 44() => new ApiConventionMethodAttribute(typeof(object), nameof(object.ToString)), 81new ApiConventionMethodAttribute(typeof(ConventionWithNullableContextAttribute), nameof(ConventionWithNullableContextAttribute.Get)); 96() => new ApiConventionMethodAttribute(typeof(TestConventions), "DoesNotExist"), 113() => new ApiConventionMethodAttribute(typeof(TestConventions), "NotPublic"), 130() => new ApiConventionMethodAttribute(typeof(TestConventions), nameof(TestConventions.Method)),
ApiExplorer\ApiConventionResultTest.cs (1)
214[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Post))]
Mvc.Api.Analyzers.Test (4)
TestFiles\AddResponseTypeAttributeCodeFixProviderIntegrationTest\CodeFixWithConventionMethodAddsMissingStatusCodes.Input.cs (1)
7[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Find))]
TestFiles\ApiConventionAnalyzerIntegrationTest\DiagnosticsAreReturned_IfMethodWithApiConventionMethod_ReturnsUndocumentedStatusCode.cs (1)
13[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Post))]
TestFiles\SymbolApiResponseMetadataProviderTest\GetResponseMetadataTests.cs (2)
47[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Find))] 51[ApiConventionMethod(typeof(DefaultApiConventions), nameof(DefaultApiConventions.Find))]