WSO2 AM 1.10.0 Swagger json 导出 [英] WSO2 AM 1.10.0 Swagger json export

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

问题描述

我在 Restful 服务中添加了 swagger API 文档,可以如下调用,

I added swagger API doc into Restful services and can be invoked as below,

我在 AM 中创建了服务的新 API,它们运行良好,

I created new APIs of the services in AM and they are working well,

但是,我不知道如何使用 WSO2 AM 导出 swagger 文件,因为用户询问 API 定义文件.

However, I do not know how to use WSO2 AM to export the swagger file as users ask the APIs definition file.

谢谢,肖恩

推荐答案

您可以在 APIM 中导出 swagger 文件.在发布者中去编辑 API.然后,在设计"选项卡中,单击 Edit Source 链接.

You can export swagger file in APIM. In publisher go to edit API. Then, in Design tab, click Edit Source link.

然后 Swagger 编辑器将打开.然后你可以通过 File > 下载 swagger 文件.下载...

Then Swagger editor will open. Then you can Download swagger file by File > Download...

这篇关于WSO2 AM 1.10.0 Swagger json 导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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