-
Notifications
You must be signed in to change notification settings - Fork 143
Documentation? #30
Comments
+1. Would love to be notified when documentation for the extensions is published. Particularly on how to map to Request Models in the Method Request. I am thinking it is some kind of syntax with Again, awesome tool! Can't wait for the docs. |
We have people working on it and hope to have this available soon. Thanks for your patience |
+1 on documentation. |
+1. Kind of hard right now to map all properties in x-amazon-apigateway-integration |
Better documentation of the Swagger extensions would be appreciated. |
Just from my own trial and error experience, I found the following to allow us to map JSON objects for POST and PUT requests:
Where the POST request sends a JSON object something like this:
This works. However, I'm not convinced it is the complete solution. It does end up passing the JSON arguments with the request. Lastly, I want to give kudos to @rpgreen for writing the tool. I am quite disappointed, however, with the lack of documentation (still, after weeks of waiting) and the level of support from a company like Amazon, for this tool, is far from adequate. Come on guys! Get some docs put together already. We all realize there is always a critical path and time is limited, but this is getting ridiculous! |
Hi folks - sorry about the delay - we are actively working on better documentation. In the meantime, maybe you can help us focus the documentation efforts. What exactly are you trying to achieve and where are you getting stuck? What kind of examples would you like to see? Would you prefer specification-style documentation or walkthroughs? Which parts of the tool are most confusing? As a side note, the Swagger extensions are simply an analog of the concepts in our REST API. If you haven't already, I would highly recommend reading the API docs as well as the service documentation. If you are still having issues then please let us know so we can update our core docs as well. Another hint on getting up to speed with the importer/API is to use a browser debugger to inspect how the web console uses the API. Again, thanks for your patience and any feedback on how to improve the documentation would be much appreciated. |
Hey Ryan, for me it would be examples containing how to map values. Various
It took me a long time to figure out how to map the JSON for a POST, and I'm still not sure I'm doing it correctly. Docs like this are less than helpful: http://docs.aws.amazon.com/apigateway/api-reference/resource/integration/#requestTemplates
I've probably been looking in the wrong place. Again, thank you for writing the tool. It will surely prove to be quite useful to my company as using the web-console for large APIs is intractable. |
Any progress? |
Working by example being the only way at the moment, I thought to share my If you're looking for a working example that uses:
Then check our API: If you are using Python Lambda code, Hope this will help cheers On Wed, Dec 16, 2015 at 1:05 PM, Paul DeCoursey notifications@github.com
Nicolas Menciere |
Very nice! |
Swagger/OpenAPI import is now generally available in the API Gateway REST API, the AWS CLI and all AWS SDKs. You can also import and export Swagger definitions using the API Gateway console. This release addresses many of the open issues and feedback in this repository. I would encourage you to migrate your workflow to the standard AWS tools. aws-apigateway-importer will receive minimal support from the API Gateway team going forward. Any feedback or issues with the new importer should be directed to the official API Gateway forums. Thanks, |
I'm just getting started with this, and it's looking like a great tool! I am wondering about documentation for the
x-amazon-apigateway-auth
andx-amazon-apigateway-integration
objects that get injected into Swagger to hook up things like Lambda functions. Is there anywhere these are documented for reference? When I tried to put them into my JSON file and import into the API gateway I got lots of errors and am not sure how to proceed.For now I'm just going to hook things up manually. This tool looks like a great start. Thanks!
The text was updated successfully, but these errors were encountered: