是否可以为某些请求的每个响应指定描述?假设,我们有一个请求
### Retrieve resource [GET]
+ Headers
If-None-Match: "Version1"
Run Code Online (Sandbox Code Playgroud)
还有2个回复
+ Response 200 (application/xml)
+ Headers
ETag: "Version2"
+ Body
<Xml>
<A>
<B />
<C />
</A>
</Xml>
+ Response 304 (application/xml)
Run Code Online (Sandbox Code Playgroud)
我想要的是指定这里的描述(请注意右下方的注释+ Response):
+ 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
Run Code Online (Sandbox Code Playgroud)
可能吗?