{"action":"created","comment":{"url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/comments/45889433","id":45889433,"diff_hunk":"@@ -44,9 +44,7 @@ case class DefinitionGenerator(domainNameSpace: Option[String] = None)(implicit\n           val refNames = thisDef.properties.collect {\n             case p if p.referenceType.isDefined ⇒ p.referenceType.get\n             case p if p.items.isDefined         ⇒ p.items.get\n-          }.filter { refName ⇒\n-            domainNameSpace.fold(false)(refName.startsWith(_))\n-          }\n+          }.filter(modelQualifier.isModel)","path":"src/main/scala/com/iheart/playSwagger/DefinitionGenerator.scala","position":25,"original_position":25,"commit_id":"23a14c8519a1316540816fe5605e97cb2b3eaab4","original_commit_id":"23a14c8519a1316540816fe5605e97cb2b3eaab4","user":{"login":"kailuowang","id":83257,"avatar_url":"https://avatars.githubusercontent.com/u/83257?v=3","gravatar_id":"","url":"https://api.github.com/users/kailuowang","html_url":"https://github.com/kailuowang","followers_url":"https://api.github.com/users/kailuowang/followers","following_url":"https://api.github.com/users/kailuowang/following{/other_user}","gists_url":"https://api.github.com/users/kailuowang/gists{/gist_id}","starred_url":"https://api.github.com/users/kailuowang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailuowang/subscriptions","organizations_url":"https://api.github.com/users/kailuowang/orgs","repos_url":"https://api.github.com/users/kailuowang/repos","events_url":"https://api.github.com/users/kailuowang/events{/privacy}","received_events_url":"https://api.github.com/users/kailuowang/received_events","type":"User","site_admin":false},"body":"see, I always forget that both list and option are the same iterable monad.\r\n","created_at":"2015-11-25T16:42:46Z","updated_at":"2015-11-25T16:42:46Z","html_url":"https://github.com/iheartradio/play-swagger/pull/26#discussion_r45889433","pull_request_url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/comments/45889433"},"html":{"href":"https://github.com/iheartradio/play-swagger/pull/26#discussion_r45889433"},"pull_request":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26","id":51803868,"html_url":"https://github.com/iheartradio/play-swagger/pull/26","diff_url":"https://github.com/iheartradio/play-swagger/pull/26.diff","patch_url":"https://github.com/iheartradio/play-swagger/pull/26.patch","issue_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/26","number":26,"state":"open","locked":false,"title":"fixed #25","user":{"login":"kailuowang","id":83257,"avatar_url":"https://avatars.githubusercontent.com/u/83257?v=3","gravatar_id":"","url":"https://api.github.com/users/kailuowang","html_url":"https://github.com/kailuowang","followers_url":"https://api.github.com/users/kailuowang/followers","following_url":"https://api.github.com/users/kailuowang/following{/other_user}","gists_url":"https://api.github.com/users/kailuowang/gists{/gist_id}","starred_url":"https://api.github.com/users/kailuowang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailuowang/subscriptions","organizations_url":"https://api.github.com/users/kailuowang/orgs","repos_url":"https://api.github.com/users/kailuowang/repos","events_url":"https://api.github.com/users/kailuowang/events{/privacy}","received_events_url":"https://api.github.com/users/kailuowang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T14:55:56Z","updated_at":"2015-11-25T16:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1a58821e0bde43dbca2eb990c986e1e37111ce0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26/commits","review_comments_url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26/comments","review_comment_url":"https://api.github.com/repos/iheartradio/play-swagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/26/comments","statuses_url":"https://api.github.com/repos/iheartradio/play-swagger/statuses/23a14c8519a1316540816fe5605e97cb2b3eaab4","head":{"label":"kailuowang:master","ref":"master","sha":"23a14c8519a1316540816fe5605e97cb2b3eaab4","user":{"login":"kailuowang","id":83257,"avatar_url":"https://avatars.githubusercontent.com/u/83257?v=3","gravatar_id":"","url":"https://api.github.com/users/kailuowang","html_url":"https://github.com/kailuowang","followers_url":"https://api.github.com/users/kailuowang/followers","following_url":"https://api.github.com/users/kailuowang/following{/other_user}","gists_url":"https://api.github.com/users/kailuowang/gists{/gist_id}","starred_url":"https://api.github.com/users/kailuowang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailuowang/subscriptions","organizations_url":"https://api.github.com/users/kailuowang/orgs","repos_url":"https://api.github.com/users/kailuowang/repos","events_url":"https://api.github.com/users/kailuowang/events{/privacy}","received_events_url":"https://api.github.com/users/kailuowang/received_events","type":"User","site_admin":false},"repo":{"id":43562843,"name":"play-swagger","full_name":"kailuowang/play-swagger","owner":{"login":"kailuowang","id":83257,"avatar_url":"https://avatars.githubusercontent.com/u/83257?v=3","gravatar_id":"","url":"https://api.github.com/users/kailuowang","html_url":"https://github.com/kailuowang","followers_url":"https://api.github.com/users/kailuowang/followers","following_url":"https://api.github.com/users/kailuowang/following{/other_user}","gists_url":"https://api.github.com/users/kailuowang/gists{/gist_id}","starred_url":"https://api.github.com/users/kailuowang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kailuowang/subscriptions","organizations_url":"https://api.github.com/users/kailuowang/orgs","repos_url":"https://api.github.com/users/kailuowang/repos","events_url":"https://api.github.com/users/kailuowang/events{/privacy}","received_events_url":"https://api.github.com/users/kailuowang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kailuowang/play-swagger","description":"Swagger spec generator for play framework","fork":true,"url":"https://api.github.com/repos/kailuowang/play-swagger","forks_url":"https://api.github.com/repos/kailuowang/play-swagger/forks","keys_url":"https://api.github.com/repos/kailuowang/play-swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kailuowang/play-swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kailuowang/play-swagger/teams","hooks_url":"https://api.github.com/repos/kailuowang/play-swagger/hooks","issue_events_url":"https://api.github.com/repos/kailuowang/play-swagger/issues/events{/number}","events_url":"https://api.github.com/repos/kailuowang/play-swagger/events","assignees_url":"https://api.github.com/repos/kailuowang/play-swagger/assignees{/user}","branches_url":"https://api.github.com/repos/kailuowang/play-swagger/branches{/branch}","tags_url":"https://api.github.com/repos/kailuowang/play-swagger/tags","blobs_url":"https://api.github.com/repos/kailuowang/play-swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kailuowang/play-swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kailuowang/play-swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/kailuowang/play-swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kailuowang/play-swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/kailuowang/play-swagger/languages","stargazers_url":"https://api.github.com/repos/kailuowang/play-swagger/stargazers","contributors_url":"https://api.github.com/repos/kailuowang/play-swagger/contributors","subscribers_url":"https://api.github.com/repos/kailuowang/play-swagger/subscribers","subscription_url":"https://api.github.com/repos/kailuowang/play-swagger/subscription","commits_url":"https://api.github.com/repos/kailuowang/play-swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/kailuowang/play-swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/kailuowang/play-swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/kailuowang/play-swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/kailuowang/play-swagger/contents/{+path}","compare_url":"https://api.github.com/repos/kailuowang/play-swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kailuowang/play-swagger/merges","archive_url":"https://api.github.com/repos/kailuowang/play-swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kailuowang/play-swagger/downloads","issues_url":"https://api.github.com/repos/kailuowang/play-swagger/issues{/number}","pulls_url":"https://api.github.com/repos/kailuowang/play-swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/kailuowang/play-swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/kailuowang/play-swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kailuowang/play-swagger/labels{/name}","releases_url":"https://api.github.com/repos/kailuowang/play-swagger/releases{/id}","created_at":"2015-10-02T16:08:53Z","updated_at":"2015-10-02T16:08:54Z","pushed_at":"2015-11-25T14:55:29Z","git_url":"git://github.com/kailuowang/play-swagger.git","ssh_url":"git@github.com:kailuowang/play-swagger.git","clone_url":"https://github.com/kailuowang/play-swagger.git","svn_url":"https://github.com/kailuowang/play-swagger","homepage":" http://iheartradio.github.io/play-swagger","size":154,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iheartradio:master","ref":"master","sha":"eb1d6cc74fae8fc6c2a41d222320a5595f81c518","user":{"login":"iheartradio","id":993737,"avatar_url":"https://avatars.githubusercontent.com/u/993737?v=3","gravatar_id":"","url":"https://api.github.com/users/iheartradio","html_url":"https://github.com/iheartradio","followers_url":"https://api.github.com/users/iheartradio/followers","following_url":"https://api.github.com/users/iheartradio/following{/other_user}","gists_url":"https://api.github.com/users/iheartradio/gists{/gist_id}","starred_url":"https://api.github.com/users/iheartradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iheartradio/subscriptions","organizations_url":"https://api.github.com/users/iheartradio/orgs","repos_url":"https://api.github.com/users/iheartradio/repos","events_url":"https://api.github.com/users/iheartradio/events{/privacy}","received_events_url":"https://api.github.com/users/iheartradio/received_events","type":"Organization","site_admin":false},"repo":{"id":42681499,"name":"play-swagger","full_name":"iheartradio/play-swagger","owner":{"login":"iheartradio","id":993737,"avatar_url":"https://avatars.githubusercontent.com/u/993737?v=3","gravatar_id":"","url":"https://api.github.com/users/iheartradio","html_url":"https://github.com/iheartradio","followers_url":"https://api.github.com/users/iheartradio/followers","following_url":"https://api.github.com/users/iheartradio/following{/other_user}","gists_url":"https://api.github.com/users/iheartradio/gists{/gist_id}","starred_url":"https://api.github.com/users/iheartradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iheartradio/subscriptions","organizations_url":"https://api.github.com/users/iheartradio/orgs","repos_url":"https://api.github.com/users/iheartradio/repos","events_url":"https://api.github.com/users/iheartradio/events{/privacy}","received_events_url":"https://api.github.com/users/iheartradio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iheartradio/play-swagger","description":"Swagger spec generator for play framework","fork":false,"url":"https://api.github.com/repos/iheartradio/play-swagger","forks_url":"https://api.github.com/repos/iheartradio/play-swagger/forks","keys_url":"https://api.github.com/repos/iheartradio/play-swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iheartradio/play-swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iheartradio/play-swagger/teams","hooks_url":"https://api.github.com/repos/iheartradio/play-swagger/hooks","issue_events_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/events{/number}","events_url":"https://api.github.com/repos/iheartradio/play-swagger/events","assignees_url":"https://api.github.com/repos/iheartradio/play-swagger/assignees{/user}","branches_url":"https://api.github.com/repos/iheartradio/play-swagger/branches{/branch}","tags_url":"https://api.github.com/repos/iheartradio/play-swagger/tags","blobs_url":"https://api.github.com/repos/iheartradio/play-swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iheartradio/play-swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iheartradio/play-swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/iheartradio/play-swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iheartradio/play-swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/iheartradio/play-swagger/languages","stargazers_url":"https://api.github.com/repos/iheartradio/play-swagger/stargazers","contributors_url":"https://api.github.com/repos/iheartradio/play-swagger/contributors","subscribers_url":"https://api.github.com/repos/iheartradio/play-swagger/subscribers","subscription_url":"https://api.github.com/repos/iheartradio/play-swagger/subscription","commits_url":"https://api.github.com/repos/iheartradio/play-swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/iheartradio/play-swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/iheartradio/play-swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/iheartradio/play-swagger/contents/{+path}","compare_url":"https://api.github.com/repos/iheartradio/play-swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iheartradio/play-swagger/merges","archive_url":"https://api.github.com/repos/iheartradio/play-swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iheartradio/play-swagger/downloads","issues_url":"https://api.github.com/repos/iheartradio/play-swagger/issues{/number}","pulls_url":"https://api.github.com/repos/iheartradio/play-swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/iheartradio/play-swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/iheartradio/play-swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iheartradio/play-swagger/labels{/name}","releases_url":"https://api.github.com/repos/iheartradio/play-swagger/releases{/id}","created_at":"2015-09-17T20:56:52Z","updated_at":"2015-11-25T12:30:08Z","pushed_at":"2015-11-25T14:55:56Z","git_url":"git://github.com/iheartradio/play-swagger.git","ssh_url":"git@github.com:iheartradio/play-swagger.git","clone_url":"https://github.com/iheartradio/play-swagger.git","svn_url":"https://github.com/iheartradio/play-swagger","homepage":" http://iheartradio.github.io/play-swagger/","size":84,"stargazers_count":21,"watchers_count":21,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26"},"html":{"href":"https://github.com/iheartradio/play-swagger/pull/26"},"issue":{"href":"https://api.github.com/repos/iheartradio/play-swagger/issues/26"},"comments":{"href":"https://api.github.com/repos/iheartradio/play-swagger/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iheartradio/play-swagger/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/iheartradio/play-swagger/statuses/23a14c8519a1316540816fe5605e97cb2b3eaab4"}}}}