Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cleberzavadniak/drf-to-api-gw
Updates AWS API Gateway using a API created with django-rest-framework as base
https://github.com/cleberzavadniak/drf-to-api-gw
Last synced: 17 days ago
JSON representation
Updates AWS API Gateway using a API created with django-rest-framework as base
- Host: GitHub
- URL: https://github.com/cleberzavadniak/drf-to-api-gw
- Owner: cleberzavadniak
- License: mit
- Created: 2016-05-02T19:29:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T16:57:09.000Z (over 8 years ago)
- Last Synced: 2024-10-14T20:09:19.049Z (about 2 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - drf-to-api-gw - Updates AWS API Gateway using a API created with django-rest-framework as base (Python)
README
# drf-to-api-gw
Updates AWS API Gateway using an API created with django-rest-framework as base.
Because DRF doesn't generate a **Swagger 2.0** JSON file and AWS doesn't work with **Swagger 1.2**.
## Install
Install it using pip or simply clone this repository.
## Requirements
* AWS CLI (the "aws" command) (aws-cli >= 1.10.38).
## Usage
python3 -m drf_to_api_gw https://example.com/v1/docs/api-docs API_NAME
If your app is running on **Heroku**, you can use:
python3 -m drf_to_api_gw heroku:HEROKU-APP-NAME API_NAME
"API_NAME" is the name of the API as you would like it to be on **AWS API Gateway**.
## Thanks
* apimatic.io and this nice tool: https://apitransformer.com/