{"action":"created","issue":{"url":"https://api.github.com/repos/apidoc/apidoc/issues/297","labels_url":"https://api.github.com/repos/apidoc/apidoc/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/apidoc/apidoc/issues/297/comments","events_url":"https://api.github.com/repos/apidoc/apidoc/issues/297/events","html_url":"https://github.com/apidoc/apidoc/issues/297","id":92401780,"number":297,"title":"Objects in @apiParams doesn't resolve properly when sending example data","user":{"login":"voronianski","id":974035,"avatar_url":"https://avatars.githubusercontent.com/u/974035?v=3","gravatar_id":"","url":"https://api.github.com/users/voronianski","html_url":"https://github.com/voronianski","followers_url":"https://api.github.com/users/voronianski/followers","following_url":"https://api.github.com/users/voronianski/following{/other_user}","gists_url":"https://api.github.com/users/voronianski/gists{/gist_id}","starred_url":"https://api.github.com/users/voronianski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voronianski/subscriptions","organizations_url":"https://api.github.com/users/voronianski/orgs","repos_url":"https://api.github.com/users/voronianski/repos","events_url":"https://api.github.com/users/voronianski/events{/privacy}","received_events_url":"https://api.github.com/users/voronianski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T14:38:01Z","updated_at":"2015-07-07T02:42:20Z","closed_at":null,"body":"I have such doc regarding post example:\r\n\r\n```js\r\n/**\r\n * @api {post} /property Create property\r\n * @apiVersion 0.1.0\r\n * @apiGroup Property\r\n * @apiName CreateProperty\r\n * @apiPermission user\r\n * @apiDescription Creates new landlord property.\r\n *\r\n * @apiUse AuthHeader\r\n *\r\n * @apiUse GetPropertySuccessResponse\r\n *\r\n * @apiParam {String} [description] Property description text\r\n * @apiParam {Number} price Required Price of property per month in pounds\r\n * @apiParam {Number} bedrooms Required Number of bedrooms in apartment\r\n * @apiParam {Object} address Required Property address information\r\n * @apiParam {String} address.city Required Property city name\r\n * @apiParam {String} address.street Required Property street name\r\n * @apiParam {Number} address.house Required Property house number\r\n * @apiParam {Number} address.postcode Required Property valid postcode number\r\n * @apiParam {Number[]} location Required List of longitude and latitude\r\n * @apiParam {Boolean} [public=true] Is property visible for tenants\r\n * @apiParamExample {json} Request-Example\r\n *     {\r\n *       \"description\": \"Cozy flat\",\r\n *       \"price\": 1000,\r\n *       \"bedrooms\": 1,\r\n *       \"address\": {\r\n *          \"street\": \"Minerval St\",\r\n *          \"house\": 2,\r\n *          \"city\": \"London\",\r\n *          \"postcode\": \"E2\"\r\n *       }\r\n *       \"location\": [51.531697, -0.059596]    \r\n *     }\r\n */\r\n```\r\n\r\nAs you see I have `address` object in payload. But when the doc is generated it sends wrong keys on server:\r\n\r\n<img src=\"https://dl.dropboxusercontent.com/u/100463011/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202015-07-01%20%D0%B2%2017.36.01.png\" width=\"600\" />\r\n\r\n<img src=\"https://dl.dropboxusercontent.com/u/100463011/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202015-07-01%20%D0%B2%2017.36.17.png\" width=\"600\" />\r\n\r\nIs there a way to solve this?"},"comment":{"url":"https://api.github.com/repos/apidoc/apidoc/issues/comments/119052739","html_url":"https://github.com/apidoc/apidoc/issues/297#issuecomment-119052739","issue_url":"https://api.github.com/repos/apidoc/apidoc/issues/297","id":119052739,"user":{"login":"m13","id":473318,"avatar_url":"https://avatars.githubusercontent.com/u/473318?v=3","gravatar_id":"","url":"https://api.github.com/users/m13","html_url":"https://github.com/m13","followers_url":"https://api.github.com/users/m13/followers","following_url":"https://api.github.com/users/m13/following{/other_user}","gists_url":"https://api.github.com/users/m13/gists{/gist_id}","starred_url":"https://api.github.com/users/m13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m13/subscriptions","organizations_url":"https://api.github.com/users/m13/orgs","repos_url":"https://api.github.com/users/m13/repos","events_url":"https://api.github.com/users/m13/events{/privacy}","received_events_url":"https://api.github.com/users/m13/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T02:42:20Z","updated_at":"2015-07-07T02:42:20Z","body":"Same happens here. It's broken. Maybe it's related with the <p></p>"}}