pyopenapi / pyswagger

An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant.
MIT License
385 stars 89 forks source link

wrong extension when loading from folder with dot #91

Closed mission-liao closed 8 years ago

mission-liao commented 8 years ago

a separated issue from https://github.com/mission-liao/pyswagger/issues/30#issuecomment-252170216

pyswagger "guess" the extension about the file to be load would begin from the path of folder, and then the actual path (another weird behaviour from swagger 1.2)