{"action":"created","issue":{"url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/245","labels_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/245/comments","events_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/245/events","html_url":"https://github.com/OAI/OpenAPI-Specification/issues/245","id":54822979,"number":245,"title":"Specifying multiple examples for a given schema isn't possible","user":{"login":"elbee19","id":317774,"avatar_url":"https://avatars.githubusercontent.com/u/317774?v=3","gravatar_id":"","url":"https://api.github.com/users/elbee19","html_url":"https://github.com/elbee19","followers_url":"https://api.github.com/users/elbee19/followers","following_url":"https://api.github.com/users/elbee19/following{/other_user}","gists_url":"https://api.github.com/users/elbee19/gists{/gist_id}","starred_url":"https://api.github.com/users/elbee19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbee19/subscriptions","organizations_url":"https://api.github.com/users/elbee19/orgs","repos_url":"https://api.github.com/users/elbee19/repos","events_url":"https://api.github.com/users/elbee19/events{/privacy}","received_events_url":"https://api.github.com/users/elbee19/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-19T22:59:26Z","updated_at":"2016-01-30T01:21:19Z","closed_at":"2015-03-26T15:46:33Z","body":"We'd like to specify a few examples for our operations in our Swagger file, and I guess the only way to do so is to specify a body parameter and fill the 'example' property of the Schema object belonging to that operation. \r\n\r\nThe spec mentions that the 'example' field in the Schema object is of type object, so it can specify only one example."},"comment":{"url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/comments/177040769","html_url":"https://github.com/OAI/OpenAPI-Specification/issues/245#issuecomment-177040769","issue_url":"https://api.github.com/repos/OAI/OpenAPI-Specification/issues/245","id":177040769,"user":{"login":"harishkashyap","id":4368427,"avatar_url":"https://avatars.githubusercontent.com/u/4368427?v=3","gravatar_id":"","url":"https://api.github.com/users/harishkashyap","html_url":"https://github.com/harishkashyap","followers_url":"https://api.github.com/users/harishkashyap/followers","following_url":"https://api.github.com/users/harishkashyap/following{/other_user}","gists_url":"https://api.github.com/users/harishkashyap/gists{/gist_id}","starred_url":"https://api.github.com/users/harishkashyap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harishkashyap/subscriptions","organizations_url":"https://api.github.com/users/harishkashyap/orgs","repos_url":"https://api.github.com/users/harishkashyap/repos","events_url":"https://api.github.com/users/harishkashyap/events{/privacy}","received_events_url":"https://api.github.com/users/harishkashyap/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T01:21:19Z","updated_at":"2016-01-30T01:21:19Z","body":"Looking for a definition or an example of how to have swagger display multiple examples for a given schema"}}