I have this API,
[HttpPut]
[CustomExceptionFilter]
[Route("api/Port/SetExternalEngineLights")]
public string SetExternalEngineLights()
{
return "...something"
}
It then will show up in help page,

But if I set the method to be static, the method disappeared from help page.
[HttpPut]
[CustomExceptionFilter]
[Route("api/Port/SetExternalEngineLights")]
public static string SetExternalEngineLights()
{
return "...something"
}
Google yield no meaningful results. Are there any fix or workaround?