Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anandlalvb/swaggertoapigateway
A Java utility project to covert your Swagger to API Gateway JSON
https://github.com/anandlalvb/swaggertoapigateway
Last synced: about 2 months ago
JSON representation
A Java utility project to covert your Swagger to API Gateway JSON
- Host: GitHub
- URL: https://github.com/anandlalvb/swaggertoapigateway
- Owner: anandlalvb
- Created: 2018-06-02T01:43:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T23:48:37.000Z (about 2 years ago)
- Last Synced: 2023-02-27T20:07:30.595Z (almost 2 years ago)
- Language: Java
- Size: 1.63 MB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwaggerToAPIGateway
A Java utility project to covert your Swagger file to AWS API Gateway JSON**Steps to deploy to API Gateway**
1. Checkout the utility project, SwaggerToAPIGateway
2. There are two configurations in the project, please select the environment and module you want to import to API Gateway
- Env env = Env.QA;
- Module moduleSelected = Module.A;
3. Save latest Swagger file to your utility project
- For example QA/A, Save with file name input/QA_A_document.json
4. Run the application (App.java) and you can see a new files created in your utility folder
- output/QA_A_document_gateway.json
5. Make sure to commit the latest version of JSON files in your utility proj input folder
Import the json file to your AWS API Gateway**Steps to import JSON file to API Gateway**
1. Select API Gateway service
2. API Selection - Module Customer
3. Actions - Import API
4. Paster Swagger json
5. Import with Overwrite
6. Actions - Deploy API
7. Stage and description
8. Select Stage
9. Add deployment description
10. Navigate to Stages page
11. Verify the Stage variable is correct