Re: Operation expects/returns vs supported classes

Hi Tomasz
Spec doesn’t seem to be clear about that. I’d say that depending on the context, if the operation described is in the response’s body as a hypermedia control, I wouldn’t bother abouht checking a supportedClass relation. It has an hydra:ApiDocumentation in it’s domain, thus this is not I expect from the hypermedia.
But when in the context of that API documentation obtained i.e. from the entry point – I’d add it as a supported class. I think it fits best to the general idea of an entry-point telling the client what can be done from that point.
Best
Karol
From: Tomasz Pluskiewicz 
Sent: Tuesday, March 22, 2016 5:41 PM
To: public-hydra@w3.org 
Subject: Operation expects/returns vs supported classes

Hello Hydra

I've got a quick question.

If I have an operation which hydra:expects or hydra:returns type X, does it mean that this type must be included as a supported class?

Thanks,
Tom

Received on Tuesday, 22 March 2016 19:30:06 UTC