Franek I think you could try blocking the Swagger URL in IIS using rewrite rules to return a 403 response, but it doesn't disable it, only blocks. Reply Solution (0) Helpful (0) Wrong answer (0)