Hide swagger documentation

Hello there, I was wondering is there is any way to hide the swagger documentation of a publish api? Currently our api documentation is public and we want to make it so that you have to login to view the documentation. Anyone know a solution?
1 answers

I dont' think you can at this point.

You can deny acces to the a specific api(or restrict it), then the documentation is not shown see: https://docs.mendix.com/howtogeneral/bestpractices/best-practices-security-and-improvements-for-mendix-applications#4-apply-access-restrictions-to-unnecessary-request-handlers 

Part 4 about Apply Access Restrictions to Unnecessary Request Handlers