library fix for https://github.com/wordnik/swagger-ui/issues/602