UNPKG

reest

Version:

A library inspired by NestJS's elegance, specifically designed for efficient serverless API development on AWS Lambda. It streamlines the creation of microservices with automated Swagger documentation and enhanced decorator-based middleware support, makin

15 lines 999 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Delete = exports.Patch = exports.Put = exports.Post = exports.Get = void 0; const generateMethodDecorator_1 = require("./generators/generateMethodDecorator"); const Get = (path, options) => (0, generateMethodDecorator_1.generateRequestMethodDecorathor)("get", path, options); exports.Get = Get; const Post = (path, options) => (0, generateMethodDecorator_1.generateRequestMethodDecorathor)("post", path, options); exports.Post = Post; const Put = (path, options) => (0, generateMethodDecorator_1.generateRequestMethodDecorathor)("put", path, options); exports.Put = Put; const Patch = (path, options) => (0, generateMethodDecorator_1.generateRequestMethodDecorathor)("patch", path, options); exports.Patch = Patch; const Delete = (path, options) => (0, generateMethodDecorator_1.generateRequestMethodDecorathor)("delete", path, options); exports.Delete = Delete; //# sourceMappingURL=requestMethodDecorators.js.map