Exposed the swagger_support option in configuration for Dashboard to disable the swagger API document.