ContributionsMost RecentMost LikesSolutionsRe: Swagger with on-prem deployment Thank you so much Ron for your help. Really appreciate it. Re: Swagger with on-prem deployment Hi Ron, Thank you. The way we set it up is, 1. Installed nswag nuget on web api project 2. Added configuration in Startup.cs 3. Navigate to /swagger endpoint Re: Swagger with on-prem deployment Swagger UI for API documentation Swagger with on-prem deployment Our application is Microsoft stack. We deploy our application in the client environment. We want to turn off the swagger when deploying on the clients infrastructure. If we keep config change in the app.config or database, the end client can easily turn on the swagger and view all our private apis. They also have admin access to the DB. Is there a secured way of turning off the swagger for the on-prem deployment? Solved