{"action":"created","issue":{"url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/723","repository_url":"https://api.github.com/repos/ExpressGateway/express-gateway","labels_url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/723/comments","events_url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/723/events","html_url":"https://github.com/ExpressGateway/express-gateway/issues/723","id":322888855,"number":723,"title":"apiEndpoints json schema: The methods object should be an array of strings, not an array of arrays","user":{"login":"Tiberriver256","id":6989492,"avatar_url":"https://avatars2.githubusercontent.com/u/6989492?v=4","gravatar_id":"","url":"https://api.github.com/users/Tiberriver256","html_url":"https://github.com/Tiberriver256","followers_url":"https://api.github.com/users/Tiberriver256/followers","following_url":"https://api.github.com/users/Tiberriver256/following{/other_user}","gists_url":"https://api.github.com/users/Tiberriver256/gists{/gist_id}","starred_url":"https://api.github.com/users/Tiberriver256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tiberriver256/subscriptions","organizations_url":"https://api.github.com/users/Tiberriver256/orgs","repos_url":"https://api.github.com/users/Tiberriver256/repos","events_url":"https://api.github.com/users/Tiberriver256/events{/privacy}","received_events_url":"https://api.github.com/users/Tiberriver256/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"XVincentX","id":1416224,"avatar_url":"https://avatars3.githubusercontent.com/u/1416224?v=4","gravatar_id":"","url":"https://api.github.com/users/XVincentX","html_url":"https://github.com/XVincentX","followers_url":"https://api.github.com/users/XVincentX/followers","following_url":"https://api.github.com/users/XVincentX/following{/other_user}","gists_url":"https://api.github.com/users/XVincentX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVincentX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVincentX/subscriptions","organizations_url":"https://api.github.com/users/XVincentX/orgs","repos_url":"https://api.github.com/users/XVincentX/repos","events_url":"https://api.github.com/users/XVincentX/events{/privacy}","received_events_url":"https://api.github.com/users/XVincentX/received_events","type":"User","site_admin":false},"assignees":[{"login":"XVincentX","id":1416224,"avatar_url":"https://avatars3.githubusercontent.com/u/1416224?v=4","gravatar_id":"","url":"https://api.github.com/users/XVincentX","html_url":"https://github.com/XVincentX","followers_url":"https://api.github.com/users/XVincentX/followers","following_url":"https://api.github.com/users/XVincentX/following{/other_user}","gists_url":"https://api.github.com/users/XVincentX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVincentX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVincentX/subscriptions","organizations_url":"https://api.github.com/users/XVincentX/orgs","repos_url":"https://api.github.com/users/XVincentX/repos","events_url":"https://api.github.com/users/XVincentX/events{/privacy}","received_events_url":"https://api.github.com/users/XVincentX/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-14T16:24:32Z","updated_at":"2018-05-16T10:08:18Z","closed_at":null,"author_association":"NONE","body":"Expected is to be either an array of strings or a string, not an array of array items.\r\n\r\n```yaml\r\n  example2:\r\n    -  host: 'example2.com'\r\n       paths: /v2/* \r\n       methods: [\"GET\", \"OPTIONS\"]\r\n       scopes: [\"example2:read\"]\r\n```\r\n\r\nhttps://github.com/ExpressGateway/express-gateway/blob/758291c1a0c62a20a1219f8fc86b4bae560792d8/lib/config/schemas/gateway.config.json#L84-L92\r\n\r\nI believe it should be:\r\n\r\n```json\r\n          \"methods\": {\r\n            \"type\": [\r\n              \"string\",\r\n              \"array\"\r\n            ],\r\n            \"items\": {\r\n              \"type\": \"string\"\r\n            }\r\n          }\r\n```"},"comment":{"url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/comments/389466783","html_url":"https://github.com/ExpressGateway/express-gateway/issues/723#issuecomment-389466783","issue_url":"https://api.github.com/repos/ExpressGateway/express-gateway/issues/723","id":389466783,"user":{"login":"XVincentX","id":1416224,"avatar_url":"https://avatars3.githubusercontent.com/u/1416224?v=4","gravatar_id":"","url":"https://api.github.com/users/XVincentX","html_url":"https://github.com/XVincentX","followers_url":"https://api.github.com/users/XVincentX/followers","following_url":"https://api.github.com/users/XVincentX/following{/other_user}","gists_url":"https://api.github.com/users/XVincentX/gists{/gist_id}","starred_url":"https://api.github.com/users/XVincentX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XVincentX/subscriptions","organizations_url":"https://api.github.com/users/XVincentX/orgs","repos_url":"https://api.github.com/users/XVincentX/repos","events_url":"https://api.github.com/users/XVincentX/events{/privacy}","received_events_url":"https://api.github.com/users/XVincentX/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T10:08:18Z","updated_at":"2018-05-16T10:08:18Z","author_association":"MEMBER","body":"That is correct, thanks a lot for catching this!"}}
{"actor":{"display_login":"XVincentX"}}