koa-swagger-decorator icon indicating copy to clipboard operation
koa-swagger-decorator copied to clipboard

Add support for HEAD Request

Open jannikRau opened this issue 2 years ago • 0 comments

Hi all, the allowedMethods Enum does not include HEAD. However, in some use cases it is very useful to allow a HEAD request, for example to only check the accessibility of a given resource.

Is it possible to include the HEAD Method in the Enum?

Kind Regards

Jannik

jannikRau avatar Aug 12 '22 08:08 jannikRau