as they say "There are only two hard things in Computer Science: cache invalidation and naming things." 😅
Just from our docs:
• Oathkeeper is very unlikely to be the component caching your Swagger UI.
• Any stale Swagger UI you see is almost certainly coming from one of the layers in front of Oathkeeper (Cloudflare, Nginx Proxy Manager, or the browser), or from whatever is serving Swagger UI behind Oathkeeper.