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
Copy file name to clipboardExpand all lines: versions/1.0.0.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -868,19 +868,19 @@ The runtime expression is defined by the following [ABNF](https://tools.ietf.org
868
868
869
869
#### Examples
870
870
871
-
|Source Location | example expression | notes|
872
-
|---- |:---- |:---- |
873
-
|HTTP Method |`$method`| The allowable values for the `$method` will be those for the HTTP operation.|
874
-
|Requested media type |`$request.header.accept`||
875
-
|Request parameter |`$request.path.id`| Request parameters MUST be declared in the `parameters` section of the parent operation or they cannot be evaluated. This includes request headers.|
876
-
|Request body property |`$request.body#/user/uuid`| In operations which accept payloads, references may be made to portions of the `requestBody` or the entire body.|
877
-
|Request URL |`$url`||
878
-
|Response value |`$response.body#/status`|In operations which return payloads, references may be made to portions of the response body or the entire body.|
879
-
|Response header |`$response.header.Server`| Single header values only are available|
880
-
|workflow input |`$inputs.username` or `$workflows.foo.inputs.username`| Single input values only are available|
881
-
|Step output value |`$steps.someStep.pets`| In situations where the output named property return payloads, references may be made to portions of the response body or the entire body.|
882
-
|Workflow output value |`$outputs.bar` or `$workflows.foo.outputs.bar`|Single input values only are available |
883
-
|Components parameter |`$components.parameters.foo`| Accesses a foo parameter defined within the Components Object.|
871
+
Source Location | example expression | notes
872
+
---|:---|:---|
873
+
HTTP Method | `$method`| The allowable values for the `$method` will be those for the HTTP operation.
874
+
Requested media type | `$request.header.accept` |
875
+
Request parameter | `$request.path.id`| Request parameters MUST be declared in the `parameters` section of the parent operation or they cannot be evaluated. This includes request headers.
876
+
Request body property | `$request.body#/user/uuid`| In operations which accept payloads, references may be made to portions of the `requestBody` or the entire body.
877
+
Request URL | `$url` |
878
+
Response value | `$response.body#/status` | In operations which return payloads, references may be made to portions of the response body or the entire body.
879
+
Response header | `$response.header.Server` | Single header values only are available
880
+
workflow input | `$inputs.username` or `$workflows.foo.inputs.username` | Single input values only are available
881
+
Step output value | `$steps.someStepId.outputs.pets` | In situations where the output named property return payloads, references may be made to portions of the response body (e.g., `$steps.someStepId.outputs.pets#/0/id`) or the entire body.
882
+
Workflow output value | `$outputs.bar` or `$workflows.foo.outputs.bar` | In situations where the output named property return payloads, references may be made to portions of the response body (e.g., `$workflows.foo.outputs.mappedResponse#/name`) or the entire body.
883
+
Components parameter | `$components.parameters.foo` | Accesses a foo parameter defined within the Components Object.
884
884
885
885
Runtime expressions preserve the type of the referenced value.
886
886
Expressions can be embedded into string values by surrounding the expression with `{}` curly braces.
0 commit comments