{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1554","labels_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1554/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1554/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-core/issues/1554/events","html_url":"https://github.com/swagger-api/swagger-core/issues/1554","id":119219683,"number":1554,"title":"Way to map json properties at method level","user":{"login":"gustavolira","id":1463004,"avatar_url":"https://avatars.githubusercontent.com/u/1463004?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavolira","html_url":"https://github.com/gustavolira","followers_url":"https://api.github.com/users/gustavolira/followers","following_url":"https://api.github.com/users/gustavolira/following{/other_user}","gists_url":"https://api.github.com/users/gustavolira/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavolira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavolira/subscriptions","organizations_url":"https://api.github.com/users/gustavolira/orgs","repos_url":"https://api.github.com/users/gustavolira/repos","events_url":"https://api.github.com/users/gustavolira/events{/privacy}","received_events_url":"https://api.github.com/users/gustavolira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-27T16:18:45Z","updated_at":"2015-11-27T16:18:45Z","closed_at":null,"body":"Would be nice if was possible to define the json properties at method level with annotation (without use a bean class). For example I have a service that receive a abritrary json using @RequestBody with HashMap like this:\r\n```javascript \r\npublic ResponseEntity<?> trocarSenha(@RequestBody HashMap<String, String> json)\r\n```\r\nI would like to define that json will be for example:\r\n```\r\n{\r\n\"login\" : \"\",\r\n\"password\": \"\"\r\n}\r\n```"}}