Hi All, I have recently started implementing a feature to download a Postman collection in the publisher portal and also publish a Postman collection to https://www.postman.com under a specific user account.
Here we are going to implement a feature to publish a postman collection to the Postman web application after taking the Postman API key from the user. Postman API Key can be generated for a postman account from https://web.postman.co/settings/me/api-keys. We are planning to give permission to add a Postman API Key per tenant from the Admin Portal. There can be multiple API keys for one tenant. On Tue, Dec 15, 2020 at 9:38 AM Tharani Karunathilaka (Intern) < thar...@wso2.com> wrote: > I have developed a feature to Convert a Swagger 2.0 or an OpenAPI > specification to a Postman Collection and Download it under the Try Out > section of the Developer Portal. > To develop this feature into swagger 2.0, I used the following library: > https://www.npmjs.com/package/swagger2-postman2-converter > > After that, I implemented the feature to Convert a GraphQL Schema to a > Postman Collection and Download it in the Try Out section of the Developer > Portal. To develop the GraphQL feature I used a library ( > https://www.npmjs.com/package/graphql-to-postman) > > Here is the link to the PR: > https://github.com/wso2/carbon-apimgt/pull/9314 > > Here is the link to the PR of the document repository : > https://github.com/wso2/docs-apim/pull/2176 > > Thank you. > Tharani Karunathilaka. > > On Tue, Aug 25, 2020 at 10:27 AM Tharani Karunathilaka (Intern) < > thar...@wso2.com> wrote: > >> 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> >> > > > -- > *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