Amazon posted this news: https://aws.amazon.com/about-aws/whats-new/2016/04/amazon-api-gateway-supports-swagger-definition-import/ , stating that it is now possible to import the Swagger API using the aws command line aws . I use:
aws
aws --version aws-cli/1.10.20 Python/2.7.9 Linux/3.16.0-4-amd64 botocore/1.4.11
But I cannot find a command in aws apigateway help that would allow me to import or update the API using the swagger file.
aws apigateway help
We are currently using aws-apigateway-importer . It would be great only swtich only aws .
Thanks.
Import-rest-api command
Yes, as mentioned earlier, the import-rest-api command.
aws apigateway import-rest-api
If your CLI does not include this operation, upgrade it to the latest AWS CLI.
Hope this helps.
Best
Jürgen Gateway API
Source: https://habr.com/ru/post/1247109/More articles:Intra-area refactoring in JetBrains - webstormWebstorm refactoring limitation - webstormDjango ArrayField null = True migration using Postgresql - pythonDifference between DPL and RPL in x86 - x86AndroidMapFragment support inside fragment - androidAnimation of an element on the sinus path - cssdoes mocha js assertion hang when using promises? - javascriptHow to split two columns in a data frame - pythonSeparating two columns of an unstretched data frame - pythonIntelliJ Idea: creating and running Java applications in docker containers - javaAll Articles