{"action":"closed","issue":{"url":"https://api.github.com/repos/marshmallow-code/apispec/issues/82","repository_url":"https://api.github.com/repos/marshmallow-code/apispec","labels_url":"https://api.github.com/repos/marshmallow-code/apispec/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/marshmallow-code/apispec/issues/82/comments","events_url":"https://api.github.com/repos/marshmallow-code/apispec/issues/82/events","html_url":"https://github.com/marshmallow-code/apispec/issues/82","id":163313218,"number":82,"title":"dump_only is ignored in nested schemas for parameters","user":{"login":"incognick","id":216362,"avatar_url":"https://avatars.githubusercontent.com/u/216362?v=3","gravatar_id":"","url":"https://api.github.com/users/incognick","html_url":"https://github.com/incognick","followers_url":"https://api.github.com/users/incognick/followers","following_url":"https://api.github.com/users/incognick/following{/other_user}","gists_url":"https://api.github.com/users/incognick/gists{/gist_id}","starred_url":"https://api.github.com/users/incognick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incognick/subscriptions","organizations_url":"https://api.github.com/users/incognick/orgs","repos_url":"https://api.github.com/users/incognick/repos","events_url":"https://api.github.com/users/incognick/events{/privacy}","received_events_url":"https://api.github.com/users/incognick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marshmallow-code/apispec/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-01T03:35:03Z","updated_at":"2016-07-03T16:02:27Z","closed_at":"2016-07-03T16:02:27Z","body":"Given the following:\r\n\r\n```python\r\nclass ParentSchema(Schema):\r\n    id = fields.Int(dump_only=True)\r\n    name = fields.String()\r\n    child = fields.Nested('ChildSchema')\r\n\r\nclass ChildSchema(Schema):\r\n    id = fields.Int(dump_only=True)\r\n    name = fields.String()\r\n```\r\n\r\nThe parameter spec is generated:  \r\n\r\n```json\r\n\"parameters\": [\r\n  {\r\n    \"in\": \"body\", \r\n    \"name\": \"body\", \r\n    \"required\": false, \r\n    \"schema\": {\r\n      \"properties\": {\r\n        \"child\": {\r\n          \"properties\": {\r\n            \"id\": {\r\n              \"format\": \"int32\", \r\n              \"type\": \"integer\"\r\n            }, \r\n            \"name\": {\r\n              \"type\": \"string\"\r\n            }\r\n          }, \r\n          \"type\": \"object\"\r\n        }, \r\n        \"name\": {\r\n          \"type\": \"string\"\r\n        }\r\n      }, \r\n      \"type\": \"object\"\r\n    }\r\n  }\r\n]\r\n```\r\n\r\nThe Parent \"id\" is omitted but the Child \"id\" remains. \r\n\r\nWill submit a PR on this.  \r\n"}}
{"actor":{"display_login":"sloria"}}