luckymarmot / API-Flow

Universal data structure and converter for API formats (Swagger, RAML, Paw, Postman…)
MIT License
194 stars 24 forks source link

Parsers - Swagger - basePath is not properly trimmed in some cases #81

Closed JonathanMontane closed 8 years ago

JonathanMontane commented 8 years ago

If the basePath is /, it is not properly trimmed, given results such as https://api.github.com//feeds instead of https://api.github.com/feeds

JonathanMontane commented 8 years ago

Fixed in PR #80