Can I provide a description for each response to a request? Suppose we have a request
### Retrieve resource [GET] + Headers If-None-Match: "Version1"
And 2 answers
+ Response 200 (application/xml) + Headers ETag: "Version2" + Body <Xml> <A> <B /> <C /> </A> </Xml> + Response 304 (application/xml)
I would like to provide a description like here (note the comments right below the + Response lines):
+ Response 200 (application/xml) In case if the resource hasn't changed + Headers ETag: "Version2" + Body <Xml> <A> <B /> <C /> </A> </Xml> + Response 304 (application/xml) In case if the resource has changed
Is it possible?
Dmitry Lobanov
source share