# OpenAPI Definition file from server not updating

**URL:** <https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203>\
**Category:** Help Hub\
**Tags:** collections, openapi\
**Created:** [December 1, 2023, 1:54pm UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203 "2023-12-01T13:54:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjansenxaurum](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sjansenxaurum](https://community.postman.com/u/sjansenxaurum)\
**Post date:** [December 1, 2023, 1:54pm UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203/1 "2023-12-01T13:54:29Z")

</div>

When my server has a change in its api definition file (swagger.json) it’s not picked up by postman. The collection update only happens when I manually remove the definition and add it back.  
Seems that the file from server doesn’t get picked up.  
Or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 1, 2023, 3:08pm UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203/2 "2023-12-01T15:08:18Z")

</div>

Hey @sjansenxaurum 👋

Welcome to the Postman Community! :postman:

Would you be able to provide more details around have you have this set up? Any information about the integration that you’re using?

Also, including some form of visual example will help to show the problem you’re facing 🙏

---

<div class="post-metadata">

**Author:** ![sjansenxaurum](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@sjansenxaurum](https://community.postman.com/u/sjansenxaurum)\
**Post date:** [December 4, 2023, 8:44am UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203/3 "2023-12-04T08:44:15Z")

</div>

The definition comes from my local IIS website, swagger.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8f056f208ddc25d9ff3baeba3c49872c359e3dc0.png)  
But when the swagger regen’s its definition, Postman doesn’t pick it up at all.  
I have to delete the definition file and re-add it.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 4, 2023, 10:59am UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203/4 "2023-12-04T10:59:50Z")

</div>

Hey @sjansenxaurum

We don’t support syncing the API Definition generated from a web server. You would always need to manually update that file.

You could use the Postman API to update the schema file?

[https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-379ac23b-a0dd-4985-978d-2185695214bb](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-379ac23b-a0dd-4985-978d-2185695214bb)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 3, 2024, 11:00am UTC](https://community.postman.com/t/openapi-definition-file-from-server-not-updating/55203/5 "2024-01-03T11:00:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
