{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/512","labels_url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/512/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/512/events","html_url":"https://github.com/swagger-api/swagger-spec/issues/512","id":118127718,"number":512,"title":"Parameter file type consumes, confusing language","user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-20T21:18:13Z","updated_at":"2015-11-20T22:45:04Z","closed_at":null,"body":"In the Parameter Object definition of the type property, the following is stated:\r\n\r\n> If type is \"file\", the consumes MUST be either \"multipart/form-data\" or \"application/x-www-form-urlencoded\"\r\n\r\nInterpreting this strictly would mean that `consumes` MAY NOT contain both \"multipart/form-data\" and \"application/x-www-form-urlencoded\" but MUST contain no more or less than one of those two choices. This restriction seems odd to me.\r\nCould anybody please clarify if the above interpretation is correct."},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/comments/158547381","html_url":"https://github.com/swagger-api/swagger-spec/issues/512#issuecomment-158547381","issue_url":"https://api.github.com/repos/swagger-api/swagger-spec/issues/512","id":158547381,"user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T22:45:04Z","updated_at":"2015-11-20T22:45:04Z","body":"So basically \"A and/or B\" rather than \"either A or B\" (http://dictionary.cambridge.org/dictionary/english/either-or)\r\n\r\nThis language construct appears to be used in a few other places in the documentation as well, I believe some of those may similarly be incorrect."}}