postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 838 forks source link

On Update of definitions, presets are overwritten (not required variables settings etc.) #12701

Open mgamadeus opened 7 months ago

mgamadeus commented 7 months ago

Is there an existing issue for this?

Describe the Issue

When updating a collection from definitions changes, some important settings set when creating the Collection from Definitions are overwritten, especially annoying is that e.g. the initial setting of not having unrequired variables set is overwritten anytime, this causes complete pain as on each request to re-run it, you need to un-check all the preset variables which is extremely annoying.

Steps To Reproduce

  1. Create API
  2. Import Definitions from URL
  3. Create Collection from Definitions unchecking setting for not-required variables
  4. Copy Paste Updates on the Definitions (which is so stupid, that you cannot update the definitions from the URL - filed another bug for this: )
  5. Update the Collection from the updated definitions
  6. See the mess

The whole sync process of definitions to collections must have been implemented by an intern on your side. It is for me and my company the absolute killer feature and i assume for anyone who generates API docs automatically and want to use postman for testing and providing and interactive doc to developers. I really do not get the point why you neglect this topic.

Screenshots or Videos

Bildschirmfoto 2024-03-07 um 01 06 31

Operating System

macOS

Postman Version

10.23.10

Postman Platform

Both

User Account Type

Signed In User

Additional Context?

No response

shashankawasthi88 commented 7 months ago

@mgamadeus thanks for reporting this. We are looking into the issue and shall revert once we have updates.