fix for https://github.com/mission-liao/pyswagger/issues/13