{"action":"created","issue":{"url":"https://api.github.com/repos/freedomotic/freedomotic/issues/458","repository_url":"https://api.github.com/repos/freedomotic/freedomotic","labels_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/458/comments","events_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/458/events","html_url":"https://github.com/freedomotic/freedomotic/pull/458","id":368811813,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTAxNTE0","number":458,"title":"Update Swagger to version 1.5.21","user":{"login":"alejandrocq","id":282431,"node_id":"MDQ6VXNlcjI4MjQzMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/282431?v=4","gravatar_id":"","url":"https://api.github.com/users/alejandrocq","html_url":"https://github.com/alejandrocq","followers_url":"https://api.github.com/users/alejandrocq/followers","following_url":"https://api.github.com/users/alejandrocq/following{/other_user}","gists_url":"https://api.github.com/users/alejandrocq/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrocq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrocq/subscriptions","organizations_url":"https://api.github.com/users/alejandrocq/orgs","repos_url":"https://api.github.com/users/alejandrocq/repos","events_url":"https://api.github.com/users/alejandrocq/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrocq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-10T19:12:37Z","updated_at":"2018-10-11T09:50:01Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/freedomotic/freedomotic/pulls/458","html_url":"https://github.com/freedomotic/freedomotic/pull/458","diff_url":"https://github.com/freedomotic/freedomotic/pull/458.diff","patch_url":"https://github.com/freedomotic/freedomotic/pull/458.patch"},"body":"PR for issue #452 \r\n\r\nI have updated swagger-core version to 1.5.21, and also I had to update swagger-maven-plugin to latest version (3.1.7) and swagger-ui to latest version of the 2.x.x branch (2.1.4) to make it work.\r\n\r\nI have also done the necessary changes in imports and swagger-maven-plugin configuration to generate swagger files correctly. You can see the result running `mvn clean compile && mvn process-classes`.\r\n\r\nSwagger-UI url param in `resources/swagger/index.html` must be changed to a local/remote file server path (I haven't been able to make it work with local files). For example, IntelliJ creates a file server automatically to show HTML files, so I could test that `swagger.json` was correctly generated:\r\n\r\n![image](https://user-images.githubusercontent.com/282431/46759983-0477ee80-ccd1-11e8-8923-fea3c5c83cdb.png)\r\n\r\nAnyway, output files should be checked (annotations haven't changed between 1.3.x and 1.5.x swagger versions, but I'm not 100% sure if the API it's being generated correctly)."},"comment":{"url":"https://api.github.com/repos/freedomotic/freedomotic/issues/comments/428893238","html_url":"https://github.com/freedomotic/freedomotic/pull/458#issuecomment-428893238","issue_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/458","id":428893238,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg5MzIzOA==","user":{"login":"mcicolella","id":4079634,"node_id":"MDQ6VXNlcjQwNzk2MzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4079634?v=4","gravatar_id":"","url":"https://api.github.com/users/mcicolella","html_url":"https://github.com/mcicolella","followers_url":"https://api.github.com/users/mcicolella/followers","following_url":"https://api.github.com/users/mcicolella/following{/other_user}","gists_url":"https://api.github.com/users/mcicolella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcicolella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcicolella/subscriptions","organizations_url":"https://api.github.com/users/mcicolella/orgs","repos_url":"https://api.github.com/users/mcicolella/repos","events_url":"https://api.github.com/users/mcicolella/events{/privacy}","received_events_url":"https://api.github.com/users/mcicolella/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T09:50:01Z","updated_at":"2018-10-11T09:50:01Z","author_association":"CONTRIBUTOR","body":"@alejandrocq  mvn clean install on Maven 3.3.9"}}
{"actor":{"display_login":"mcicolella"}}