Hi All, I have found an npm library to do the conversion of an OpenAPI file to a postman collection. I took the sample code from this document ( https://www.npmjs.com/package/openapi-to-postmanv2) and tried to do the task. The file system used here which is used to input a file in node.js is not working. So I made some changes to that part. then I used another library (https://www.npmjs.com/package/js-file-download) to download the file. Now my small react app can convert an OpenAPI to a postman collection and download that into the local machine.
I'm going to embed that code in the API Manager. Thank you. Tharani Karunathilaka. On Tue, Aug 4, 2020 at 9:15 AM Tharani Karunathilaka (Intern) < thar...@wso2.com> wrote: > Hi All, > > > I have started working on a project of Integrating Postman with WSO2 API > Manager. > > > When a publisher logs in to the publisher portal they can upload OpenAPI > files or a URL to create an API. When an application developer logs into > the API developer portal, they can download OpenAPI specifications of > those APIs. In this project we will be implementing a new functionality > which enables API developers to upload a postman collection to the > publisher portal to create an API. And also developers can import postman > collections via the developer portal and publisher portal as well. > > > I'm trying to implement this by converting Postman collections into > OpenAPI definitions and vice versa. > > > Thank you. > > Tharani Karunathilaka. > > -- > *Tharani Karunathilaka |*Trainee Software Engineer | WSO2 Inc. > (m) +94710718767 | (e) thar...@wso2.com > [image: http://wso2.com/signature] <http://wso2.com/signature> > -- *Tharani Karunathilaka |*Trainee Software Engineer | WSO2 Inc. (m) +94710718767 | (e) thar...@wso2.com [image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture