-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Description
am i correct to assume that currently link objects are just per response? if so, i am wondering if it might be useful to be able to support a different scope for link objects?
for example, it might be useful to be able to easily say that a home
link (proposed in mnot/I-D#41 and documented at https://mnot.github.io/I-D/json-home/#link-relation) should be considered present in all responses.
this would complicate the processing model because then the effective response of an OpenAPI -described API would be the union of the received response, plus all added link object links that apply to the context of the response. but it would be a rather powerful to support hypermedia in a way that allows OpenAPI to support links without requiring them in all responses.