{"action":"created","issue":{"url":"https://api.github.com/repos/gangverk/flask-swagger/issues/28","repository_url":"https://api.github.com/repos/gangverk/flask-swagger","labels_url":"https://api.github.com/repos/gangverk/flask-swagger/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/gangverk/flask-swagger/issues/28/comments","events_url":"https://api.github.com/repos/gangverk/flask-swagger/issues/28/events","html_url":"https://github.com/gangverk/flask-swagger/issues/28","id":142397864,"number":28,"title":"Parser adding extra routes?","user":{"login":"tommyjcarpenter","id":9419125,"avatar_url":"https://avatars.githubusercontent.com/u/9419125?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyjcarpenter","html_url":"https://github.com/tommyjcarpenter","followers_url":"https://api.github.com/users/tommyjcarpenter/followers","following_url":"https://api.github.com/users/tommyjcarpenter/following{/other_user}","gists_url":"https://api.github.com/users/tommyjcarpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyjcarpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyjcarpenter/subscriptions","organizations_url":"https://api.github.com/users/tommyjcarpenter/orgs","repos_url":"https://api.github.com/users/tommyjcarpenter/repos","events_url":"https://api.github.com/users/tommyjcarpenter/events{/privacy}","received_events_url":"https://api.github.com/users/tommyjcarpenter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-21T16:16:37Z","updated_at":"2016-07-25T22:26:17Z","closed_at":null,"body":"I have a class as follows:\r\n\r\n```\r\nclass Docker(Resource):\r\n    def post(self) -> \"http response\":\r\n        \"\"\"\r\n        valid swagger docstring here\r\n        \"\"\"\r\n        ...\r\n\r\n    def get(self, session_id : str) -> \"http response\":\r\n        ...\r\n\r\n    def delete(self, session_id : str) -> \"http response\":\r\n        ...\r\n```\r\n\r\nHowever, using your flask-swagger, TWO paths show up in resources:\r\n```\r\nPaths\r\n/Docker\r\nPOST /Docker\r\n/Docker/{session_id}\r\nPOST /Docker/{session_id}\r\n```\r\n\r\nThe second path does not exist. What is happening?"},"comment":{"url":"https://api.github.com/repos/gangverk/flask-swagger/issues/comments/235105309","html_url":"https://github.com/gangverk/flask-swagger/issues/28#issuecomment-235105309","issue_url":"https://api.github.com/repos/gangverk/flask-swagger/issues/28","id":235105309,"user":{"login":"atlithorn","id":467317,"avatar_url":"https://avatars.githubusercontent.com/u/467317?v=3","gravatar_id":"","url":"https://api.github.com/users/atlithorn","html_url":"https://github.com/atlithorn","followers_url":"https://api.github.com/users/atlithorn/followers","following_url":"https://api.github.com/users/atlithorn/following{/other_user}","gists_url":"https://api.github.com/users/atlithorn/gists{/gist_id}","starred_url":"https://api.github.com/users/atlithorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlithorn/subscriptions","organizations_url":"https://api.github.com/users/atlithorn/orgs","repos_url":"https://api.github.com/users/atlithorn/repos","events_url":"https://api.github.com/users/atlithorn/events{/privacy}","received_events_url":"https://api.github.com/users/atlithorn/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T22:26:17Z","updated_at":"2016-07-25T22:26:17Z","body":"Finally had a look at it and @dmertl is right there is no easy solution without refactoring how flask_swagger discovers resources. It's probably doable but unfortunately not something I need or have time for at the moment. More than willing to review suggestions as always."}}
{"actor":{"display_login":"atlithorn"}}