I have a problem with the Swagger UI (or the swagger.json file specifically) not being updated when I deploy my code to the server. If I go to the Swagger UI page, the server gives me an old version of the docs.
Everything works locally, so the problem must be related to the deployment process or IIS.
Any ideas on what might cause this, and how I can fix it?
I have tried the following:
(using Swashbuckle for .NET Framework, not .NET Core)
You may need to clear your browser's cache. I just encountered this problem and solved by clear my browser's cache
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With