You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the 3.0 and 3.1 specs have a link in the Callback Object patterned fields table to a "complete example" which is a.) a 3.0.0 example for both versions, without it being immediately clear whether it's also valid for 3.1, and b.) uses an intermediate object level that does not appear to be allowed by the spec:
callbacks:
# the name `onData` is a convenience locatoronData: ############# ERROR: This "convenience locator" level is not part of the spec AFACIT# when data is sent, it will be sent to the `callbackUrl` provided# when making the subscription PLUS the suffix `/data`'{$request.query.callbackUrl}/data':
post:
3.0.3 specification text (3.1.0 is identical except for the internal link, plus it has a 2nd 1-line paragraph about webhooks):
A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
The example probably needs to be corrected, if we even want to keep that link. And probably duplicated to 3.1.
The text was updated successfully, but these errors were encountered:
As it turns out, I got confused by the term "convenience locator", which is not in the spec, but the two-level thing is in the spec. So... never mind 😅
Both the 3.0 and 3.1 specs have a link in the Callback Object patterned fields table to a "complete example" which is a.) a 3.0.0 example for both versions, without it being immediately clear whether it's also valid for 3.1, and b.) uses an intermediate object level that does not appear to be allowed by the spec:
3.0.3 specification text (3.1.0 is identical except for the internal link, plus it has a 2nd 1-line paragraph about webhooks):
The example probably needs to be corrected, if we even want to keep that link. And probably duplicated to 3.1.
The text was updated successfully, but these errors were encountered: