apioo / fusio

Open source API management platform

Home Page:https://www.fusio-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to re-generate 'spec-openapi' for ReDoc after I created a new operation?

wdhwang opened this issue · comments

If I re-installed Fusio, I could see all APIs in ReDoc (like redoc1).
But I cannot see the new API in ReDoc after I created a new operation (like redoc2).
Is there any way to re-generate 'spec-openapi' for ReDoc after I created a new operation?

@wdhwang so you can simply delete the cache/psx folder, this should then refresh OpenAPI spec. Regarding this issue we have also recently added a fix to automatically clear the cache if you create, update or delete an operation s. https://github.com/apioo/fusio-impl/blob/master/src/EventListener/CacheInvalidateListener.php so this problem should be solved with the next release.

It works. Thanks for your prompt reply.