{"action":"created","issue":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/140","repository_url":"https://api.github.com/repos/go-swagger/go-swagger","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/140/comments","events_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/140/events","html_url":"https://github.com/go-swagger/go-swagger/issues/140","id":118949233,"number":140,"title":"Add new param type: json","user":{"login":"schickling","id":1567498,"avatar_url":"https://avatars.githubusercontent.com/u/1567498?v=3","gravatar_id":"","url":"https://api.github.com/users/schickling","html_url":"https://github.com/schickling","followers_url":"https://api.github.com/users/schickling/followers","following_url":"https://api.github.com/users/schickling/following{/other_user}","gists_url":"https://api.github.com/users/schickling/gists{/gist_id}","starred_url":"https://api.github.com/users/schickling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schickling/subscriptions","organizations_url":"https://api.github.com/users/schickling/orgs","repos_url":"https://api.github.com/users/schickling/repos","events_url":"https://api.github.com/users/schickling/events{/privacy}","received_events_url":"https://api.github.com/users/schickling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/please%20comment","name":"please comment","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-11-26T00:48:08Z","updated_at":"2016-07-21T18:45:01Z","closed_at":"2016-07-21T17:08:53Z","body":"It would be nice to have an additional param type like `json` which just takes a go struct and uses it as a default JSON `body`.\r\n\r\nHere is an example:\r\n\r\n```go\r\ntype LoginPayload struct {\r\n\tEmail    string `json:\"email\"`\r\n\tUserName string `json:\"user_name\"`\r\n\t// Required: true\r\n\tPassword string `json:\"password\"`\r\n}\r\n\r\n// swagger:parameters login\r\ntype ImplicitWrapperStruct struct {\r\n\t// In: body\r\n\tBody PersonLoginPayload\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/comments/234346413","html_url":"https://github.com/go-swagger/go-swagger/issues/140#issuecomment-234346413","issue_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/140","id":234346413,"user":{"login":"jjeffrey-bolste","id":19540143,"avatar_url":"https://avatars.githubusercontent.com/u/19540143?v=3","gravatar_id":"","url":"https://api.github.com/users/jjeffrey-bolste","html_url":"https://github.com/jjeffrey-bolste","followers_url":"https://api.github.com/users/jjeffrey-bolste/followers","following_url":"https://api.github.com/users/jjeffrey-bolste/following{/other_user}","gists_url":"https://api.github.com/users/jjeffrey-bolste/gists{/gist_id}","starred_url":"https://api.github.com/users/jjeffrey-bolste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjeffrey-bolste/subscriptions","organizations_url":"https://api.github.com/users/jjeffrey-bolste/orgs","repos_url":"https://api.github.com/users/jjeffrey-bolste/repos","events_url":"https://api.github.com/users/jjeffrey-bolste/events{/privacy}","received_events_url":"https://api.github.com/users/jjeffrey-bolste/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T18:45:01Z","updated_at":"2016-07-21T18:45:01Z","body":"@casualjim  My pr did not address what they were talking about as he Is talking about paramaters not response. I do plan on doing a pr to add `swagger:bodyparamaters` though"}}
{"actor":{"display_login":"jjeffrey-bolste"}}