简体   繁体   English

如何获取WSO2 API管理器的Swagger API定义?

[英]How to get Swagger API definition for the WSO2 API Manager?

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. 我是WSO2 API Manager产品的新手,该产品似乎是免费的(开放源代码),我是在参考https://docs.wso2.com/display/AM170/Quick+Start+Guide ,尤其是在“ 使用Swagger添加交互式文档”中。 Swagger API定义屏幕,但他们尚未提供Swagger API定义本身。 I am not able to developed anything outoff it later. 我以后无法开发任何东西。

Could anyone please provide "Swagger API definition"? 谁能提供“ Swagger API定义”? Please help.. This is only half Swagger API definition. 请帮忙。这只是Swagger API定义的一半。 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. 我们可以通过单击Edit Source(添加->设计新的API->开始创建->单击Edit Source按钮)获得Swagger API定义。在API Manager 1.7.0或更早版本中,我们正在API上创建Swagger定义仅创建时间。 So if some one add more API resources by editing APIs, those will not get reflected in the Swagger JSON. 因此,如果有人通过编辑API添加更多API资源,则这些资源将不会反映在Swagger JSON中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM