Toggling issue on endpoints #616

details: https://github.com/wordnik/swagger-ui/issues/616

I am not sure on which branch I should've created a pull request, please let me know if I should use another branch.

thanks