{"action":"closed","number":99,"pull_request":{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99","id":22345919,"html_url":"https://github.com/domaindrivendev/Swashbuckle/pull/99","diff_url":"https://github.com/domaindrivendev/Swashbuckle/pull/99.diff","patch_url":"https://github.com/domaindrivendev/Swashbuckle/pull/99.patch","issue_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/99","number":99,"state":"closed","locked":false,"title":"Parameter to tell swashbuckle not to register a route for index.html so ...","user":{"login":"Ian1971","id":318793,"avatar_url":"https://avatars.githubusercontent.com/u/318793?v=3","gravatar_id":"","url":"https://api.github.com/users/Ian1971","html_url":"https://github.com/Ian1971","followers_url":"https://api.github.com/users/Ian1971/followers","following_url":"https://api.github.com/users/Ian1971/following{/other_user}","gists_url":"https://api.github.com/users/Ian1971/gists{/gist_id}","starred_url":"https://api.github.com/users/Ian1971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ian1971/subscriptions","organizations_url":"https://api.github.com/users/Ian1971/orgs","repos_url":"https://api.github.com/users/Ian1971/repos","events_url":"https://api.github.com/users/Ian1971/events{/privacy}","received_events_url":"https://api.github.com/users/Ian1971/received_events","type":"User","site_admin":false},"body":"...mvc view can be used\r\n\r\nI needed to be able to render index.html as a view, but this wasn't obviously possible as it was already going through the SwaggerUiHandler.\r\nI added an overload to the Init method which allows you to tell swashbuckle not to register a route for index.html so that it can be registered in the containing MVC application instead.\r\n\r\nThis works quite nicely in my situation and helped solve some issues I was having with server paths varying on different environments. I think it also gives me more flexibility going forward as I am currently using an iframe to render the swagger page but I could now in theory do it via a PartialView (I think).","created_at":"2014-10-07T11:26:23Z","updated_at":"2015-01-26T17:26:01Z","closed_at":"2015-01-26T17:26:01Z","merged_at":null,"merge_commit_sha":"c9baebb1d03a7b9d3a7e56a9a70552e62af17117","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99/commits","review_comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99/comments","review_comment_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/99/comments","statuses_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/statuses/b04f7c9831a7e00e950abb394480452a7bc6d4b2","head":{"label":"Ian1971:master","ref":"master","sha":"b04f7c9831a7e00e950abb394480452a7bc6d4b2","user":{"login":"Ian1971","id":318793,"avatar_url":"https://avatars.githubusercontent.com/u/318793?v=3","gravatar_id":"","url":"https://api.github.com/users/Ian1971","html_url":"https://github.com/Ian1971","followers_url":"https://api.github.com/users/Ian1971/followers","following_url":"https://api.github.com/users/Ian1971/following{/other_user}","gists_url":"https://api.github.com/users/Ian1971/gists{/gist_id}","starred_url":"https://api.github.com/users/Ian1971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ian1971/subscriptions","organizations_url":"https://api.github.com/users/Ian1971/orgs","repos_url":"https://api.github.com/users/Ian1971/repos","events_url":"https://api.github.com/users/Ian1971/events{/privacy}","received_events_url":"https://api.github.com/users/Ian1971/received_events","type":"User","site_admin":false},"repo":{"id":24845108,"name":"Swashbuckle","full_name":"Ian1971/Swashbuckle","owner":{"login":"Ian1971","id":318793,"avatar_url":"https://avatars.githubusercontent.com/u/318793?v=3","gravatar_id":"","url":"https://api.github.com/users/Ian1971","html_url":"https://github.com/Ian1971","followers_url":"https://api.github.com/users/Ian1971/followers","following_url":"https://api.github.com/users/Ian1971/following{/other_user}","gists_url":"https://api.github.com/users/Ian1971/gists{/gist_id}","starred_url":"https://api.github.com/users/Ian1971/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ian1971/subscriptions","organizations_url":"https://api.github.com/users/Ian1971/orgs","repos_url":"https://api.github.com/users/Ian1971/repos","events_url":"https://api.github.com/users/Ian1971/events{/privacy}","received_events_url":"https://api.github.com/users/Ian1971/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ian1971/Swashbuckle","description":"Seamlessly adds a swagger to WebApi projects!","fork":true,"url":"https://api.github.com/repos/Ian1971/Swashbuckle","forks_url":"https://api.github.com/repos/Ian1971/Swashbuckle/forks","keys_url":"https://api.github.com/repos/Ian1971/Swashbuckle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ian1971/Swashbuckle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ian1971/Swashbuckle/teams","hooks_url":"https://api.github.com/repos/Ian1971/Swashbuckle/hooks","issue_events_url":"https://api.github.com/repos/Ian1971/Swashbuckle/issues/events{/number}","events_url":"https://api.github.com/repos/Ian1971/Swashbuckle/events","assignees_url":"https://api.github.com/repos/Ian1971/Swashbuckle/assignees{/user}","branches_url":"https://api.github.com/repos/Ian1971/Swashbuckle/branches{/branch}","tags_url":"https://api.github.com/repos/Ian1971/Swashbuckle/tags","blobs_url":"https://api.github.com/repos/Ian1971/Swashbuckle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ian1971/Swashbuckle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ian1971/Swashbuckle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ian1971/Swashbuckle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ian1971/Swashbuckle/statuses/{sha}","languages_url":"https://api.github.com/repos/Ian1971/Swashbuckle/languages","stargazers_url":"https://api.github.com/repos/Ian1971/Swashbuckle/stargazers","contributors_url":"https://api.github.com/repos/Ian1971/Swashbuckle/contributors","subscribers_url":"https://api.github.com/repos/Ian1971/Swashbuckle/subscribers","subscription_url":"https://api.github.com/repos/Ian1971/Swashbuckle/subscription","commits_url":"https://api.github.com/repos/Ian1971/Swashbuckle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ian1971/Swashbuckle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ian1971/Swashbuckle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ian1971/Swashbuckle/issues/comments/{number}","contents_url":"https://api.github.com/repos/Ian1971/Swashbuckle/contents/{+path}","compare_url":"https://api.github.com/repos/Ian1971/Swashbuckle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ian1971/Swashbuckle/merges","archive_url":"https://api.github.com/repos/Ian1971/Swashbuckle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ian1971/Swashbuckle/downloads","issues_url":"https://api.github.com/repos/Ian1971/Swashbuckle/issues{/number}","pulls_url":"https://api.github.com/repos/Ian1971/Swashbuckle/pulls{/number}","milestones_url":"https://api.github.com/repos/Ian1971/Swashbuckle/milestones{/number}","notifications_url":"https://api.github.com/repos/Ian1971/Swashbuckle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ian1971/Swashbuckle/labels{/name}","releases_url":"https://api.github.com/repos/Ian1971/Swashbuckle/releases{/id}","created_at":"2014-10-06T12:37:18Z","updated_at":"2014-10-06T19:39:25Z","pushed_at":"2014-10-24T10:41:24Z","git_url":"git://github.com/Ian1971/Swashbuckle.git","ssh_url":"git@github.com:Ian1971/Swashbuckle.git","clone_url":"https://github.com/Ian1971/Swashbuckle.git","svn_url":"https://github.com/Ian1971/Swashbuckle","homepage":"","size":1132,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"domaindrivendev:master","ref":"master","sha":"6d2bf4fa88615a4c56d2ba27ec20bb7aa1e859bc","user":{"login":"domaindrivendev","id":1434343,"avatar_url":"https://avatars.githubusercontent.com/u/1434343?v=3","gravatar_id":"","url":"https://api.github.com/users/domaindrivendev","html_url":"https://github.com/domaindrivendev","followers_url":"https://api.github.com/users/domaindrivendev/followers","following_url":"https://api.github.com/users/domaindrivendev/following{/other_user}","gists_url":"https://api.github.com/users/domaindrivendev/gists{/gist_id}","starred_url":"https://api.github.com/users/domaindrivendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domaindrivendev/subscriptions","organizations_url":"https://api.github.com/users/domaindrivendev/orgs","repos_url":"https://api.github.com/users/domaindrivendev/repos","events_url":"https://api.github.com/users/domaindrivendev/events{/privacy}","received_events_url":"https://api.github.com/users/domaindrivendev/received_events","type":"User","site_admin":false},"repo":{"id":10750139,"name":"Swashbuckle","full_name":"domaindrivendev/Swashbuckle","owner":{"login":"domaindrivendev","id":1434343,"avatar_url":"https://avatars.githubusercontent.com/u/1434343?v=3","gravatar_id":"","url":"https://api.github.com/users/domaindrivendev","html_url":"https://github.com/domaindrivendev","followers_url":"https://api.github.com/users/domaindrivendev/followers","following_url":"https://api.github.com/users/domaindrivendev/following{/other_user}","gists_url":"https://api.github.com/users/domaindrivendev/gists{/gist_id}","starred_url":"https://api.github.com/users/domaindrivendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domaindrivendev/subscriptions","organizations_url":"https://api.github.com/users/domaindrivendev/orgs","repos_url":"https://api.github.com/users/domaindrivendev/repos","events_url":"https://api.github.com/users/domaindrivendev/events{/privacy}","received_events_url":"https://api.github.com/users/domaindrivendev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domaindrivendev/Swashbuckle","description":"Seamlessly adds a swagger to WebApi projects!","fork":false,"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle","forks_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/forks","keys_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/teams","hooks_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/hooks","issue_events_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/events{/number}","events_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/events","assignees_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/assignees{/user}","branches_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/branches{/branch}","tags_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/tags","blobs_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/git/refs{/sha}","trees_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/statuses/{sha}","languages_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/languages","stargazers_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/stargazers","contributors_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/contributors","subscribers_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/subscribers","subscription_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/subscription","commits_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/commits{/sha}","git_commits_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/git/commits{/sha}","comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/comments{/number}","issue_comment_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/comments/{number}","contents_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/contents/{+path}","compare_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/merges","archive_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/downloads","issues_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues{/number}","pulls_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls{/number}","milestones_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/milestones{/number}","notifications_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/labels{/name}","releases_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/releases{/id}","created_at":"2013-06-18T00:04:27Z","updated_at":"2015-01-26T12:50:45Z","pushed_at":"2015-01-22T07:17:12Z","git_url":"git://github.com/domaindrivendev/Swashbuckle.git","ssh_url":"git@github.com:domaindrivendev/Swashbuckle.git","clone_url":"https://github.com/domaindrivendev/Swashbuckle.git","svn_url":"https://github.com/domaindrivendev/Swashbuckle","homepage":"","size":2671,"stargazers_count":183,"watchers_count":183,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":14,"forks":102,"open_issues":14,"watchers":183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99"},"html":{"href":"https://github.com/domaindrivendev/Swashbuckle/pull/99"},"issue":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/99"},"comments":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/domaindrivendev/Swashbuckle/statuses/b04f7c9831a7e00e950abb394480452a7bc6d4b2"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":127,"deletions":106,"changed_files":3}}