{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2211","repository_url":"https://api.github.com/repos/swagger-api/swagger-ui","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2211/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2211/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2211/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/2211","id":159431438,"number":2211,"title":"Inconsistent results when trying to define a multi-select querystring field","user":{"login":"switzer","id":201081,"avatar_url":"https://avatars.githubusercontent.com/u/201081?v=3","gravatar_id":"","url":"https://api.github.com/users/switzer","html_url":"https://github.com/switzer","followers_url":"https://api.github.com/users/switzer/followers","following_url":"https://api.github.com/users/switzer/following{/other_user}","gists_url":"https://api.github.com/users/switzer/gists{/gist_id}","starred_url":"https://api.github.com/users/switzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switzer/subscriptions","organizations_url":"https://api.github.com/users/switzer/orgs","repos_url":"https://api.github.com/users/switzer/repos","events_url":"https://api.github.com/users/switzer/events{/privacy}","received_events_url":"https://api.github.com/users/switzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T15:05:18Z","updated_at":"2016-06-14T19:53:54Z","closed_at":null,"body":"Hi - I am using Swagger UI v2.10.1 to power my API explorer.  I am having trouble getting expected output.  Here is my field definition YAML:\r\n\r\n```\r\n  fields:\r\n    name: fields\r\n    in: query\r\n    description: The data columns to return for the query\r\n    required: false\r\n    type: array\r\n    items:\r\n      type: string\r\n      collectionFormat: csv\r\n      enum:\r\n        - first\r\n        - second\r\n        - third\r\n```\r\n\r\nThe `collectionFormat` field does not appear to be working.  I am getting inconsistent results in the generated URL when trying out the API.  I either get:\r\n\r\n```\r\nfield=first&field=second\r\n```\r\n\r\nOr I get an array for the field:\r\n\r\n```\r\n`field[]=first&field[]=second\r\n```\r\n\r\nI would expect the results to be:\r\n\r\n```\r\nfield=first,second\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/225996715","html_url":"https://github.com/swagger-api/swagger-ui/issues/2211#issuecomment-225996715","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2211","id":225996715,"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":"2016-06-14T19:53:54Z","updated_at":"2016-06-14T19:53:54Z","body":"There *may* be an issue with the collection format, but there's no v2.10.1 of Swagger-UI. Can you recheck the version? Should be at the top of the swagger-ui.js file."}}
{"actor":{"display_login":"webron"}}