简体   繁体   English

WSO2 API Manager Swagger集成(模型架构)

[英]WSO2 API Manager Swagger Integration (Model schema)

I have some questions regarding WSO2 API manager swagger integration. 我对WSO2 API管理器招摇集成有一些疑问。

1) I want to add a model schema to the swagger API, for this, I have edited swagger doc and added model to it. 1)我想向swagger API添加模型架构,为此,我已经编辑了swagger doc并为其添加了模型。 But it is not showing the model schema in swagger console. 但是它没有在swagger控制台中显示模型架构。

2) Can i upgrade swagger to a latest version ?? 2)我可以将swagger升级到最新版本吗?

3) Where the swagger json files will be saved when we create an API in API manager ?? 3)当我们在API管理器中创建API时,将在哪里保存swagger json文件?

I comment your questions: 我评论您的问题:

1) I have the same issue :-( Did you find the solution at last? 1)我有同样的问题:-(您最后找到解决方案了吗?

2) AFAIK, you can't update a single component of a WSO2 product. 2)AFAIK,您无法更新WSO2产品的单个组件。 It's a combo. 这是一个组合。 APIMgr uses swagger 1.1 version. APIMgr使用swagger 1.1版本。 I think is too old and must be updateable, but.. 我认为太旧了,必须更新。

3) You can find this .json files entering by http:// apimanagerserver:9443[+offset]/carbon -> Resources -> Browse and navigate to: /_system/governance/apimgt/applicationdata/api-docs/YourAPIName-1.0-admin/api-doc.json 3)您可以找到通过http:// apimanagerserver:9443 [+ offset] / carbon->资源->浏览并导航至/_system/governance/apimgt/applicationdata/api-docs/YourAPIName-1.0输入的.json文件-admin / API-doc.json

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

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