{"action":"created","issue":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/1137","repository_url":"https://api.github.com/repos/RSuter/NSwag","labels_url":"https://api.github.com/repos/RSuter/NSwag/issues/1137/labels{/name}","comments_url":"https://api.github.com/repos/RSuter/NSwag/issues/1137/comments","events_url":"https://api.github.com/repos/RSuter/NSwag/issues/1137/events","html_url":"https://github.com/RSuter/NSwag/issues/1137","id":287100362,"node_id":"MDU6SXNzdWUyODcxMDAzNjI=","number":1137,"title":"How to add custom Swagger UI","user":{"login":"satishviswanathan","id":17437409,"node_id":"MDQ6VXNlcjE3NDM3NDA5","avatar_url":"https://avatars0.githubusercontent.com/u/17437409?v=4","gravatar_id":"","url":"https://api.github.com/users/satishviswanathan","html_url":"https://github.com/satishviswanathan","followers_url":"https://api.github.com/users/satishviswanathan/followers","following_url":"https://api.github.com/users/satishviswanathan/following{/other_user}","gists_url":"https://api.github.com/users/satishviswanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/satishviswanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satishviswanathan/subscriptions","organizations_url":"https://api.github.com/users/satishviswanathan/orgs","repos_url":"https://api.github.com/users/satishviswanathan/repos","events_url":"https://api.github.com/users/satishviswanathan/events{/privacy}","received_events_url":"https://api.github.com/users/satishviswanathan/received_events","type":"User","site_admin":false},"labels":[{"id":255705720,"node_id":"MDU6TGFiZWwyNTU3MDU3MjA=","url":"https://api.github.com/repos/RSuter/NSwag/labels/type:%20enhancement","name":"type: enhancement","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-09T14:06:49Z","updated_at":"2018-07-11T10:15:40Z","closed_at":null,"author_association":"NONE","body":"\r\nAs compared to SwashBuckle does Nswag provide a way to inject custom assets like the index.html and the styles.\r\n\r\nSample Swashbuckle Code\r\n------------------------------\r\nc.CustomAsset(\"index\", thisAssembly, \"Synapse.RF.Api.SwaggerExtension.index.html\");\r\nc.InjectStylesheet(thisAssembly, \"Synapse.RF.Api.SwaggerExtension.swaggerExt.css\");\r\n\r\n\r\nLooking for a similar implementation in NSwag. Any help on this issue is really appreciated. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RSuter/NSwag/issues/comments/404118734","html_url":"https://github.com/RSuter/NSwag/issues/1137#issuecomment-404118734","issue_url":"https://api.github.com/repos/RSuter/NSwag/issues/1137","id":404118734,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDExODczNA==","user":{"login":"RSuter","id":2603405,"node_id":"MDQ6VXNlcjI2MDM0MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2603405?v=4","gravatar_id":"","url":"https://api.github.com/users/RSuter","html_url":"https://github.com/RSuter","followers_url":"https://api.github.com/users/RSuter/followers","following_url":"https://api.github.com/users/RSuter/following{/other_user}","gists_url":"https://api.github.com/users/RSuter/gists{/gist_id}","starred_url":"https://api.github.com/users/RSuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RSuter/subscriptions","organizations_url":"https://api.github.com/users/RSuter/orgs","repos_url":"https://api.github.com/users/RSuter/repos","events_url":"https://api.github.com/users/RSuter/events{/privacy}","received_events_url":"https://api.github.com/users/RSuter/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T10:15:40Z","updated_at":"2018-07-11T10:15:40Z","author_association":"OWNER","body":"I think it would be best/most flexible to just use UseSwagger() or UseSwaggerWithApiExplorer() and host the ui yourself... "}}
{"actor":{"display_login":"RSuter"}}