{"action":"created","issue":{"url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/294","labels_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/294/comments","events_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/294/events","html_url":"https://github.com/apigee-127/swagger-tools/issues/294","id":114000707,"number":294,"title":"Nested query parameters not parsed","user":{"login":"andyjbas","id":1733928,"avatar_url":"https://avatars.githubusercontent.com/u/1733928?v=3","gravatar_id":"","url":"https://api.github.com/users/andyjbas","html_url":"https://github.com/andyjbas","followers_url":"https://api.github.com/users/andyjbas/followers","following_url":"https://api.github.com/users/andyjbas/following{/other_user}","gists_url":"https://api.github.com/users/andyjbas/gists{/gist_id}","starred_url":"https://api.github.com/users/andyjbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyjbas/subscriptions","organizations_url":"https://api.github.com/users/andyjbas/orgs","repos_url":"https://api.github.com/users/andyjbas/repos","events_url":"https://api.github.com/users/andyjbas/events{/privacy}","received_events_url":"https://api.github.com/users/andyjbas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T08:19:50Z","updated_at":"2015-10-30T05:31:28Z","closed_at":null,"body":"```YAML\r\n# swagger spec\r\nparameters:\r\n  - name: page[limit]\r\n    in: query\r\n    required: false\r\n    type: integer\r\n    format: int32\r\n    default: 10\r\n  - name: page[offset]\r\n    in: query\r\n    required: false\r\n    type: integer\r\n    format: int32\r\n    default: 0\r\n```\r\n\r\nIt looks like `body-parser` will parse those into something like `{page: {limit: '10', offset: '0'}}` and so [when the value for the param is looked up in swagger tools](https://github.com/apigee-127/swagger-tools/blob/master/middleware/helpers.js#L104) via `req.query[parameter.name]`, it returns nothing. \r\n\r\nI can't find anything in the swagger spec about not supporting this. I am specifically following the [jsonapi specification](http://jsonapi.org/format/#fetching-pagination), which is where my use case comes from."},"comment":{"url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/comments/152422808","html_url":"https://github.com/apigee-127/swagger-tools/issues/294#issuecomment-152422808","issue_url":"https://api.github.com/repos/apigee-127/swagger-tools/issues/294","id":152422808,"user":{"login":"andyjbas","id":1733928,"avatar_url":"https://avatars.githubusercontent.com/u/1733928?v=3","gravatar_id":"","url":"https://api.github.com/users/andyjbas","html_url":"https://github.com/andyjbas","followers_url":"https://api.github.com/users/andyjbas/followers","following_url":"https://api.github.com/users/andyjbas/following{/other_user}","gists_url":"https://api.github.com/users/andyjbas/gists{/gist_id}","starred_url":"https://api.github.com/users/andyjbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyjbas/subscriptions","organizations_url":"https://api.github.com/users/andyjbas/orgs","repos_url":"https://api.github.com/users/andyjbas/repos","events_url":"https://api.github.com/users/andyjbas/events{/privacy}","received_events_url":"https://api.github.com/users/andyjbas/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T05:31:28Z","updated_at":"2015-10-30T05:31:28Z","body":"Thanks!"}}