SmartBear-DevRel / explore-cli

Simple utility CLI for importing and exporting data to and from SwaggerHub Explore
https://www.nuget.org/packages/Explore.Cli
Apache License 2.0
5 stars 4 forks source link

Ability to group requests under a single connection in Mass Import from Postman #36

Open mikel-k-khui opened 2 months ago

mikel-k-khui commented 2 months ago

We are doing mass import of endpoints using Postman collection/requests into Swagger Explore API/operation. We are following the instructions in the Explore.cli. Explore What's New - Import Postman Collection | SmartBear Community

The import of a Postman collection current brings in each Postman request as an API and within the API contains a singular Operation. For example, if I have 2 endpoints in the json file (e.g. GET /user/ and GET /user/all), each endpoint is imported as two (2) separate API with a single endpoint.

The desired outcome would be a single API with the two (2) endpoints. The ability to group requests under a single connection when within the same Postman folder level would be tremendously helpful.

Reference: https://community.smartbear.com/discussions/SwaggerHubExploreQuestions/mass-import-postman-collectionrequests-into-swagger-explore-apioperation/264865

frankkilcommins commented 2 months ago

Thanks for reporting/requesting @mikel-k-khui

It should be possible to get this added in the near future. Could you attach or share a sample collection?

mikel-k-khui commented 2 months ago

Here is a sample json sample.postman_collection.json