5 writes to HttpMethod
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
65apiDescription.HttpMethod = verb;
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (1)
105HttpMethod = httpMethod,
EndpointMetadataApiDescriptionProvider.cs (1)
102HttpMethod = httpMethod,
Microsoft.AspNetCore.OpenApi.Tests (2)
Extensions\ApiDescriptionExtensionsTests.cs (2)
49HttpMethod = httpMethod 67HttpMethod = methodName
7 references to HttpMethod
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
58HttpMethod = description.HttpMethod,
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
DefaultApiDescriptionProviderTest.cs (4)
133Assert.Null(description.HttpMethod); 153Assert.Single(descriptions, d => d.HttpMethod == "PUT"); 154Assert.Single(descriptions, d => d.HttpMethod == "POST"); 155Assert.Single(descriptions, d => d.HttpMethod == "GET");
Microsoft.AspNetCore.OpenApi (2)
Extensions\ApiDescriptionExtensions.cs (2)
21apiDescription.HttpMethod?.ToUpperInvariant() switch 31_ => throw new InvalidOperationException($"Unsupported HTTP method: {apiDescription.HttpMethod}"),