- From: Tomasz Pluskiewicz via GitHub <sysbot+gh@w3.org>
- Date: Sun, 05 Nov 2017 13:11:30 +0000
- To: public-hydra-logs@w3.org
I think this is not such a great idea to overload `hydra:returns`. Currently is has `rdfs:domain` set to `hydra:Operation` and it makes perfect sense. The template itself is not what "returns" anything.
I think we need a specialised property for that, or encourage the use of `GET`. Maybe combined with `schema:FindAction`?
``` json
{
"@type": "IriTemplate",
"template": "http://example.com/person{?name},
"operations": [
{
"@type": [ "Operation", "schema:FindAction" ],
"method": "GET",
"returns": "ex:Person"
}
]
}
```
--
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/50#issuecomment-341972115 using your GitHub account
Received on Sunday, 5 November 2017 13:11:32 UTC