Skip to content

Consider unifying the URL template syntax of callbacks and links #998

@ePaul

Description

@ePaul

Both the Link object (in a response) and the Callback object (in an operation) have a way of deriving a URL from some kind of pattern.

But those patterns are differently:

  • For the href in the link object, we have a template string, which can contain {$...} expressions inside it. The full thing looks like /users/{$request.body#/user/uuid}.
  • For the keys in the Callback object, we just have a single expression. So we have e.g. $request.body#/failedUrl.

Could we use the same syntax for both? This might also make the documentation less redundant.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions