{"action":"created","issue":{"url":"https://api.github.com/repos/actframework/actframework/issues/866","repository_url":"https://api.github.com/repos/actframework/actframework","labels_url":"https://api.github.com/repos/actframework/actframework/issues/866/labels{/name}","comments_url":"https://api.github.com/repos/actframework/actframework/issues/866/comments","events_url":"https://api.github.com/repos/actframework/actframework/issues/866/events","html_url":"https://github.com/actframework/actframework/issues/866","id":366651033,"node_id":"MDU6SXNzdWUzNjY2NTEwMzM=","number":866,"title":"`PropertySpec` specification not working when return value is a list","user":{"login":"greenlaw110","id":216930,"node_id":"MDQ6VXNlcjIxNjkzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/216930?v=4","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false},"labels":[{"id":157039276,"node_id":"MDU6TGFiZWwxNTcwMzkyNzY=","url":"https://api.github.com/repos/actframework/actframework/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"greenlaw110","id":216930,"node_id":"MDQ6VXNlcjIxNjkzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/216930?v=4","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false},"assignees":[{"login":"greenlaw110","id":216930,"node_id":"MDQ6VXNlcjIxNjkzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/216930?v=4","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-04T07:09:26Z","updated_at":"2018-10-04T07:15:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Code:\r\n\r\n```java\r\n@GetAction\r\n@PropertySpec(\"id,base\")\r\npublic Iterable<Workspace> list() {\r\n    return findAll();\r\n}\r\n```\r\n\r\nThe data returned contains all fields, instead of `id` and `base`:\r\n\r\n![image](https://user-images.githubusercontent.com/216930/46458297-ab074f80-c7f8-11e8-8769-497d6551efc3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/actframework/actframework/issues/comments/426910470","html_url":"https://github.com/actframework/actframework/issues/866#issuecomment-426910470","issue_url":"https://api.github.com/repos/actframework/actframework/issues/866","id":426910470,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjkxMDQ3MA==","user":{"login":"greenlaw110","id":216930,"node_id":"MDQ6VXNlcjIxNjkzMA==","avatar_url":"https://avatars3.githubusercontent.com/u/216930?v=4","gravatar_id":"","url":"https://api.github.com/users/greenlaw110","html_url":"https://github.com/greenlaw110","followers_url":"https://api.github.com/users/greenlaw110/followers","following_url":"https://api.github.com/users/greenlaw110/following{/other_user}","gists_url":"https://api.github.com/users/greenlaw110/gists{/gist_id}","starred_url":"https://api.github.com/users/greenlaw110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenlaw110/subscriptions","organizations_url":"https://api.github.com/users/greenlaw110/orgs","repos_url":"https://api.github.com/users/greenlaw110/repos","events_url":"https://api.github.com/users/greenlaw110/events{/privacy}","received_events_url":"https://api.github.com/users/greenlaw110/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T07:15:17Z","updated_at":"2018-10-04T07:15:17Z","author_association":"CONTRIBUTOR","body":"The issue is actually happened when request `Accept` header is `text/html`. The response data is all good when `Accept` header is `application/json`."}}
{"actor":{"display_login":"greenlaw110"}}