{"action":"created","issue":{"url":"https://api.github.com/repos/cybertk/abao/issues/57","labels_url":"https://api.github.com/repos/cybertk/abao/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/cybertk/abao/issues/57/comments","events_url":"https://api.github.com/repos/cybertk/abao/issues/57/events","html_url":"https://github.com/cybertk/abao/issues/57","id":118016840,"number":57,"title":"Support for 1.0 RAML","user":{"login":"dgafka","id":6060791,"avatar_url":"https://avatars.githubusercontent.com/u/6060791?v=3","gravatar_id":"","url":"https://api.github.com/users/dgafka","html_url":"https://github.com/dgafka","followers_url":"https://api.github.com/users/dgafka/followers","following_url":"https://api.github.com/users/dgafka/following{/other_user}","gists_url":"https://api.github.com/users/dgafka/gists{/gist_id}","starred_url":"https://api.github.com/users/dgafka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgafka/subscriptions","organizations_url":"https://api.github.com/users/dgafka/orgs","repos_url":"https://api.github.com/users/dgafka/repos","events_url":"https://api.github.com/users/dgafka/events{/privacy}","received_events_url":"https://api.github.com/users/dgafka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cybertk/abao/labels/feature%20request","name":"feature request","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-20T11:04:43Z","updated_at":"2015-12-02T14:03:45Z","closed_at":null,"body":"Please add support for 1.0 version of raml.\r\n\r\nAtleast support for multiple examples at once.\r\n\r\n    example: A string with a single example for the body.\r\n    examples: A mapping of examples, where the key is the name of the example\r\n\r\n     examples:\r\n      adminUser:\r\n        description: An `admin` user has the `admin` property set to `true` and has the `allowed-operations` collection populated with the all the actions it can perform\r\n        example: |\r\n          { an example of the JSON here }\r\n      normalUser:\r\n        description: A `normal` user does not have the `admin` property turned on.\r\n        example: |\r\n          { an example of the JSON here }\r\n\r\nIt will help to validate multiple responses without hooks.\r\n\r\nLet's say I would like to check url `/client/{id}` for `200` and `404`. I could add two examples. One would provide correct ID for existing (stubbed) user and second would not. \r\n`Abao` would validate, that both responses are correct. "},"comment":{"url":"https://api.github.com/repos/cybertk/abao/issues/comments/161303474","html_url":"https://github.com/cybertk/abao/issues/57#issuecomment-161303474","issue_url":"https://api.github.com/repos/cybertk/abao/issues/57","id":161303474,"user":{"login":"mirobeka","id":968475,"avatar_url":"https://avatars.githubusercontent.com/u/968475?v=3","gravatar_id":"","url":"https://api.github.com/users/mirobeka","html_url":"https://github.com/mirobeka","followers_url":"https://api.github.com/users/mirobeka/followers","following_url":"https://api.github.com/users/mirobeka/following{/other_user}","gists_url":"https://api.github.com/users/mirobeka/gists{/gist_id}","starred_url":"https://api.github.com/users/mirobeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirobeka/subscriptions","organizations_url":"https://api.github.com/users/mirobeka/orgs","repos_url":"https://api.github.com/users/mirobeka/repos","events_url":"https://api.github.com/users/mirobeka/events{/privacy}","received_events_url":"https://api.github.com/users/mirobeka/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:03:45Z","updated_at":"2015-12-02T14:03:45Z","body":"+1"}}