We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2c382 commit 41524d4Copy full SHA for 41524d4
src/JsonApiDotNetCore.OpenApi/JsonApiMetadata/EndpointResolver.cs
@@ -16,7 +16,7 @@ internal sealed class EndpointResolver
16
return null;
17
}
18
19
- HttpMethodAttribute? method = controllerAction.GetCustomAttributes(true).OfType<HttpMethodAttribute>().FirstOrDefault();
+ HttpMethodAttribute? method = Attribute.GetCustomAttributes(controllerAction, true).OfType<HttpMethodAttribute>().FirstOrDefault();
20
21
return ResolveJsonApiEndpoint(method);
22
0 commit comments