{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/292","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/292/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/292/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/292","id":53528397,"number":292,"title":"Response schema with type \"file\" throws error","user":{"login":"newmanw","id":3382274,"avatar_url":"https://avatars.githubusercontent.com/u/3382274?v=3","gravatar_id":"","url":"https://api.github.com/users/newmanw","html_url":"https://github.com/newmanw","followers_url":"https://api.github.com/users/newmanw/followers","following_url":"https://api.github.com/users/newmanw/following{/other_user}","gists_url":"https://api.github.com/users/newmanw/gists{/gist_id}","starred_url":"https://api.github.com/users/newmanw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmanw/subscriptions","organizations_url":"https://api.github.com/users/newmanw/orgs","repos_url":"https://api.github.com/users/newmanw/repos","events_url":"https://api.github.com/users/newmanw/events{/privacy}","received_events_url":"https://api.github.com/users/newmanw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-06T15:53:15Z","updated_at":"2015-01-06T16:14:59Z","closed_at":"2015-01-06T16:14:59Z","body":"If I am reading this correctly:\r\n\r\nhttps://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#responseObject\r\n\r\nThis should be valid right:\r\n\r\n```yaml\r\n /pets/{id}.zip:\r\n    get:\r\n      description: Returns a zip file of pets\r\n      operationId: getPetArchiveById\r\n      produces:\r\n        - application/zip\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          required: true\r\n          type: string\r\n      responses:\r\n        \"200\":\r\n          description: form response\r\n          schema:\r\n            type: file\r\n```\r\n\r\nThrows a validation error on type: file for schema."},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/comments/68886861","html_url":"https://github.com/swagger-api/swagger-editor/issues/292#issuecomment-68886861","issue_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/292","id":68886861,"user":{"login":"webron","id":241629,"avatar_url":"https://avatars.githubusercontent.com/u/241629?v=3","gravatar_id":"","url":"https://api.github.com/users/webron","html_url":"https://github.com/webron","followers_url":"https://api.github.com/users/webron/followers","following_url":"https://api.github.com/users/webron/following{/other_user}","gists_url":"https://api.github.com/users/webron/gists{/gist_id}","starred_url":"https://api.github.com/users/webron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webron/subscriptions","organizations_url":"https://api.github.com/users/webron/orgs","repos_url":"https://api.github.com/users/webron/repos","events_url":"https://api.github.com/users/webron/events{/privacy}","received_events_url":"https://api.github.com/users/webron/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T16:14:59Z","updated_at":"2015-01-06T16:14:59Z","body":"For tidiness, you should probably open an issue on swagger-spec and track it from there. I doubt I'll remember updating here when it is fixed. Of course, you can reference from there to this issue."}}