How to get Swagger API definition for the WSO2 API Manager?

▼魔方 西西 提交于 2019-12-13 02:12:17

问题


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 ..


回答1:


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.



来源:https://stackoverflow.com/questions/32819692/how-to-get-swagger-api-definition-for-the-wso2-api-manager

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!