Convert Swagger documentation to Postman Collection
This article demonstrates step by step process on how to convert swagger endpoint into a postman collection.
Step 1: Go to the swagger documentation endpoint and click on the link highlighted below.
Step 2: Copy the URL
The user will be redirected to the below route where swagger documentation JSON will be visible. Just copy the URL address.
NOTE: URL may differ, as currently, I am running in localhost.
Step 3: Open Postman > Import (Top-Left corner)
Then click Link tab & paste the copied URL from Step 2 & click “Continue.”
Step 4: Use default settings & click Import, as shown below.
A new collection will be created with all the methods shown in Step 1.
The published version of the Postman Collection
SwaggerUI_CoreExample
Thank you for reading. Keep visiting and share this in your network. Please put your thoughts and feedback in the comments section.
Stay tuned with me on Medium
Top comments (1)
Perfect, I didn't expect there would be a straightforward way to convert Swagger docs to a Postman collection. I was planning to study the process and create a suitable mapping. Thank you for sharing 🙏