{"action":"opened","issue":{"url":"https://api.github.com/repos/nearform/udaru/issues/470","repository_url":"https://api.github.com/repos/nearform/udaru","labels_url":"https://api.github.com/repos/nearform/udaru/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/nearform/udaru/issues/470/comments","events_url":"https://api.github.com/repos/nearform/udaru/issues/470/events","html_url":"https://github.com/nearform/udaru/issues/470","id":298734696,"number":470,"title":"Check swagger to expose correct information for the endpoints","user":{"login":"mihaidma","id":4950500,"avatar_url":"https://avatars3.githubusercontent.com/u/4950500?v=4","gravatar_id":"","url":"https://api.github.com/users/mihaidma","html_url":"https://github.com/mihaidma","followers_url":"https://api.github.com/users/mihaidma/followers","following_url":"https://api.github.com/users/mihaidma/following{/other_user}","gists_url":"https://api.github.com/users/mihaidma/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaidma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaidma/subscriptions","organizations_url":"https://api.github.com/users/mihaidma/orgs","repos_url":"https://api.github.com/users/mihaidma/repos","events_url":"https://api.github.com/users/mihaidma/events{/privacy}","received_events_url":"https://api.github.com/users/mihaidma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T20:20:15Z","updated_at":"2018-02-20T20:20:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"One sample issue: https://github.com/nearform/udaru/issues/469\r\nAnother documentation issue example: the endpoint `/authorization/teams/{id}/policies` has for the body the example value: \r\n```\r\n  | (body) | Example ValueModel { \"policies\": [\"string\"] }\r\n```\r\nbut the array can also contain objects for the policies with variables:\r\n```\r\n{ \"policies\": [\r\n        {\r\n            \"id\": \"policyId20\",\r\n            \"variables\": {\r\n                \"testVar\": \"tt\"\r\n            }\r\n        }\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"mihaidma"}}