API documentation shows different verb as specified

I have a service with a route limited to verb DELETE.

But the generated documentation always shows ‘POST’ instead.

Is there a way to fix this?

Regards,
Marko

Example:

The Metadata templates were fixed but I’ve modified it to tailor it based on the Routes available for each Service in this commit.

So if your Route only specifies a Route with a DELETE Verb, e.g:

[Route("/comments/{Id}", "DELETE")]
public class DeleteComment { ... }

It will show a DELETE Request without a Request Body.

This change is available from v4.5.9 that’s now available on MyGet.