typestack/routing-controllers

fix: jsdoc for Put http method, it mentions POST http method

kalvarez2 opened this issue · 0 comments

Description

The current js doc for the Put() decorator mistakenly says POST when it should say PUT

Minimal code-snippet showcasing the problem

* Registers an action to be executed when POST request comes on a given route.

* Registers an action to be executed when POST request comes on a given route.

Expected behavior

It should say PUT

Actual behavior

js doc for Put method is wrong