Is there a way to download API definition (JSON or YML) from Developer Portal? I mean, is there any default link I can point to get this file from API or API Product?
PS: It is easy to do it from Publisher interface but I can't find any option on DP.
Thanks!
You can download the API definition from the Devportal as well. Click on the Swagger as in the following image.
Related
I can't find Platform REST API, please guide me.
Please see: https://docs.camunda.org/manual/7.18/user-guide/spring-boot-integration/rest-api/
By default the application path is engine-rest, so without any further
configuration you can access the api at
http://localhost:8080/engine-rest.
The company that i work for is developing an API to allow an integration with our applications. We're using WSO2 AM as our gateway. I hava to document the API and they want me to use WSO2 devportal to do so. But the problem is that they also wanna use Swagger to create this documentation. Is there a way to add Swagger in the API Docs?
One workaround would be, you can add document type of Markdown and add the swagger content as code.
So it can be viewed from Devportal as shown below:
I'm using WSO2's API Manager version 2.5.0 (https://github.com/wso2/product-apim/tree/v2.5.0).
Problem:
I create a REST API then create a SOAP API. When I edit the REST API looking at the first page (Design), it shows a SOAP endpoint instead of the REST endpoints. If I then create a websocket API and view the design page of the REST and SOAP APIs, the endpoints aren't shown indicating they are now websocket APIs. If I then create another REST API, viewing the design page of the other APIs shows they are now back to normal.
Question:
What is causing this to happen? Is there a fix for it? Does anyone have information about this? I've done extensive research looking through their docs, their github, stackoverflow, and google searches with no luck.
This is a known issue in 2.5.0 and fixed in 2.6.0.
Edit: My bad. It seems it's fixed after 2.6.0 release.
You can use the development branch[1].
[1] https://github.com/wso2/product-apim/tree/2.x
I have a requirement where I need to create APIs in wso2 api manager using swagger file for an API. Also, this should be created from backend.
I have been able to create APIs from backend as per the link https://docs.wso2.com/display/AM1100/apidocs/publisher/#!/operations#APICollection#apisPost
but it does not take swagger file for an API. How can I create an API using swagger file from backend.
Please help as I am stuck here.
Thanks
This cannot be done. You will have to follow the payload definition which is defined in the Post request.
Even if you try to import a Swagger file in API Manager publisher, still you need to manually change the API name, throttling policies and etc when creating the API.
I am evaluating WSO2 Governance Registry version 5.
I added some Web services using new Governance Center - Publisher web frontend - it works just fine.
But now I would like to upload a Word document (specification charter) to repository and associate it with my SoapService so it is visible in SoapService detail page.
I found how to do it using console:
http://warunaperera.blogspot.cz/2014/06/how-to-upload-file-and-associate-with.html
It works but such associated document is not visible in Governance Center / Publisher.
So the question is: is it possible with WSO2 Greg to have a Word (or other) documents associated with Soap service?
Thanks!
Yes, This is possible with new GReg 5 series. Please find this blog post which explains a basic handler for your requirement.
To get it work you will need to write a handler and publisher/store extensions. There is a sample handlers comes with the WSO2 GReg pack. The handler needs to write kind a looks like swagger handler which comes GReg out of the box. Other than that user wanted to write a rxt such as wsdl/wadl or swagger rxt. For more information please refer WSO2 Governance registry 5.1.0 documentation.
Hope this helps