amazon-archives / aws-amplify-serverless-plugin

Plugin for the Serverless Framework to output AWS Amplify configuration files.
Apache License 2.0
124 stars 30 forks source link

add support for API GW #25

Closed rayjanwilson closed 5 years ago

rayjanwilson commented 5 years ago

Issue #, if available: 24

Description of changes: adds support for API Gateway to the JavaScript output option

note: this is extended from PR for refactoring the js writer

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

adrianhall commented 5 years ago

There are several issues with this PR, and I'm suggesting you withdraw it since it's intermingled with another PR content accidentally, then re-submit. I've merged the other two PR's so re-submission should be easy.

  1. It only supports one API Gateway endpoint - this is a little problematic
  2. It does not support native.

I'll see about getting the format of the native REST API from Amplify, and will put that in the issue comments. Also, I'll see what the aws-exports does with multiple endpoints.

rayjanwilson commented 5 years ago

makes sense thanks