improved Swagger Version identification to be more allowing