changed default api-docs url from "http://petstore.swagger.wordnik.com/api/api-docs" to location.origin + "/api-docs"