Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix doc page not updated on plugin activation
How to reproduce: - Launch the Cat - Goto /docs page - Activate a plugin with a custom endpoint - The custom endpoint can be used - Refresh page /docs - The new custom endpoint is not there Why: The openapi schema is cached by get_openapi_configuration_function Solution: Each time a function is decorated with `endpoint`, we flush the cache
- Loading branch information