Mass import Postman collection/requests into Swagger Explore API/operation
I inherited an old code base that doesn't have any API documentations and I want to use Swagger Hub for it. We fortunately have a collection in Postman for most of the endpoints.
I am following the instructions in the Explore.cli.
Explore What's New - Import Postman Collection | SmartBear Community
I want to confirm the expected behaviours on import of a Postman collection since this feature is not in the documentations yet: I imported a Postman collection json file of about 60 requests.
Each Postman request created an API and within the API contains a singular Operation (e.g. GET /user/).
If so, is there a way to import the entire Postman collection's into a single API with the 60 requests as Operations?
Weβve released 0.8.0 of ππ π½πΉπΌπΏπ².ππΉπΆ which now has support for nested Postman Collections as part of itβs import.
Root level requests are now added to an Explore API folder with same name as Explore Space (e.g. Postman collection 'foo' with requests will create Explore Space 'foo' with API folder 'foo' which will contain the request connections).Nested folders within a collection, will have a name format of Parent - Child (e.g. foo/bar will create API folder called foo - bar, foo/bar/baz will create API folder called foo - bar - baz)
Also, in case you missed it, we also support an`ππππππ-ππππ-ππππ` feature allowing you to explore the API calls representing consumer expectations within a Pact contract.
Install via Nuget: https://www.nuget.org/packages/Explore.Cli
Standalone binaries: https://github.com/SmartBear-DevRel/explore-cli/releases/tag/0.8.0