upgrade swagger-ui to 1.2

* Upgrade to the latest swagger-ui
* support note attribute in custom endpoints