# Lambda Proxy integration: Method Request params

**URL:** <https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001>\
**Category:** Serverless Framework\
**Created:** [December 22, 2016, 5:21pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001 "2016-12-22T17:21:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsantana](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fsantana](https://forum.serverless.com/u/fsantana)\
**Post date:** [December 22, 2016, 5:21pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/1 "2016-12-22T17:21:43Z")

</div>

Can I use Lambda Proxy integration and Serverless create the Method Request params: querystrings and headers (I will export them to swagger)

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 22, 2016, 6:18pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/2 "2016-12-22T18:18:23Z")

</div>

what do you mean by “create”?

1. add headers and query parameters to the request? no.
2. access them? sure. `event.headers` and `event.queryStringParameters` (the complete Lambda proxy schema is: [https://github.com/bbilger/jrestless/blob/master/aws/gateway/jrestless-aws-gateway-handler/README.md#request-schema](https://github.com/bbilger/jrestless/blob/master/aws/gateway/jrestless-aws-gateway-handler/README.md#request-schema))

---

<div class="post-metadata">

**Author:** ![fsantana](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fsantana](https://forum.serverless.com/u/fsantana)\
**Post date:** [December 22, 2016, 6:21pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/3 "2016-12-22T18:21:47Z")

</div>

I want something like this picture:

 ![](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/1X/d401e94f553fadf5568df9df584f9d02615969d0.png)

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 22, 2016, 6:35pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/4 "2016-12-22T18:35:11Z")

</div>

Got it.  
Unfortunately I don’t know the answer to that, sorry.

---

<div class="post-metadata">

**Author:** ![fsantana](https://avatars.discourse-cdn.com/v4/letter/f/34f0e0/32.png) [@fsantana](https://forum.serverless.com/u/fsantana)\
**Post date:** [December 22, 2016, 6:36pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/5 "2016-12-22T18:36:24Z")

</div>

Thanks anyway. I intend to use these parameters to export the Swagger documentation from API Gateway

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 22, 2016, 7:09pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/6 "2016-12-22T19:09:59Z")

</div>

if it’s just to document your endpoints, then maybe this plugin is interesting for you: [https://github.com/andrewcurioso/raml-serverless](https://github.com/andrewcurioso/raml-serverless) (never tried it myself)  
raml is not swagger, sure but I think there are converters out there  
also the plugin isn’t doing exactly what you need but at least it allows you to add some description to your endpoints

---

<div class="post-metadata">

**Author:** ![bbilger](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bbilger/32/1066_2.png) [@bbilger](https://forum.serverless.com/u/bbilger)\
**Post date:** [December 23, 2016, 5:21pm UTC](https://forum.serverless.com/t/lambda-proxy-integration-method-request-params/1001/7 "2016-12-23T17:21:39Z")

</div>

@fsantana  
Just saw this: [https://github.com/serverless/serverless/issues/2990](https://github.com/serverless/serverless/issues/2990)  
So it seems to be a bug that you cannot set it right now.
