I'm developing an API in wso2 ei 6.6 and I'm setting my own swagger. I would like to upload this API swagger definition API using a carbon app, but I realized that when using a capp file, the swagger API is always autogenerted and useless.
Is there a way to upload the custom API swagger definition using a carbon file?
As of now, the integration studio does not have the capability to generate and store the swagger definitions. Therefore you will need to manually copy the swagger definition using the EI management console UI.
Related
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 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.
Started working on WSO2 products, not all only few i.e API manager(only for designing rest API's with swagger editor, this is only for Developer portal) and now started working on WSO2 governance registry. Do we have an any option to design my REST API in Governance registry, like how I did in API manager.
WSO2 Governance Registry is acting as an asset store. So you can store all the swagger definitions, WSDLs, WADLs there.
However, WSO2 Governance Registry doesn't allow you to create or design swagger documents within the product and it is just visualizing imported(designed somewhere else- EX: SwaggerHub) Swagger documents.
I am not so into WSO2 ESB and I have the following doubt.
I am using WSO2 EI containing WSO2 ESB product. I am using the ESB to developr some REST API.
My question is: exist some tool\plugin that starting from the APIs definition into the ESB creates the swagger documentation for these APIs? I don't mean the WSO2 API Manager, I am not using it at this time but something that read the APIs defined into the ESB and create the Swagger documentation.
If exists something like this what have I to do to install and use it?
Thank you
I am trying to build a POC using WSO2 middle ware that demonstrates API Management as well as ESB features. Will I need to download WSO2 Carbon as well as WSO2 API Manager? Or does WSO2 API Manager include ESB and the rest of the Carbon framework?
The API Manager is based on Carbon, and contains the features it needs to provide the advertised functionality. In other words, out of the box, you get API management, the API gateway, the API store and the publisher apps. If you need full ESB features beyond what the API gateway functionality provides, you can download the ESB separately.
Isabelle.