Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Reload / update an API definition from a URL or local file path #12791

Open
1 task done
RichardSinden opened this issue Apr 10, 2024 · 3 comments
Open
1 task done

Comments

@RichardSinden
Copy link

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

My app generates a swagger.json API definition file which I am importing into a Postman API. From the imported definition, I'm generating a Collection which is synchronised to the definition. I'm not editing the definition in Postman, but when the external definition file changes then I need to reimport it. There doesn't seem to be an easy way to do this.

Describe the solution you'd like

When I import an API definition, I'd like the option for Postman to remember the source URL or local file path, and then have an option to easily reload the definition from the source. Then the collection can be updated using the existing mechanism.

Describe alternatives you've considered

The only way I can find to do it at the moment is to delete the original API definition in Postman and reimport it, or copy and paste the contents of swagger.json over the existing definition in Postman, both of which are a pain. Once I've done that though, it detects the changes and I can automatically update the Collection, which is great.

Additional context

I believe this would be the missing piece of the "Update Collection" feature that people are asking for: #6722 (comment)

@shashankawasthi88
Copy link

@RichardSinden thanks for raising the request. We are looking into the request and shall revert once we have an update

@simongroom
Copy link

would be great for postman to poll for updates. i.e. my api is hosted at https://myApi.com/api, my swagger docs are at https://myApi.com/api/docs and the openapi definition is at https://myApi.com/api/docs/json.. I created a postman collection via import at the /json endpoint - now postman polls every x days for updates. Or alternatively, if there was some hook where we could programmatically update a collection when a new version of the api is released.

Either way, this feature would help me a lot.

@dasarathg68
Copy link

+1
Manually importing the documentation through each time in the team workspace is proving to be tiring and hard to manage. It would be great if this could be implemented soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants