Skip to content

Commit a29f910

Browse files
author
Ron
authored
Merge pull request OAI#1180 from krishahn/callback-object
Callback object
2 parents 76f6f89 + e51c8ab commit a29f910

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

versions/3.0.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,16 +1729,16 @@ The key value used to identify the callback object is an expression, evaluated a
17291729
##### Patterned Fields
17301730
Field Pattern | Type | Description
17311731
---|:---:|---
1732-
<a name="callbackExpression"></a>{expression} | [Path Item Object](#pathItemObject) | A Path Item Object used to define a callback request and expected responses
1732+
<a name="callbackExpression"></a>{expression} | [Path Item Object](#pathItemObject) | A Path Item Object used to define a callback request and expected responses.
17331733

17341734
This object can be extended with [Specification Extensions](#specificationExtensions).
17351735

17361736
##### Key Expression
17371737

1738-
The key used to identify the [Path Item Object](#pathItemObject) is a variable expression that can be evaluated in the context of a runtime HTTP request/response to identify the URL to be used for the callback request.
1739-
A simple example might be `$request.body#/url`.
1740-
However, using [variable substitution](#variableSubstitution) syntax the complete HTTP message can be accessed.
1741-
This includes accessing any part of a body that can be accessed using a JSON Pointer [RFC6901](https://tools.ietf.org/html/rfc6901).
1738+
The key that identifies the [Path Item Object](#pathItemObject) is a variable expression that can be evaluated in the context of a runtime HTTP request/response to identify the URL for the callback request.
1739+
A simple example is `$request.body#/url`.
1740+
However, using [variable substitution](#variableSubstitution) syntax, the complete HTTP message can be accessed.
1741+
This includes accessing any part of a body that a JSON Pointer [RFC6901](https://tools.ietf.org/html/rfc6901) can reference.
17421742

17431743
For example, given the following HTTP request:
17441744

0 commit comments

Comments
 (0)