When you update a RAML file from Anypoint Studio, you can synchronize those changes to your API version hosted in Anypoint Platform. Assuming you created the placeholder API described in the previous sections, make some small change to the API. Navigate to your placeholder.raml file in the Package Explorer, and double-click to open the file in your RAML Editor. For example, edit the RAML to change a description slightly.
当你从Anypoint Stuido更新一个RAML文件时,你能把这些变更同步到你在Anypoint Platform上的API。假定你在上一节创建了一个placeholder API,对那个API做一些小的改动:去包管理器里找到你的placeholder.raml文件,然后双击在RAML编辑器里打开它,稍微的更改一点描述。
Synchronize your Updated RAML File With Anypoint Platform
将你更改过的RAMLfile同步到Anypoint Platform
Notice that after making the change, the API Sync view and Upload become available for uploading changes:
你会注意到在你进行过更改后,在API同步视图你会发现上传按钮可用了,你变更过的文件会被列出。
You can select the placeholder.raml file and click Upload to submit your changes to Anypoint Platform. You can also navigate to your API Designer to check how the updates were pushed.
你可以选择placeholder.raml文件然后点击上传将你的更改提交到Anypoint Platform。 你可以在你的API设计器上看到你的更新是如何被发布的。
See Also
参加
API Sync reference page
API同步参考资料页面
RAML Editor
RAML编辑器
网友评论