{"action":"created","issue":{"url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/7","labels_url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/7/comments","events_url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/7/events","html_url":"https://github.com/YousefED/typescript-json-schema/issues/7","id":123833385,"number":7,"title":"Add support for union types","user":{"login":"domoritz","id":589034,"avatar_url":"https://avatars.githubusercontent.com/u/589034?v=3","gravatar_id":"","url":"https://api.github.com/users/domoritz","html_url":"https://github.com/domoritz","followers_url":"https://api.github.com/users/domoritz/followers","following_url":"https://api.github.com/users/domoritz/following{/other_user}","gists_url":"https://api.github.com/users/domoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/domoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domoritz/subscriptions","organizations_url":"https://api.github.com/users/domoritz/orgs","repos_url":"https://api.github.com/users/domoritz/repos","events_url":"https://api.github.com/users/domoritz/events{/privacy}","received_events_url":"https://api.github.com/users/domoritz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-24T20:41:54Z","updated_at":"2015-12-25T11:36:50Z","closed_at":"2015-12-25T11:36:50Z","body":"It would be great to have support for union types and generate `oneOf`. \r\n\r\n```ts\r\ninterface Test {\r\n    level: number | string;\r\n}\r\n```\r\n\r\nSee similar typson issue https://github.com/lbovet/typson/issues/36"},"comment":{"url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/comments/167224322","html_url":"https://github.com/YousefED/typescript-json-schema/issues/7#issuecomment-167224322","issue_url":"https://api.github.com/repos/YousefED/typescript-json-schema/issues/7","id":167224322,"user":{"login":"YousefED","id":368857,"avatar_url":"https://avatars.githubusercontent.com/u/368857?v=3","gravatar_id":"","url":"https://api.github.com/users/YousefED","html_url":"https://github.com/YousefED","followers_url":"https://api.github.com/users/YousefED/followers","following_url":"https://api.github.com/users/YousefED/following{/other_user}","gists_url":"https://api.github.com/users/YousefED/gists{/gist_id}","starred_url":"https://api.github.com/users/YousefED/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YousefED/subscriptions","organizations_url":"https://api.github.com/users/YousefED/orgs","repos_url":"https://api.github.com/users/YousefED/repos","events_url":"https://api.github.com/users/YousefED/events{/privacy}","received_events_url":"https://api.github.com/users/YousefED/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T11:36:50Z","updated_at":"2015-12-25T11:36:50Z","body":"closed with #10 , thanks!"}}