firecamp-dev / firecamp

Developer-first OpenSource API DevTool, Postman/Insomnia alternative.
https://firecamp.dev
GNU Affero General Public License v3.0
2.1k stars 137 forks source link

[bug]: Postman examples are not properly imported #181

Open pogiaron opened 8 months ago

pogiaron commented 8 months ago

Describe the bug In Postman you can create multiple examples for a specific API request. Those are not properly imported. I have two API requests but with different query params in Postman: {{irail_url}}/stations/?format=json&lang=en {{irail_url}}/stations/?format=xml&lang=de

In firecamp these will be imported:

To Reproduce Steps to reproduce the behavior:

  1. Import the attached Postman collection

Expected behavior The API request with the proper params will be imported {{irail_url}}/stations/?format=json&lang=en {{irail_url}}/stations/?format=xml&lang=de

Screenshots

Desktop

Additional context File to reproduce iRail.postman_collection (5).json

Nishchit14 commented 8 months ago

@pogiaron thank you for sharing the sample file. It'll help me to debug the case. I'll fix and update here soon