Disable Swagger

What is the easiest way to disable Swagger with Girder ?

Additionally, how can I conveniently disable some API routes.

Ideally I would like a configurable setting.

Thanks !