added a swagger feature so we can swagger-enable the rest quickstarts. thanks @ffang for doing all the real work