从AWS API Gateway导出API定义 [英] Exporting api definition from AWS API Gateway

查看:136
本文介绍了从AWS API Gateway导出API定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在AWS API Gateway中创建整个API.由于我正在使用图形控制台,正因为我处于学习阶段,所以我将需要某种方式以编程方式或通过CLI创建相同的API.是否有一些设施可以通过我可以重现相同结构的某种方式导出当前的API集?

解决方案

我刚刚发布了一个用于从Amazon API Gateway导出现有API的工具:

Amazon API Gateway Swagger导出器

> https://github.com/isabinin/aws-apigateway-swagger-exporter

希望您会发现它有用.

I'm creating an entire API in AWS API Gateway. Since I'm using the graphical console, just because I'm in a learning phase, I will need some way to create the same API programmatically or via the CLI. Is there some facilities to do export the current API set in some way I can reproduce the same structure?

解决方案

I've just published a tool for exporting existing APIs from Amazon API Gateway:

Amazon API Gateway Swagger Exporter

https://github.com/isabinin/aws-apigateway-swagger-exporter

Hopefully you'll find it useful.

这篇关于从AWS API Gateway导出API定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆