Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bustle/api-gateway-copy-method
https://github.com/bustle/api-gateway-copy-method
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bustle/api-gateway-copy-method
- Owner: bustle
- Created: 2015-10-26T18:14:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T08:18:12.000Z (over 6 years ago)
- Last Synced: 2024-11-08T16:05:31.406Z (5 days ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AWS API Gateway does not have a feature that allows you to copy settings from one method to another. This cli fixes that. Super useful when you have many similar methods like OPTIONS requests for CORS.
### Install
`npm install -g api-gateway-copy-method`
###Usage
`api-gateway-copy-method `
Example: `api-gateway-copy-method "Blog API" /posts/{id} GET /blogPosts/{id} GET`
### Important Notes:
- destPath must already exist in the UI
- destMethod must not exist. An error will be thrown if it does.
- cacheNamespace is NOT copied between methods. First off, this is not settable in the current AWS web UI. Second it seems unlikely you would want to share cache namespaces between methods.