WSO2 publish a REST API
On WSO2 admin interface start by adding a new API. Export a swagger file for you API that you can import or give url to swagger json of your API.
Following is the swagger json url for a REST API developed using Tibco 6.
Give a meaningful name and the url context so the final url will become like http://localhost:8092/restAPI/….
You will see the summary of your operations as shown below. Enter endpoint URL to your production and sandbox API.
Save and publish your API
Once you have subscribed to this API you can access the service as follows.