{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/449","repository_url":"https://api.github.com/repos/ruby-grape/grape-swagger","labels_url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/449/comments","events_url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/449/events","html_url":"https://github.com/ruby-grape/grape-swagger/issues/449","id":158744569,"number":449,"title":"swagger-ui doesn't render the endpoints if method[:description] is deleted","user":{"login":"texpert","id":2990033,"avatar_url":"https://avatars.githubusercontent.com/u/2990033?v=3","gravatar_id":"","url":"https://api.github.com/users/texpert","html_url":"https://github.com/texpert","followers_url":"https://api.github.com/users/texpert/followers","following_url":"https://api.github.com/users/texpert/following{/other_user}","gists_url":"https://api.github.com/users/texpert/gists{/gist_id}","starred_url":"https://api.github.com/users/texpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texpert/subscriptions","organizations_url":"https://api.github.com/users/texpert/orgs","repos_url":"https://api.github.com/users/texpert/repos","events_url":"https://api.github.com/users/texpert/events{/privacy}","received_events_url":"https://api.github.com/users/texpert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-06T18:36:01Z","updated_at":"2016-06-06T21:27:51Z","closed_at":null,"body":"It shows 'http://xxxxxx.ngrok.io/api/swagger_doc; Please wait.' and doesn't go further.\r\n\r\nAs a workaround I tried to replace the string https://github.com/LeFnord/grape-swagger/blob/3e747e3e221e2421d912ede97eebd29845867054/lib/grape-swagger/endpoint.rb#L114\r\n\r\nwith\r\n\r\n```\r\n    method.delete_if do |key, value|\r\n      next if key == :description\r\n      value.blank?\r\n    end\r\n```\r\nand then everything is OK. \r\n\r\nThough I am not satisfied because the behaviour of not rendering is not 100% reproducible - there are some routes which are going without description, and some, which are causing the pause. \r\n\r\nAny hints what else should be checked?"},"comment":{"url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/comments/224093882","html_url":"https://github.com/ruby-grape/grape-swagger/issues/449#issuecomment-224093882","issue_url":"https://api.github.com/repos/ruby-grape/grape-swagger/issues/449","id":224093882,"user":{"login":"texpert","id":2990033,"avatar_url":"https://avatars.githubusercontent.com/u/2990033?v=3","gravatar_id":"","url":"https://api.github.com/users/texpert","html_url":"https://github.com/texpert","followers_url":"https://api.github.com/users/texpert/followers","following_url":"https://api.github.com/users/texpert/following{/other_user}","gists_url":"https://api.github.com/users/texpert/gists{/gist_id}","starred_url":"https://api.github.com/users/texpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texpert/subscriptions","organizations_url":"https://api.github.com/users/texpert/orgs","repos_url":"https://api.github.com/users/texpert/repos","events_url":"https://api.github.com/users/texpert/events{/privacy}","received_events_url":"https://api.github.com/users/texpert/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T21:27:51Z","updated_at":"2016-06-06T21:27:51Z","body":"BTW, commenting the 114 string resolves the issue too. Maybe no need to delete methods with empty values at all?"}}
{"actor":{"display_login":"texpert"}}