Issue while exporting api definition from AWS API Gateway

0 votes

I have just started working with AWS. I am trying out AWS API Gateway. I actually want to create an API using AWS API Gateway service. My question is if there are some facilities to export the current API set in some way so that I can reproduce the same structure?

Apr 26 in AWS by datageek
• 3,040 points
73 views

1 answer to this question.

0 votes

There is a feature that is now available via CLI directly from Amazon. It produces the same output as Amazon's GUI console.

swagger

aws apigateway get-export --rest-api-id a1b2c3d4e5 --stage-name dev
--export-type swagger /path/to/filename.json
answered Apr 26 by Archana
• 5,560 points

Related Questions In AWS

+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

answered Jun 13, 2018 in AWS by Cloud gunner
• 4,260 points
2,003 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer