How to automatically update Open API resource

  • Goal:

We have a REST API connected to Retool as an OpenAPI resource. Every few days, we deploy changes to it. However, the Retool resource doesn't reflect the newest version of the API. I have to create a new resource for the latest changes to be reflected.

How can I make it so that, whenever we update the API, the changes are automatically updated on Retool?

Hi @Javi_V, could you share an example of the changes we need to automatically update? Before and after screenshots would be great.

Hi Paulo,

For example, if an endpoint of the API has been removed in the latest deployment, that endpoint should no longer be available in the resource creation menu.

Likewise, if a new endpoint has been created, it should be available. If the expected body elements of a post request have changed, that should be reflected too in the resource creation menu.

Hope this helps clarify my question.

Javi

Thanks for expanding on your question! :slightly_smiling_face:

This is currently not possible but I created an internal feature request and included your use case. We'll update you here with any news.

Thx Paulo!