{"action":"created","issue":{"url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/6","repository_url":"https://api.github.com/repos/pgroot/express-swagger-generator","labels_url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/6/comments","events_url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/6/events","html_url":"https://github.com/pgroot/express-swagger-generator/pull/6","id":318128941,"number":6,"title":"Extending generator to handle operationId, summary, consumes and prod…","user":{"login":"xvicmanx","id":7307503,"avatar_url":"https://avatars1.githubusercontent.com/u/7307503?v=4","gravatar_id":"","url":"https://api.github.com/users/xvicmanx","html_url":"https://github.com/xvicmanx","followers_url":"https://api.github.com/users/xvicmanx/followers","following_url":"https://api.github.com/users/xvicmanx/following{/other_user}","gists_url":"https://api.github.com/users/xvicmanx/gists{/gist_id}","starred_url":"https://api.github.com/users/xvicmanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xvicmanx/subscriptions","organizations_url":"https://api.github.com/users/xvicmanx/orgs","repos_url":"https://api.github.com/users/xvicmanx/repos","events_url":"https://api.github.com/users/xvicmanx/events{/privacy}","received_events_url":"https://api.github.com/users/xvicmanx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T17:36:20Z","updated_at":"2018-04-26T17:37:00Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pgroot/express-swagger-generator/pulls/6","html_url":"https://github.com/pgroot/express-swagger-generator/pull/6","diff_url":"https://github.com/pgroot/express-swagger-generator/pull/6.diff","patch_url":"https://github.com/pgroot/express-swagger-generator/pull/6.patch"},"body":"With this changes we are extending the generator to handle operationId, summary, consumes and produces annotations.\r\nFor example, having this:\r\n```\r\n/**\r\n   * This function comment is parsed by doctrine\r\n   * @route GET /foo\r\n   * @operationId retrieveFooInfo\r\n   * @produces application/json application/xml\r\n   * @consumes application/json application/xml\r\n   * @group foo-Operations about foo\r\n   * @summary Retrieves foo information\r\n   *\r\n   * @param {string} name.query.required - name\r\n   * @returns {Foo.model} 200 - A Foo object\r\n   * @returns {Error}  default - Unexpected error\r\n   */\r\n```\r\n\r\nIt will add extra info to the path \r\n\r\n```\r\n{\r\n...\r\n\"operationId\": \"retrieveFooInfo\",\r\n\"produces\": [\r\n\"application/json\",\r\n\"application/xml\"\r\n],\r\n\"consumes\": [\r\n\"application/json\",\r\n\"application/xml\"\r\n],\r\n\"summary\": \" Retrieves foo information\"\r\n...\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/comments/384725930","html_url":"https://github.com/pgroot/express-swagger-generator/pull/6#issuecomment-384725930","issue_url":"https://api.github.com/repos/pgroot/express-swagger-generator/issues/6","id":384725930,"user":{"login":"xvicmanx","id":7307503,"avatar_url":"https://avatars1.githubusercontent.com/u/7307503?v=4","gravatar_id":"","url":"https://api.github.com/users/xvicmanx","html_url":"https://github.com/xvicmanx","followers_url":"https://api.github.com/users/xvicmanx/followers","following_url":"https://api.github.com/users/xvicmanx/following{/other_user}","gists_url":"https://api.github.com/users/xvicmanx/gists{/gist_id}","starred_url":"https://api.github.com/users/xvicmanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xvicmanx/subscriptions","organizations_url":"https://api.github.com/users/xvicmanx/orgs","repos_url":"https://api.github.com/users/xvicmanx/repos","events_url":"https://api.github.com/users/xvicmanx/events{/privacy}","received_events_url":"https://api.github.com/users/xvicmanx/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T17:37:00Z","updated_at":"2018-04-26T17:37:00Z","author_association":"NONE","body":"This is related to the issue https://github.com/pgroot/express-swagger-generator/issues/5"}}
{"actor":{"display_login":"xvicmanx"}}