{"action":"created","issue":{"url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/460","repository_url":"https://api.github.com/repos/noirbizarre/flask-restplus","labels_url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/460/comments","events_url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/460/events","html_url":"https://github.com/noirbizarre/flask-restplus/issues/460","id":328867136,"node_id":"MDU6SXNzdWUzMjg4NjcxMzY=","number":460,"title":"Remove default namespace?","user":{"login":"manbeing","id":39745132,"node_id":"MDQ6VXNlcjM5NzQ1MTMy","avatar_url":"https://avatars2.githubusercontent.com/u/39745132?v=4","gravatar_id":"","url":"https://api.github.com/users/manbeing","html_url":"https://github.com/manbeing","followers_url":"https://api.github.com/users/manbeing/followers","following_url":"https://api.github.com/users/manbeing/following{/other_user}","gists_url":"https://api.github.com/users/manbeing/gists{/gist_id}","starred_url":"https://api.github.com/users/manbeing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manbeing/subscriptions","organizations_url":"https://api.github.com/users/manbeing/orgs","repos_url":"https://api.github.com/users/manbeing/repos","events_url":"https://api.github.com/users/manbeing/events{/privacy}","received_events_url":"https://api.github.com/users/manbeing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-03T22:16:03Z","updated_at":"2018-06-05T08:55:43Z","closed_at":null,"author_association":"NONE","body":"This issue has confused me for several days, and I still cannot find a solution to resolve it. Just wanted to see if somebody here has some bright ideas.\r\nFor example, I make a namespace called 'test' for my app, but somehow, the default namespace is shown:\r\n![image](https://user-images.githubusercontent.com/39745132/40891599-78534b78-6756-11e8-9a38-2993ce987474.png)\r\n\r\nTo get rid of this redundant default namespace, what I have done is to set the default namespace value when initializing the Api:\r\n```python\r\napi = Api(app, default ='test', default_label='this is namespace test')\r\n```\r\nUnfortunately, this is not an ideal solution because I found there were two duplicate namespaces extracted to swagger file.\r\n![image](https://user-images.githubusercontent.com/39745132/40891798-10c5e232-675a-11e8-9471-0bc3b66c5d76.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/comments/394633961","html_url":"https://github.com/noirbizarre/flask-restplus/issues/460#issuecomment-394633961","issue_url":"https://api.github.com/repos/noirbizarre/flask-restplus/issues/460","id":394633961,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDYzMzk2MQ==","user":{"login":"TotempaaltJ","id":54749,"node_id":"MDQ6VXNlcjU0NzQ5","avatar_url":"https://avatars2.githubusercontent.com/u/54749?v=4","gravatar_id":"","url":"https://api.github.com/users/TotempaaltJ","html_url":"https://github.com/TotempaaltJ","followers_url":"https://api.github.com/users/TotempaaltJ/followers","following_url":"https://api.github.com/users/TotempaaltJ/following{/other_user}","gists_url":"https://api.github.com/users/TotempaaltJ/gists{/gist_id}","starred_url":"https://api.github.com/users/TotempaaltJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TotempaaltJ/subscriptions","organizations_url":"https://api.github.com/users/TotempaaltJ/orgs","repos_url":"https://api.github.com/users/TotempaaltJ/repos","events_url":"https://api.github.com/users/TotempaaltJ/events{/privacy}","received_events_url":"https://api.github.com/users/TotempaaltJ/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T08:55:43Z","updated_at":"2018-06-05T08:55:43Z","author_association":"NONE","body":"Looks like a bug to me :+1:"}}
{"actor":{"display_login":"TotempaaltJ"}}