# Collection generation through OpenAPI

**URL:** <https://community.postman.com/t/collection-generation-through-openapi/13411>\
**Category:** Help Hub\
**Tags:** openapi\
**Created:** [June 15, 2020, 9:06am UTC](https://community.postman.com/t/collection-generation-through-openapi/13411 "2020-06-15T09:06:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luca.rospocher](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@luca.rospocher](https://community.postman.com/u/luca.rospocher)\
**Post date:** [June 15, 2020, 9:06am UTC](https://community.postman.com/t/collection-generation-through-openapi/13411/1 "2020-06-15T09:06:32Z")

</div>

Hi there,

I have some api specifications in OpenAPI v3 format stored in a repository and once in a while i take those specs and import them in Postman for contract testing / general testing.  
To “update” the specs i Create a new version of the Postman API and paste the content of my OpenAPI file.  
Afterwards I click the button to let Postman generate a collection based on the specs.

Is there any way to preserve the changes I’ve made in the previous generated collections, and apply them to the new one ?  
Often i save examples, create new requests and mess with parameters, and I lose these changes when generating a collection with a new version of the API specs.

Thank you all

---

<div class="post-metadata">

**Author:** ![sankalp0o](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sankalp0o/32/4799_2.png) [@sankalp0o](https://community.postman.com/u/sankalp0o)\
**Post date:** [June 15, 2020, 11:40am UTC](https://community.postman.com/t/collection-generation-through-openapi/13411/2 "2020-06-15T11:40:56Z")

</div>

Hey @luca.rospocher

We are working on a feature which will let you update the existing collection with the new changes in the spec. This will be in out shortly, do check [https://github.com/postmanlabs/postman-app-support/issues/6722](https://github.com/postmanlabs/postman-app-support/issues/6722) for updates! Once this is out, we’d love your feedback whether this helps you solve your need or not.

---

<div class="post-metadata">

**Author:** ![luca.rospocher](https://avatars.discourse-cdn.com/v4/letter/l/c0e974/32.png) [@luca.rospocher](https://community.postman.com/u/luca.rospocher)\
**Post date:** [June 15, 2020, 12:00pm UTC](https://community.postman.com/t/collection-generation-through-openapi/13411/3 "2020-06-15T12:00:45Z")

</div>

Thanks !

I’ll follow the feature request you linkde
