{"action":"created","issue":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/167","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/167/comments","events_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/167/events","html_url":"https://github.com/go-swagger/go-swagger/issues/167","id":121894443,"number":167,"title":"server with valid schema and an extra slash (/) does not remove the extra","user":{"login":"jawspeak","id":44742,"avatar_url":"https://avatars.githubusercontent.com/u/44742?v=3","gravatar_id":"","url":"https://api.github.com/users/jawspeak","html_url":"https://github.com/jawspeak","followers_url":"https://api.github.com/users/jawspeak/followers","following_url":"https://api.github.com/users/jawspeak/following{/other_user}","gists_url":"https://api.github.com/users/jawspeak/gists{/gist_id}","starred_url":"https://api.github.com/users/jawspeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawspeak/subscriptions","organizations_url":"https://api.github.com/users/jawspeak/orgs","repos_url":"https://api.github.com/users/jawspeak/repos","events_url":"https://api.github.com/users/jawspeak/events{/privacy}","received_events_url":"https://api.github.com/users/jawspeak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T03:05:34Z","updated_at":"2015-12-13T08:34:33Z","closed_at":"2015-12-13T03:31:23Z","body":"relevant part of the swagger, used to generate server code (and visible by curling localhost:port/swagger.json on the server:\r\n```\r\n  \"host\": \"localhost\",\r\n  \"basePath\": \"/rest/api/2/\",\r\n  \"paths\": {\r\n    \"/search\": {\r\n      \"get\": {\r\n...\r\n```\r\n\r\nNote: basePath ends with a slash and /search starts with one.\r\nthis doesn't work. (404)\r\n```\r\n~ curl -H \"Content-Type:application/json\" -k -I  https://localhost:56658/rest/api/2/search?jql=xx\r\nHTTP/1.1 404 Not Found\r\nContent-Type: application/json\r\nDate: Sun, 13 Dec 2015 03:03:38 GMT\r\n```\r\n\r\nbut this does work `https://localhost:56658/rest/api/2//search?jql=xx` note the double slash. either the validator should error with the basePath ending with a slash, or it should silently do the right thing.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/comments/164238409","html_url":"https://github.com/go-swagger/go-swagger/issues/167#issuecomment-164238409","issue_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/167","id":164238409,"user":{"login":"jawspeak","id":44742,"avatar_url":"https://avatars.githubusercontent.com/u/44742?v=3","gravatar_id":"","url":"https://api.github.com/users/jawspeak","html_url":"https://github.com/jawspeak","followers_url":"https://api.github.com/users/jawspeak/followers","following_url":"https://api.github.com/users/jawspeak/following{/other_user}","gists_url":"https://api.github.com/users/jawspeak/gists{/gist_id}","starred_url":"https://api.github.com/users/jawspeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawspeak/subscriptions","organizations_url":"https://api.github.com/users/jawspeak/orgs","repos_url":"https://api.github.com/users/jawspeak/repos","events_url":"https://api.github.com/users/jawspeak/events{/privacy}","received_events_url":"https://api.github.com/users/jawspeak/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T08:34:33Z","updated_at":"2015-12-13T08:34:33Z","body":"thank you! (:"}}