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.83k stars 838 forks source link

API collection is not updated after API definition is updated or published #11800

Open nooxx opened 1 year ago

nooxx commented 1 year ago

Is there an existing issue for this?

Describe the Issue

Hello,

I created an new API and imported an OpenAPI file definition. It generated the collection associated correctly the first time.

However whenever I update the definition and save it, it does not update the collection to match it. When I publish a new postman version of the API, the collection are still not updated.

Steps To Reproduce

1) Create a new API 2) Import an OpenAPI 3.0 spec 3) Update the spec in postman, save it 4) See the collection is not being updated

Screenshots or Videos

No response

Operating System

macOS

Postman Version

10.11.11

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

This also happens on the web platform.

postman-staff commented 1 year ago

Hi @**nooxx**, Thank you for reaching out.

At the moment it’s not possible to update collections that have been generated from an OpenAPI definition in Postman v10 through the UI. We’re working on a newer version of the feature that should fit better in the flow of an API producer.

While we re-implement it, you can still use the Postman API to update your collections, see more info here: Postman API

Reference GH thread: https://github.com/postmanlabs/postman-app-support/issues/6722#issuecomment-1461361961

If you have any feedback please provide it on the above GitHub thread as this issue will be addressed in our next release and our PMs will watch over directly.

Feel free to let us know if you have any questions. via @Lincimary | Postman Support

shashankawasthi88 commented 1 year ago

@nooxx you should be able to do this using the upcoming Postman release this week. Looking forward for any feedback that you might have on the feature.

postman-staff commented 1 year ago

Hi @**nooxx**,

Sure! While we re-implement it, you can still use the Postman API to update your collections, see more info here:

https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-b5acf70c-7635-4d64-b17b-d4b2824c4a39?ctx=documentation

Please feel free to subscribe to the issue and add your comment. As the GitHub issue is already filed, our engineering team will be triaging the issue soon and you will be notified when there is any movement in the issue.

Thanks again for reaching out. Let me know if you have any other questions or concerns in the meantime.

via @Lincimary | Postman Support