Pointing build to lib/swagger.js. Added canDisplay method to operations that will hide operation if not allowed.