lambda-api
lambda-api copied to clipboard
Lightweight web framework for your serverless applications
I have this MRE ``` // test.js import http from 'http'; import getLambdaAPI from 'lambda-api'; const getLambdaEvent = req => { const event = { path: req.url, httpMethod: req.method, requestContext:...
TODO: - [x] implement actual functionality - [ ] cover with tests - [ ] go over README.md - [ ] rebase all commits /w co-authoring Hobart2967
Currently the `Request` and `Response` types are defined without any easy way to override them. I would like to be able to either supply generic response types or extended request...
closes #128, #172
The `Response` type declaration is lacking the definition for `multiValueHeaders`
I'm using jest to unit test my project. I'm mocking the event and context and importing my handler which imports lambda-api. When certain tests fail, the lambda-api logger is looking...
Hi All, Is there a way to generate an openAPI schema based on api object ? Can we add extra comment / parameter on the route declaration that we can...
Is it possible to cleanup or simplify the output from the logger when in development or running from serverless-offline? The JSON is basically unreadable in a command window. Here is...
Hi! I have an endpoint which should allow the user to fetch a PDF, which is returned as bytearray, from an internal reporting server. This PDF should then be returned...