UNPKG

swagger-routes-express

Version:

Connect Express route controllers to restful paths using a Swagger 2 or OpenAPI 3 definition file

6 lines (4 loc) 98 B
const METHODS = ['get', 'post', 'patch', 'put', 'delete', 'head'] module.exports = { METHODS }