{"action":"created","comment":{"url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/comments/195384672","pull_request_review_id":128741880,"id":195384672,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTM4NDY3Mg==","diff_hunk":"@@ -230,59 +258,44 @@\n       },\n       \"x-go-package\": \"github.com/mysterium/node/tequilapi/endpoints\"\n     },\n-    \"internalServerError\": {\n-      \"description\": \"Internal Server Error\",\n-      \"$ref\": \"#/definitions/errorMessage\"\n-    },\n-    \"notImplemented\": {\n-      \"description\": \"Not Implemented\",\n-      \"$ref\": \"#/definitions/errorMessage\"\n-    },\n     \"statusResponse\": {\n       \"type\": \"object\",\n       \"properties\": {\n         \"sessionId\": {\n           \"type\": \"string\",\n-          \"x-go-name\": \"SessionID\"\n+          \"x-go-name\": \"SessionID\",\n+          \"example\": \"4cfb0324-daf6-4ad8-448b-e61fe0a1f918\"\n         },\n         \"status\": {\n           \"type\": \"string\",\n-          \"x-go-name\": \"Status\"\n+          \"x-go-name\": \"Status\",\n+          \"example\": \"Connected\"\n         }\n       },\n       \"x-go-package\": \"github.com/mysterium/node/tequilapi/endpoints\"\n     },\n-    \"validationErrorMessage\": {\n-      \"description\": \"Validation Error\",\n+    \"validationError\": {\n       \"type\": \"object\",\n       \"properties\": {\n         \"errors\": {\n           \"$ref\": \"#/definitions/FieldErrorMap\"\n         },\n         \"message\": {\n-          \"description\": \"Error message\",\n           \"type\": \"string\",\n           \"x-go-name\": \"Message\"\n         }\n       },\n+      \"x-go-name\": \"validationErrorMessage\",\n       \"x-go-package\": \"github.com/mysterium/node/tequilapi/utils\"\n     }\n   },\n   \"responses\": {\n-    \"badRequest\": {\n-      \"description\": \"Bad Request\"\n-    },\n-    \"conflict\": {\n-      \"description\": \"Conflict\"\n-    },\n-    \"connectCancelled\": {\n-      \"description\": \"Connect Cancelled\"\n-    },\n-    \"internalServerError\": {\n-      \"description\": \"Internal Server Error\"\n-    },\n-    \"notImplemented\": {\n-      \"description\": \"Not Implemented\"\n+    \"errorMessage\": {\n+      \"headers\": {","path":"tequilapi_spec.json","position":null,"original_position":250,"commit_id":"a5be10eff3da6bcb76c10abf67d4df204555f440","original_commit_id":"a5be10eff3da6bcb76c10abf67d4df204555f440","user":{"login":"interro","id":1106290,"node_id":"MDQ6VXNlcjExMDYyOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1106290?v=4","gravatar_id":"","url":"https://api.github.com/users/interro","html_url":"https://github.com/interro","followers_url":"https://api.github.com/users/interro/followers","following_url":"https://api.github.com/users/interro/following{/other_user}","gists_url":"https://api.github.com/users/interro/gists{/gist_id}","starred_url":"https://api.github.com/users/interro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interro/subscriptions","organizations_url":"https://api.github.com/users/interro/orgs","repos_url":"https://api.github.com/users/interro/repos","events_url":"https://api.github.com/users/interro/events{/privacy}","received_events_url":"https://api.github.com/users/interro/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-06-14T11:14:50Z","updated_at":"2018-06-14T11:14:51Z","html_url":"https://github.com/MysteriumNetwork/node/pull/265#discussion_r195384672","pull_request_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/comments/195384672"},"html":{"href":"https://github.com/MysteriumNetwork/node/pull/265#discussion_r195384672"},"pull_request":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265"}},"in_reply_to_id":195378659},"pull_request":{"url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265","id":193956278,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzOTU2Mjc4","html_url":"https://github.com/MysteriumNetwork/node/pull/265","diff_url":"https://github.com/MysteriumNetwork/node/pull/265.diff","patch_url":"https://github.com/MysteriumNetwork/node/pull/265.patch","issue_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/265","number":265,"state":"open","locked":false,"title":"Playground with go swagger","user":{"login":"interro","id":1106290,"node_id":"MDQ6VXNlcjExMDYyOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1106290?v=4","gravatar_id":"","url":"https://api.github.com/users/interro","html_url":"https://github.com/interro","followers_url":"https://api.github.com/users/interro/followers","following_url":"https://api.github.com/users/interro/following{/other_user}","gists_url":"https://api.github.com/users/interro/gists{/gist_id}","starred_url":"https://api.github.com/users/interro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interro/subscriptions","organizations_url":"https://api.github.com/users/interro/orgs","repos_url":"https://api.github.com/users/interro/repos","events_url":"https://api.github.com/users/interro/events{/privacy}","received_events_url":"https://api.github.com/users/interro/received_events","type":"User","site_admin":false},"body":"install go swagger:\r\n```\r\nbrew tap go-swagger/go-swagger\r\nbrew install go-swagger\r\n```\r\n\r\ngo swagger docs:\r\nhttps://goswagger.io/\r\n\r\ngenerate tequila-api spec and serve it locally:\r\n`bin/swagger_serve_doc `","created_at":"2018-06-11T11:48:43Z","updated_at":"2018-06-14T11:14:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0434d2887f449f21c6e1faaad501872e9fb211bb","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tadovas","id":1046590,"node_id":"MDQ6VXNlcjEwNDY1OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1046590?v=4","gravatar_id":"","url":"https://api.github.com/users/tadovas","html_url":"https://github.com/tadovas","followers_url":"https://api.github.com/users/tadovas/followers","following_url":"https://api.github.com/users/tadovas/following{/other_user}","gists_url":"https://api.github.com/users/tadovas/gists{/gist_id}","starred_url":"https://api.github.com/users/tadovas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadovas/subscriptions","organizations_url":"https://api.github.com/users/tadovas/orgs","repos_url":"https://api.github.com/users/tadovas/repos","events_url":"https://api.github.com/users/tadovas/events{/privacy}","received_events_url":"https://api.github.com/users/tadovas/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265/commits","review_comments_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265/comments","review_comment_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/265/comments","statuses_url":"https://api.github.com/repos/MysteriumNetwork/node/statuses/a5be10eff3da6bcb76c10abf67d4df204555f440","head":{"label":"MysteriumNetwork:feature/MYST-557-api-doc","ref":"feature/MYST-557-api-doc","sha":"a5be10eff3da6bcb76c10abf67d4df204555f440","user":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":80073079,"node_id":"MDEwOlJlcG9zaXRvcnk4MDA3MzA3OQ==","name":"node","full_name":"MysteriumNetwork/node","owner":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MysteriumNetwork/node","description":"Mysterium Node - VPN server and client for Mysterium Network","fork":false,"url":"https://api.github.com/repos/MysteriumNetwork/node","forks_url":"https://api.github.com/repos/MysteriumNetwork/node/forks","keys_url":"https://api.github.com/repos/MysteriumNetwork/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MysteriumNetwork/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MysteriumNetwork/node/teams","hooks_url":"https://api.github.com/repos/MysteriumNetwork/node/hooks","issue_events_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/events{/number}","events_url":"https://api.github.com/repos/MysteriumNetwork/node/events","assignees_url":"https://api.github.com/repos/MysteriumNetwork/node/assignees{/user}","branches_url":"https://api.github.com/repos/MysteriumNetwork/node/branches{/branch}","tags_url":"https://api.github.com/repos/MysteriumNetwork/node/tags","blobs_url":"https://api.github.com/repos/MysteriumNetwork/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MysteriumNetwork/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MysteriumNetwork/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/MysteriumNetwork/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MysteriumNetwork/node/statuses/{sha}","languages_url":"https://api.github.com/repos/MysteriumNetwork/node/languages","stargazers_url":"https://api.github.com/repos/MysteriumNetwork/node/stargazers","contributors_url":"https://api.github.com/repos/MysteriumNetwork/node/contributors","subscribers_url":"https://api.github.com/repos/MysteriumNetwork/node/subscribers","subscription_url":"https://api.github.com/repos/MysteriumNetwork/node/subscription","commits_url":"https://api.github.com/repos/MysteriumNetwork/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/MysteriumNetwork/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/MysteriumNetwork/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/MysteriumNetwork/node/contents/{+path}","compare_url":"https://api.github.com/repos/MysteriumNetwork/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MysteriumNetwork/node/merges","archive_url":"https://api.github.com/repos/MysteriumNetwork/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MysteriumNetwork/node/downloads","issues_url":"https://api.github.com/repos/MysteriumNetwork/node/issues{/number}","pulls_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls{/number}","milestones_url":"https://api.github.com/repos/MysteriumNetwork/node/milestones{/number}","notifications_url":"https://api.github.com/repos/MysteriumNetwork/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MysteriumNetwork/node/labels{/name}","releases_url":"https://api.github.com/repos/MysteriumNetwork/node/releases{/id}","deployments_url":"https://api.github.com/repos/MysteriumNetwork/node/deployments","created_at":"2017-01-26T00:43:08Z","updated_at":"2018-06-13T14:06:00Z","pushed_at":"2018-06-13T14:47:15Z","git_url":"git://github.com/MysteriumNetwork/node.git","ssh_url":"git@github.com:MysteriumNetwork/node.git","clone_url":"https://github.com/MysteriumNetwork/node.git","svn_url":"https://github.com/MysteriumNetwork/node","homepage":"https://mysterium.network/","size":3589,"stargazers_count":435,"watchers_count":435,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":64,"open_issues":21,"watchers":435,"default_branch":"master"}},"base":{"label":"MysteriumNetwork:master","ref":"master","sha":"35dcecdc05bb80c398edc46a15069d63604f688b","user":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":80073079,"node_id":"MDEwOlJlcG9zaXRvcnk4MDA3MzA3OQ==","name":"node","full_name":"MysteriumNetwork/node","owner":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MysteriumNetwork/node","description":"Mysterium Node - VPN server and client for Mysterium Network","fork":false,"url":"https://api.github.com/repos/MysteriumNetwork/node","forks_url":"https://api.github.com/repos/MysteriumNetwork/node/forks","keys_url":"https://api.github.com/repos/MysteriumNetwork/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MysteriumNetwork/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MysteriumNetwork/node/teams","hooks_url":"https://api.github.com/repos/MysteriumNetwork/node/hooks","issue_events_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/events{/number}","events_url":"https://api.github.com/repos/MysteriumNetwork/node/events","assignees_url":"https://api.github.com/repos/MysteriumNetwork/node/assignees{/user}","branches_url":"https://api.github.com/repos/MysteriumNetwork/node/branches{/branch}","tags_url":"https://api.github.com/repos/MysteriumNetwork/node/tags","blobs_url":"https://api.github.com/repos/MysteriumNetwork/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MysteriumNetwork/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MysteriumNetwork/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/MysteriumNetwork/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MysteriumNetwork/node/statuses/{sha}","languages_url":"https://api.github.com/repos/MysteriumNetwork/node/languages","stargazers_url":"https://api.github.com/repos/MysteriumNetwork/node/stargazers","contributors_url":"https://api.github.com/repos/MysteriumNetwork/node/contributors","subscribers_url":"https://api.github.com/repos/MysteriumNetwork/node/subscribers","subscription_url":"https://api.github.com/repos/MysteriumNetwork/node/subscription","commits_url":"https://api.github.com/repos/MysteriumNetwork/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/MysteriumNetwork/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/MysteriumNetwork/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/MysteriumNetwork/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/MysteriumNetwork/node/contents/{+path}","compare_url":"https://api.github.com/repos/MysteriumNetwork/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MysteriumNetwork/node/merges","archive_url":"https://api.github.com/repos/MysteriumNetwork/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MysteriumNetwork/node/downloads","issues_url":"https://api.github.com/repos/MysteriumNetwork/node/issues{/number}","pulls_url":"https://api.github.com/repos/MysteriumNetwork/node/pulls{/number}","milestones_url":"https://api.github.com/repos/MysteriumNetwork/node/milestones{/number}","notifications_url":"https://api.github.com/repos/MysteriumNetwork/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MysteriumNetwork/node/labels{/name}","releases_url":"https://api.github.com/repos/MysteriumNetwork/node/releases{/id}","deployments_url":"https://api.github.com/repos/MysteriumNetwork/node/deployments","created_at":"2017-01-26T00:43:08Z","updated_at":"2018-06-13T14:06:00Z","pushed_at":"2018-06-13T14:47:15Z","git_url":"git://github.com/MysteriumNetwork/node.git","ssh_url":"git@github.com:MysteriumNetwork/node.git","clone_url":"https://github.com/MysteriumNetwork/node.git","svn_url":"https://github.com/MysteriumNetwork/node","homepage":"https://mysterium.network/","size":3589,"stargazers_count":435,"watchers_count":435,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":64,"open_issues":21,"watchers":435,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265"},"html":{"href":"https://github.com/MysteriumNetwork/node/pull/265"},"issue":{"href":"https://api.github.com/repos/MysteriumNetwork/node/issues/265"},"comments":{"href":"https://api.github.com/repos/MysteriumNetwork/node/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MysteriumNetwork/node/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/MysteriumNetwork/node/statuses/a5be10eff3da6bcb76c10abf67d4df204555f440"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"interro"}}