Fix https://github.com/rantav/flask-restful-swagger/issues/8 by adopting this fix https://github.com/wordnik/swagger-ui/issues/279