{"action":"created","issue":{"url":"https://api.github.com/repos/apigee-127/sway/issues/159","repository_url":"https://api.github.com/repos/apigee-127/sway","labels_url":"https://api.github.com/repos/apigee-127/sway/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/apigee-127/sway/issues/159/comments","events_url":"https://api.github.com/repos/apigee-127/sway/issues/159/events","html_url":"https://github.com/apigee-127/sway/issues/159","id":277812099,"number":159,"title":"Unknown primitive \"file\" in /type","user":{"login":"gruberchris","id":2971844,"avatar_url":"https://avatars2.githubusercontent.com/u/2971844?v=4","gravatar_id":"","url":"https://api.github.com/users/gruberchris","html_url":"https://github.com/gruberchris","followers_url":"https://api.github.com/users/gruberchris/followers","following_url":"https://api.github.com/users/gruberchris/following{/other_user}","gists_url":"https://api.github.com/users/gruberchris/gists{/gist_id}","starred_url":"https://api.github.com/users/gruberchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruberchris/subscriptions","organizations_url":"https://api.github.com/users/gruberchris/orgs","repos_url":"https://api.github.com/users/gruberchris/repos","events_url":"https://api.github.com/users/gruberchris/events{/privacy}","received_events_url":"https://api.github.com/users/gruberchris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-29T16:08:30Z","updated_at":"2017-12-04T17:06:54Z","closed_at":null,"author_association":"NONE","body":"I just started to use Sway for my project. I am impressed with it so far. I did find one issue regarding when a parameter is declared as type \"file\". My understanding is that under OpenAPI v2, \"file\" was a legal type but under OpenAPI v3, it is not. I get an error saying \"unknown primitive \"file\" in /type\" because the \"/pet/{petId}/uploadImage\" route in this public swagger example http://petstore.swagger.io/v2/swagger.json has such a parameter declared.\r\n\r\nWhich version of OpenAPI is sway v1.0.0 on? If it is on OpenAPI v2, why doesn't it support the \"file\" type and is there a workaround?\r\n\r\nWhen the day comes that Sway also supports OpenAPI v3, will there be an option to specify a particular version of OpenAPI you want to use?"},"comment":{"url":"https://api.github.com/repos/apigee-127/sway/issues/comments/349029997","html_url":"https://github.com/apigee-127/sway/issues/159#issuecomment-349029997","issue_url":"https://api.github.com/repos/apigee-127/sway/issues/159","id":349029997,"user":{"login":"whitlockjc","id":98899,"avatar_url":"https://avatars2.githubusercontent.com/u/98899?v=4","gravatar_id":"","url":"https://api.github.com/users/whitlockjc","html_url":"https://github.com/whitlockjc","followers_url":"https://api.github.com/users/whitlockjc/followers","following_url":"https://api.github.com/users/whitlockjc/following{/other_user}","gists_url":"https://api.github.com/users/whitlockjc/gists{/gist_id}","starred_url":"https://api.github.com/users/whitlockjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitlockjc/subscriptions","organizations_url":"https://api.github.com/users/whitlockjc/orgs","repos_url":"https://api.github.com/users/whitlockjc/repos","events_url":"https://api.github.com/users/whitlockjc/events{/privacy}","received_events_url":"https://api.github.com/users/whitlockjc/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T17:06:54Z","updated_at":"2017-12-04T17:06:54Z","author_association":"OWNER","body":"I don't mind reopening it, but without a reproduction recipe there was nothing to go on."}}
{"actor":{"display_login":"whitlockjc"}}