{"action":"created","issue":{"url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/118","repository_url":"https://api.github.com/repos/wcandillon/swagger-js-codegen","labels_url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/118/comments","events_url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/118/events","html_url":"https://github.com/wcandillon/swagger-js-codegen/pull/118","id":150897634,"number":118,"title":"Fix \"empty\" base path","user":{"login":"chdanielmueller","id":4051999,"avatar_url":"https://avatars.githubusercontent.com/u/4051999?v=3","gravatar_id":"","url":"https://api.github.com/users/chdanielmueller","html_url":"https://github.com/chdanielmueller","followers_url":"https://api.github.com/users/chdanielmueller/followers","following_url":"https://api.github.com/users/chdanielmueller/following{/other_user}","gists_url":"https://api.github.com/users/chdanielmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/chdanielmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chdanielmueller/subscriptions","organizations_url":"https://api.github.com/users/chdanielmueller/orgs","repos_url":"https://api.github.com/users/chdanielmueller/repos","events_url":"https://api.github.com/users/chdanielmueller/events{/privacy}","received_events_url":"https://api.github.com/users/chdanielmueller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/labels/needs%20fixing","name":"needs fixing","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-25T15:24:11Z","updated_at":"2016-04-27T07:40:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/pulls/118","html_url":"https://github.com/wcandillon/swagger-js-codegen/pull/118","diff_url":"https://github.com/wcandillon/swagger-js-codegen/pull/118.diff","patch_url":"https://github.com/wcandillon/swagger-js-codegen/pull/118.patch"},"body":"closes #117 "},"comment":{"url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/comments/214995490","html_url":"https://github.com/wcandillon/swagger-js-codegen/pull/118#issuecomment-214995490","issue_url":"https://api.github.com/repos/wcandillon/swagger-js-codegen/issues/118","id":214995490,"user":{"login":"wcandillon","id":306134,"avatar_url":"https://avatars.githubusercontent.com/u/306134?v=3","gravatar_id":"","url":"https://api.github.com/users/wcandillon","html_url":"https://github.com/wcandillon","followers_url":"https://api.github.com/users/wcandillon/followers","following_url":"https://api.github.com/users/wcandillon/following{/other_user}","gists_url":"https://api.github.com/users/wcandillon/gists{/gist_id}","starred_url":"https://api.github.com/users/wcandillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcandillon/subscriptions","organizations_url":"https://api.github.com/users/wcandillon/orgs","repos_url":"https://api.github.com/users/wcandillon/repos","events_url":"https://api.github.com/users/wcandillon/events{/privacy}","received_events_url":"https://api.github.com/users/wcandillon/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T07:40:24Z","updated_at":"2016-04-27T07:40:24Z","body":"@chdanielmueller Thank you so much for pointing out this issue. Shouldn't `basePath` be normalized to have its trailing slash remove instead? While your PR seems to be fix `\"basePath\": \"/\",`, it doesn't seem to work for `\"basePath\": \"/v1/\",` for instance?"}}