{"action":"created","comment":{"url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments/87767286","pull_request_review_id":8365014,"id":87767286,"diff_hunk":"@@ -203,15 +203,33 @@ def get_resource(self, identifier):\n     @app.jsonify\n     @app.endpoint('/<identifier>', methods=['POST'])\n     def post_resource(self, identifier):\n-        \"\"\"Patch {resource} with 'identifier'.\n+        \"\"\"Post {resource} with 'identifier'.\n \n         parameters:\n             - $ref: '#/parameters/identifier'\n+              name: identifier\n+              in: path\n+              type: string\n+              required: true\n+              description: {resource} identifier\n+            - name: body","path":"ban/http/api.py","position":50,"original_position":14,"commit_id":"72acdbf19e5263a17408f529bdd34a3003d6b889","original_commit_id":"ddaa10bdb5801bde69d90a5a62f0dd32fb4a7463","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"body":"How is `body` a parameter?","created_at":"2016-11-14T09:53:03Z","updated_at":"2016-11-14T09:53:03Z","html_url":"https://github.com/BaseAdresseNationale/ban/pull/248#discussion_r87767286","pull_request_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248","_links":{"self":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments/87767286"},"html":{"href":"https://github.com/BaseAdresseNationale/ban/pull/248#discussion_r87767286"},"pull_request":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248"}}},"pull_request":{"url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248","id":93472959,"html_url":"https://github.com/BaseAdresseNationale/ban/pull/248","diff_url":"https://github.com/BaseAdresseNationale/ban/pull/248.diff","patch_url":"https://github.com/BaseAdresseNationale/ban/pull/248.patch","issue_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/248","number":248,"state":"open","locked":false,"title":"Openapi > SwaggerUI compatibility...","user":{"login":"flyusfly","id":12051203,"avatar_url":"https://avatars.githubusercontent.com/u/12051203?v=3","gravatar_id":"","url":"https://api.github.com/users/flyusfly","html_url":"https://github.com/flyusfly","followers_url":"https://api.github.com/users/flyusfly/followers","following_url":"https://api.github.com/users/flyusfly/following{/other_user}","gists_url":"https://api.github.com/users/flyusfly/gists{/gist_id}","starred_url":"https://api.github.com/users/flyusfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyusfly/subscriptions","organizations_url":"https://api.github.com/users/flyusfly/orgs","repos_url":"https://api.github.com/users/flyusfly/repos","events_url":"https://api.github.com/users/flyusfly/events{/privacy}","received_events_url":"https://api.github.com/users/flyusfly/received_events","type":"User","site_admin":false},"body":"This PR allows to use /openapi schema in SwaggerUI.\r\n\r\n- [x] Sort open api schema\r\n- [x] Rename DiffEndpoint in Diff\r\n- [x] Add Redirect model to openapi json schema\r\n- [x] Add generic responses in openapi schema\r\n- [x] ModelEndpoint.get_collection() - Add a 401 response\r\n- [x] ModelEndpoint.get_resource() - Normalize & Add responses\r\n- [x] ModelEndpoint.post_resource() - Normalize & Add responses\r\n- [x] ModelEndpoint.post() - Normalize & Add responses\r\n- [x] ModelEndpoint.patch() - Normalize & Add responses\r\n- [x] ModelEndpoint.put() - Normalize & Add responses\r\n- [x] ModelEndpoint.delete() - Normalize & Add responses\r\n- [x] VersionedModelEndpoint.get_versions() - Normalize & Add responses\r\n- [x] Rename VersionedModelEnpoint in VersionedModelEndpoint\r\n- [x] Schema.get_responder_summary return resource name\r\n- [x] VersionedModelEndpoint.get_version() - Normalize & Add responses\r\n- [x] VersionedModelEndpoint.post_version() - Normalize & Add responses\r\n- [x] VersionedModelEndpoint.get_redirects() - Normalize & Add responses\r\n- [x] VersionedModelEndpoint.put_delete_redirects() > Split put and delete redirects & Normalize & Add responses\r\n- [x] Diff.get_collection > Normalize & Add responses\r\n- [x] 410 & 422 responses > General definitions & update responses\r\n","created_at":"2016-11-13T13:32:11Z","updated_at":"2016-11-14T09:55:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45e7e3976be176e8284e22e96fdda9d86a1fa604","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248/commits","review_comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248/comments","review_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/248/comments","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/72acdbf19e5263a17408f529bdd34a3003d6b889","head":{"label":"BaseAdresseNationale:openapi_swaggerui","ref":"openapi_swaggerui","sha":"72acdbf19e5263a17408f529bdd34a3003d6b889","user":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"repo":{"id":44619367,"name":"ban","full_name":"BaseAdresseNationale/ban","owner":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BaseAdresseNationale/ban","description":"Prototype de la future API de gestion de la Base adresses nationale","fork":false,"url":"https://api.github.com/repos/BaseAdresseNationale/ban","forks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/forks","keys_url":"https://api.github.com/repos/BaseAdresseNationale/ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BaseAdresseNationale/ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BaseAdresseNationale/ban/teams","hooks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/hooks","issue_events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/events{/number}","events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/events","assignees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/assignees{/user}","branches_url":"https://api.github.com/repos/BaseAdresseNationale/ban/branches{/branch}","tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/tags","blobs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/{sha}","languages_url":"https://api.github.com/repos/BaseAdresseNationale/ban/languages","stargazers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/stargazers","contributors_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contributors","subscribers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscribers","subscription_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscription","commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contents/{+path}","compare_url":"https://api.github.com/repos/BaseAdresseNationale/ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BaseAdresseNationale/ban/merges","archive_url":"https://api.github.com/repos/BaseAdresseNationale/ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BaseAdresseNationale/ban/downloads","issues_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues{/number}","pulls_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls{/number}","milestones_url":"https://api.github.com/repos/BaseAdresseNationale/ban/milestones{/number}","notifications_url":"https://api.github.com/repos/BaseAdresseNationale/ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BaseAdresseNationale/ban/labels{/name}","releases_url":"https://api.github.com/repos/BaseAdresseNationale/ban/releases{/id}","deployments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/deployments","created_at":"2015-10-20T16:24:34Z","updated_at":"2016-10-27T07:13:35Z","pushed_at":"2016-11-14T09:50:18Z","git_url":"git://github.com/BaseAdresseNationale/ban.git","ssh_url":"git@github.com:BaseAdresseNationale/ban.git","clone_url":"https://github.com/BaseAdresseNationale/ban.git","svn_url":"https://github.com/BaseAdresseNationale/ban","homepage":"","size":827,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":94,"forks":10,"open_issues":94,"watchers":9,"default_branch":"master"}},"base":{"label":"BaseAdresseNationale:master","ref":"master","sha":"537c6be9842306f9b653ffed739f785216f39d2f","user":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"repo":{"id":44619367,"name":"ban","full_name":"BaseAdresseNationale/ban","owner":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BaseAdresseNationale/ban","description":"Prototype de la future API de gestion de la Base adresses nationale","fork":false,"url":"https://api.github.com/repos/BaseAdresseNationale/ban","forks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/forks","keys_url":"https://api.github.com/repos/BaseAdresseNationale/ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BaseAdresseNationale/ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BaseAdresseNationale/ban/teams","hooks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/hooks","issue_events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/events{/number}","events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/events","assignees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/assignees{/user}","branches_url":"https://api.github.com/repos/BaseAdresseNationale/ban/branches{/branch}","tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/tags","blobs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/{sha}","languages_url":"https://api.github.com/repos/BaseAdresseNationale/ban/languages","stargazers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/stargazers","contributors_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contributors","subscribers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscribers","subscription_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscription","commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contents/{+path}","compare_url":"https://api.github.com/repos/BaseAdresseNationale/ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BaseAdresseNationale/ban/merges","archive_url":"https://api.github.com/repos/BaseAdresseNationale/ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BaseAdresseNationale/ban/downloads","issues_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues{/number}","pulls_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls{/number}","milestones_url":"https://api.github.com/repos/BaseAdresseNationale/ban/milestones{/number}","notifications_url":"https://api.github.com/repos/BaseAdresseNationale/ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BaseAdresseNationale/ban/labels{/name}","releases_url":"https://api.github.com/repos/BaseAdresseNationale/ban/releases{/id}","deployments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/deployments","created_at":"2015-10-20T16:24:34Z","updated_at":"2016-10-27T07:13:35Z","pushed_at":"2016-11-14T09:50:18Z","git_url":"git://github.com/BaseAdresseNationale/ban.git","ssh_url":"git@github.com:BaseAdresseNationale/ban.git","clone_url":"https://github.com/BaseAdresseNationale/ban.git","svn_url":"https://github.com/BaseAdresseNationale/ban","homepage":"","size":827,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":94,"forks":10,"open_issues":94,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248"},"html":{"href":"https://github.com/BaseAdresseNationale/ban/pull/248"},"issue":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/248"},"comments":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/248/comments"},"review_comments":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248/comments"},"review_comment":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/248/commits"},"statuses":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/72acdbf19e5263a17408f529bdd34a3003d6b889"}}}}
{"actor":{"display_login":"yohanboniface"}}