如何获取 WSO2 API 管理器的 Swagger API 定义? [英] How to get Swagger API definition for the WSO2 API Manager?

查看:28
本文介绍了如何获取 WSO2 API 管理器的 Swagger API 定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 WSO2 API Manager 产品的新手,它似乎是免费的(开源),我正在推荐

解决方案

我们可以通过点击Edit Source获取Swagger API定义(Add-->Design new API --> start created-->点击Edit Source按钮)在 API Manager 1.7.0 或更早版本中,我们仅在 API 创建时创建 Swagger 定义.因此,如果有人通过编辑 API 添加更多 API 资源,这些将不会反映在 Swagger JSON 中.

I am new to WSO2 API Manager Product, which seems free (open source), I am refereeing to https://docs.wso2.com/display/AM170/Quick+Start+Guide and specifically refereeing to "Adding interactive documentation using Swagger" Swagger API definition screen, but they have not given Swagger API definition itself. I am not able to developed anything outoff it later.

Could anyone please provide "Swagger API definition"? Please help.. This is only half Swagger API definition. I need full sample ..

解决方案

we can get Swagger API definition from clicking Edit Source(Add-->Design new API --> start creating-->click Edit Source button) In API Manager 1.7.0 or previous versions, we are creating the Swagger definition at the API creation time only. So if some one add more API resources by editing APIs, those will not get reflected in the Swagger JSON.

这篇关于如何获取 WSO2 API 管理器的 Swagger API 定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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